pkgsrc/security/gpg2dot/Makefile
jlam 3e474a90d8 Get rid of USE_PERL5. The new way to express needing the Perl executable
around at either build-time or at run-time is:

	USE_TOOLS+=	perl		# build-time
	USE_TOOLS+=	perl:run	# run-time

Also remove some places where perl5/buildlink3.mk was being included
by a package Makefile, but all that the package wanted was the Perl
executable.
2005-07-16 01:19:06 +00:00

46 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2005/07/16 01:19:18 jlam Exp $
#
DISTNAME= gpg2dot-1.4
CATEGORIES= security
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= lukem@NetBSD.org
HOMEPAGE= ftp://ftp.NetBSD.org/pub/NetBSD/packages/pkgsrc/doc/pkgsrc.html
COMMENT= Converts your GnuPG keyring to a graph of associations
USE_LANGUAGES= # empty
USE_TOOLS+= perl:run
EXTRACT_ONLY= # empty
NO_CHECKSUM= yes
NO_CONFIGURE= yes
DISTVER= ${DISTNAME:S/gpg2dot-//}
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
do-extract:
${CP} ${FILESDIR}/gpg2dot.pl ${WRKSRC}/gpg2dot.pl
# ${CP} ${FILESDIR}/gpg2dot.1 ${WRKSRC}/gpg2dot.1.in
do-build:
.for FILE in gpg2dot
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
-e 's|@DISTVER@|${DISTVER}|g' \
< ${WRKSRC}/${FILE}.pl \
> ${WRKSRC}/${FILE}
.endfor
#.for FILE in gpg2dot
# ${SED} -e '' \
# < ${WRKSRC}/${FILE}.1.in \
# > ${WRKSRC}/${FILE}.1
#.endfor
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/gpg2dot ${PREFIX}/bin/gpg2dot
# ${INSTALL_MAN} ${WRKSRC}/gpg2dot.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"