cc24cb9e86
Actually work around 1.6 pkg_tools PKG_PATH problems, rather than just making matters worse.
29 lines
717 B
Makefile
29 lines
717 B
Makefile
# $NetBSD: Makefile,v 1.36 2002/10/08 15:44:13 abs Exp $
|
|
|
|
DISTNAME= pkgchk-1.34
|
|
CATEGORIES= pkgtools
|
|
MASTER_SITES= # empty
|
|
DISTFILES= # empty
|
|
|
|
MAINTAINER= abs@netbsd.org
|
|
HOMEPAGE= ftp://ftp.netbsd.org/pub/NetBSD/packages/pkgsrc/Packages.txt
|
|
COMMENT= Check installed package versions against pkgsrc
|
|
|
|
EXTRACT_ONLY= # empty
|
|
NO_CHECKSUM= YES
|
|
WRKSRC= ${WRKDIR}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
MAKECONF?= /etc/mk.conf
|
|
|
|
do-build:
|
|
${SED} -e 's#@MAKE@#${MAKE}#g' \
|
|
-e 's#@MAKECONF@#${MAKECONF}#g' \
|
|
${FILESDIR}/pkgchk.sh >${WRKSRC}/pkgchk.sh
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/pkgchk.sh ${PREFIX}/sbin/pkg_chk
|
|
${INSTALL_MAN} ${FILESDIR}/pkgchk.8 ${PREFIX}/man/man8/pkg_chk.8
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|