Import nih-999nb20110528 as wip/nih-current.

NIH is a user-friendly package manager for pkgsrc.

Available commands:
   nih help            - Display help message
   nih refresh         - Download pkg_summary and SHA512 files
   nih install
   nih upgrade         - Install or upgrade packages
   nih uninstall
   nih delete
   nih remove          - Uninstall packages
   nih verify          - Verify packages integrity
   nih status          - Show the status of installed packages
   nih audit           - Security audit
   nih leaf            - Output or remove leaf packages
   nih license         - Working with licenses
   nih list            - List packages
   nih mark            - Mark packages
   nih clean-cache     - Clean-up cache directory with binaries
This commit is contained in:
Aleksey Cheusov 2011-05-28 17:00:50 +00:00 committed by Thomas Klausner
parent 1996a8397c
commit 103be30f89
3 changed files with 82 additions and 0 deletions

18
nih-current/DESCR Normal file
View file

@ -0,0 +1,18 @@
NIH is a user-friendly package manager for pkgsrc.
Available commands:
nih help - Display help message
nih refresh - Download pkg_summary and SHA512 files
nih install
nih upgrade - Install or upgrade packages
nih uninstall
nih delete
nih remove - Uninstall packages
nih verify - Verify packages integrity
nih status - Show the status of installed packages
nih audit - Security audit
nih leaf - Output or remove leaf packages
nih license - Working with licenses
nih list - List packages
nih mark - Mark packages
nih clean-cache - Clean-up cache directory with binaries

52
nih-current/Makefile Normal file
View file

@ -0,0 +1,52 @@
# $NetBSD: Makefile,v 1.1.1.1 2011/05/28 17:00:50 cheusov Exp $
DISTNAME= pkgnih-999
PKGNAME= nih-999
CATEGORIES= pkgtools
MAINTAINER= vle@gmx.net
HOMEPAGE= https://github.com/cheusov/pkgnih
COMMENT= Package manager for pkgsrc
LICENSE= 2-clause-bsd
GIT_MODULE= pkgnih
GIT_REPOSITORIES= master
GIT_REPO.master= git://github.com/cheusov/pkgnih.git
.include "../../wip/mk/git-package.mk"
DEPENDS+= pkg_summary-utils>=0.53.1:../../pkgtools/pkg_summary-utils
DEPENDS+= digest-[0-9]*:../../pkgtools/digest
DEPENDS+= pkg_install>=20100915:../../pkgtools/pkg_install
BUILD_DEPENDS+= mk-configure>=0.21.0:../../devel/mk-configure
SUPERSEDES= pkgnih-[0-9]*
CONFLICTS= pkg_status-[0-9]*
PKG_DESTDIR_SUPPORT= user-destdir
BUILD_TARGET= all all-doc
INSTALL_TARGET= install install-doc
WRKSRC= ${WRKDIR}/pkgnih
EGDIR= ${PREFIX}/share/examples/nih
CONF_FILES= ${EGDIR}/nih.conf \
${PKG_SYSCONFDIR}/nih/config
MAKE_DIRS+= ${PKG_SYSCONFDIR}/nih
REPLACE_INTERPRETER+= runawk
REPLACE.runawk.old= .*runawk
REPLACE.runawk.new= ${PREFIX}/bin/runawk
REPLACE_FILES.runawk= nih/pkg_update_plan.in
MAKE_ENV+= MANDIR=${PREFIX}/${PKGMANDIR}
MAKE_ENV+= VERSION=${_GIT_TODAY:S/-//g}
MAKE_PROGRAM= mkcmake
.include "../../wip/mk/git-package.mk"
.include "../../mk/bsd.pkg.mk"

12
nih-current/PLIST Normal file
View file

@ -0,0 +1,12 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/28 17:00:50 cheusov Exp $
bin/nih
bin/pkg_status
bin/pkg_update_plan
lib/nih/nih.default.conf
man/man1/nih.1
man/man1/pkg_update_plan.1
share/doc/pkgnih/COPYRIGHT
share/doc/pkgnih/NEWS
share/doc/pkgnih/README
share/doc/pkgnih/TODO
share/examples/nih/nih.conf