Add pkg-dev: Tools for pkgsrc development and testing

This commit is contained in:
Charlie Root 2018-01-02 18:39:58 -06:00
parent bcf49adfcd
commit 1624cb3bb4
6 changed files with 52 additions and 0 deletions

View File

@ -2729,6 +2729,7 @@ SUBDIR+= piwik
SUBDIR+= pixz
SUBDIR+= pizza
SUBDIR+= pjproject
SUBDIR+= pkg-dev
SUBDIR+= pkg_conflicts
SUBDIR+= pkg_fake
#SUBDIR+= pkg_get # not a package (yet?)

1
pkg-dev/DESCR Normal file
View File

@ -0,0 +1 @@
Tools for pkgsrc development and testing.

32
pkg-dev/Makefile Normal file
View File

@ -0,0 +1,32 @@
# $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"

11
pkg-dev/PLIST Normal file
View File

@ -0,0 +1,11 @@
@comment $NetBSD$
sbin/pbulk-new-chroot
sbin/pbulk-setup
sbin/pbulk-start-chroot
sbin/pkg-check
sbin/pkg-diff
sbin/pkg-grep
sbin/pkg-list
sbin/pkg-reinstall
sbin/pkg-remake
sbin/pkg-vuln

1
pkg-dev/TODO Normal file
View File

@ -0,0 +1 @@
Clean up and test

6
pkg-dev/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (pkg-dev-0.1.tar.xz) = 3f5497758fad73cac41d20a94442625db6f6c9ff
RMD160 (pkg-dev-0.1.tar.xz) = b17f38185bc184a60ab2b3e7232ca9a4d5d567e2
SHA512 (pkg-dev-0.1.tar.xz) = 1e69801e404adf7ffd42daf6fa566b2fce6a5ea3959623c2897ae59a4e80a9fcb2385d4c21395a7baaf26ac69d090f44f27b26ad85257c1280bc8d8d4deab880
Size (pkg-dev-0.1.tar.xz) = 7360 bytes