Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / security / gpg2dot / Makefile
blobe212b84319320a8deba5cc5689e8b34b2e1d877b
1 # $NetBSD: Makefile,v 1.15 2012/10/23 18:16:29 asau Exp $
4 DISTNAME= gpg2dot-1.5
5 PKGREVISION= 1
6 CATEGORIES= security
7 MASTER_SITES= # empty
8 DISTFILES= # empty
10 MAINTAINER= lukem@NetBSD.org
11 HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html
12 COMMENT= Converts your GnuPG keyring to a graph of associations
14 USE_LANGUAGES= # empty
15 USE_TOOLS+= perl:run
17 NO_CONFIGURE= yes
19 DISTVER= ${DISTNAME:S/gpg2dot-//}
20 WRKSRC= ${WRKDIR}
22 INSTALLATION_DIRS= bin
24 do-extract:
25 ${CP} ${FILESDIR}/gpg2dot.pl ${WRKSRC}/gpg2dot.pl
26 # ${CP} ${FILESDIR}/gpg2dot.1 ${WRKSRC}/gpg2dot.1.in
28 do-build:
29 .for file in gpg2dot
30 ${SED} -e 's|@PREFIX@|${PREFIX}|g' \
31 -e 's|@DISTVER@|${DISTVER}|g' \
32 < ${WRKSRC}/${file}.pl \
33 > ${WRKSRC}/${file}
34 .endfor
35 #.for file in gpg2dot
36 # ${SED} -e '' \
37 # < ${WRKSRC}/${file}.1.in \
38 # > ${WRKSRC}/${file}.1
39 #.endfor
41 do-install:
42 ${INSTALL_SCRIPT} ${WRKSRC}/gpg2dot ${DESTDIR}${PREFIX}/bin/gpg2dot
43 # ${INSTALL_MAN} ${WRKSRC}/gpg2dot.1 ${PREFIX}/${PKGMANDIR}/man1
45 .include "../../mk/bsd.pkg.mk"