pkgsrc/pkgtools/pkgdep/Makefile
wiz d2ca14a3f1 Bump all packages for perl-5.18, that
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package

Like last time, where this caused no complaints.
2013-05-31 12:39:57 +00:00

30 lines
612 B
Makefile

# $NetBSD: Makefile,v 1.18 2013/05/31 12:41:46 wiz Exp $
#
DISTNAME= pkgdep-1.0
PKGREVISION= 2
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Script for displaying dependence information on software packages
WRKSRC= ${WRKDIR}/files
USE_TOOLS+= perl:run
REPLACE_PERL= pkgdep.pl
INSTALLATION_DIRS= bin
do-extract:
${CP} -Rp ${FILESDIR} ${WRKSRC}
do-build:
${SED} -e 's|@PKGSRCDIR@|${PKGSRCDIR}|' \
${WRKSRC}/pkgdep.pl > ${WRKDIR}/pkgdep
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/pkgdep ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"