pkgsrc/pkgtools/pkgdep/Makefile
agc ccff9099bc Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the external
references of the pkglint package.

_PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages
which would like to refer to other packages in the build tree. It should
not be set by users, but neither should it stop a user from building a
package if it is defined, so make it obvious that this is the case.
2001-12-15 20:25:34 +00:00

28 lines
598 B
Makefile

# $NetBSD: Makefile,v 1.4 2001/12/15 20:25:39 agc Exp $
#
DISTNAME= pkgdep-1.0
CATEGORIES= pkgtools
MASTER_SITES= # empty
DISTFILES= # empty
MAINTAINER= sakamoto@netbsd.org
COMMENT= Script for displaying dependence information on software packages
USE_PERL5= YES
EXTRACT_ONLY= # empty
WRKSRC= ${WRKDIR}
NO_CHECKSUM= yes
NO_PATCH= yes
NO_CONFIGURE= yes
do-build:
${CP} ${FILESDIR}/pkgdep.pl ${WRKDIR}/pkgdep
# ${SED} -e 's|/usr/pkgsrc|${_PKGSRCDIR}|' \
# ${FILESDIR}/pkgdep.pl > ${WRKDIR}/pkgdep
do-install:
${INSTALL_SCRIPT} ${WRKDIR}/pkgdep ${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"