pkgsrc/pkgtools/pkgchk/Makefile
agc 3e0194d117 Update pkgchk to 1.44 - add a -g option to generate an initial pkgchk.conf
file based upon the packages currently installed on the host machine.
2003-10-04 21:07:53 +00:00

29 lines
717 B
Makefile

# $NetBSD: Makefile,v 1.48 2003/10/04 21:07:53 agc Exp $
DISTNAME= pkgchk-1.44
WRKSRC= ${WRKDIR}
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
.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"