pkgsrc/pkgtools/pkg_regress/Makefile
rillig 976236ae26 Updated pkg_regress to 0.3.
Changes since 0.2:

* provide usage message when called with invalid options
* moved do_test_default() from public API section in the source
* renamed private variables to not be in uppercase
* indented consistently
* replaced unnecessary ${VAR} with simple $VAR
* moved actual test execution into its own function
* when invoked with the -v option, announce which test will be run
2016-06-11 09:37:16 +00:00

27 lines
629 B
Makefile

# $NetBSD: Makefile,v 1.14 2016/06/11 09:37:16 rillig Exp $
PKGNAME= pkg_regress-0.3
CATEGORIES= pkgtools
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Run pkgsrc infrastructure regression test suite
WRKSRC= ${WRKDIR}
USE_LANGUAGES= # empty
INSTALLATION_DIRS= sbin
.include "../../mk/bsd.prefs.mk"
do-build:
${SED} -e 's#@MAKE@#${MAKE}#g' \
-e 's#@PKGSRCDIR@#${PKGSRCDIR}#g' \
-e 's#@SH@#${SH}#g' \
-e 's#@EGREP@#${EGREP}#g' \
${FILESDIR}/pkg_regress.sh >${WRKSRC}/pkg_regress.sh
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pkg_regress.sh \
${DESTDIR}${PREFIX}/sbin/pkg_regress
.include "../../mk/bsd.pkg.mk"