17c3aafac1
as it's only used internally by bsd.prefs.mk. * Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR. Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile than the old method of stripping off the last two components of ${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined. * Change all references to _PKGSRCDIR to PKGSRCDIR.
27 lines
584 B
Makefile
27 lines
584 B
Makefile
# $NetBSD: Makefile,v 1.9 2004/10/07 02:01:38 jlam 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
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
USE_PERL5= YES
|
|
|
|
EXTRACT_ONLY= # empty
|
|
NO_CHECKSUM= 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"
|