pkgsrc-wip/pkg-dev/Makefile

33 lines
742 B
Makefile

# $NetBSD$
DISTNAME= pkg-dev-0.1
CATEGORIES= pkgtools
MASTER_SITES= http://acadix.biz/Ports/distfiles/
MAINTAINER= bacon@NetBSD.org
HOMEPAGE= http://acadix.biz/Ports/distfiles/
COMMENT= Tools for pkgsrc development and testing
LICENSE= original-bsd
EXTRACT_SUFX= .tar.xz
USE_LANGUAGES= # none
DEPENDS= pkglint>0:../../pkgtools/pkglint
DEPENDS+= pkgdiff>0:../../pkgtools/pkgdiff
DEPENDS+= createbuildlink>0:../../pkgtools/createbuildlink
NO_BUILD= yes
SUBST_CLASSES+= prefix
SUBST_STAGE.prefix= post-patch
SUBST_SED.prefix= -e 's|/usr/pkgsrc|${BUILD_DIR}/../..|g'
SUBST_FILES.prefix= Scripts/pkg-grep
INSTALLATION_DIRS= sbin
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/Scripts/* ${DESTDIR}${PREFIX}/sbin
.include "../../mk/bsd.pkg.mk"