pkgsrc/net/gnapfetch/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

23 lines
652 B
Makefile

# $NetBSD: Makefile,v 1.8 2005/07/16 01:19:15 jlam Exp $
DISTNAME= gnapfetch-0.3
CATEGORIES= net
MASTER_SITES= http://entropy.atlantic.net/gnapfetch/
MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://entropy.atlantic.net/gnapfetch/
COMMENT= Update/maintain opennap servers for gnapster/TekNap
USE_TOOLS+= perl:run
INSTALLATION_DIRS= bin
do-build:
${SED} -e "s,/usr/bin/perl,${PERL5},g" \
< ${WRKSRC}/gnapfetch > ${WRKDIR}/gnapfetch
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/gnapfetch ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/gnapfetch
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/gnapfetch
.include "../../mk/bsd.pkg.mk"