summaryrefslogtreecommitdiff
path: root/pkgtools/nih
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2011-05-16 22:03:14 +0000
committercheusov <cheusov@pkgsrc.org>2011-05-16 22:03:14 +0000
commitb198b2c8bc346b33511edad1f3a9b90d1f34f6dd (patch)
tree8722cad97977059b8aae09385b8f15fafe1837ef /pkgtools/nih
parentf2b943aaf12a8b9058a66d510112c40e431147ff (diff)
downloadpkgsrc-b198b2c8bc346b33511edad1f3a9b90d1f34f6dd.tar.gz
NIH Invented Here :-)
This is a package manager for pkgsrc. Available commands: nih help - Display help message nih refresh - Download pkg_summary and SHA512 files nih install - Install or update packages nih uninstall - Uninstall packages nih verify - Verify packages integrity nih status - Show status of installed packages nih info - Show information about packages nih meta - Output available or installed meta packages nih search - Powerful search in packages nih leaf - Output or remove autoinstalled leaf packages nih list - List packages nih mark - Mark packages nih deps - Show dependencies nih clean-cache - Clean-up cache directory with binaries
Diffstat (limited to 'pkgtools/nih')
-rw-r--r--pkgtools/nih/DESCR18
-rw-r--r--pkgtools/nih/Makefile43
-rw-r--r--pkgtools/nih/PLIST12
-rw-r--r--pkgtools/nih/distinfo5
4 files changed, 78 insertions, 0 deletions
diff --git a/pkgtools/nih/DESCR b/pkgtools/nih/DESCR
new file mode 100644
index 00000000000..db3c1caf6ee
--- /dev/null
+++ b/pkgtools/nih/DESCR
@@ -0,0 +1,18 @@
+NIH Invented Here :-)
+This is a package manager for pkgsrc.
+
+Available commands:
+ nih help - Display help message
+ nih refresh - Download pkg_summary and SHA512 files
+ nih install - Install or update packages
+ nih uninstall - Uninstall packages
+ nih verify - Verify packages integrity
+ nih status - Show status of installed packages
+ nih info - Show information about packages
+ nih meta - Output available or installed meta packages
+ nih search - Powerful search in packages
+ nih leaf - Output or remove autoinstalled leaf packages
+ nih list - List packages
+ nih mark - Mark packages
+ nih deps - Show dependencies
+ nih clean-cache - Clean-up cache directory with binaries
diff --git a/pkgtools/nih/Makefile b/pkgtools/nih/Makefile
new file mode 100644
index 00000000000..85280f314c8
--- /dev/null
+++ b/pkgtools/nih/Makefile
@@ -0,0 +1,43 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/05/16 22:03:14 cheusov Exp $
+
+DISTNAME= pkgnih-0.7.1
+PKGNAME= ${DISTNAME:S/pkgnih/nih/}
+CATEGORIES= pkgtools
+MASTER_SITES= http://mova.org/~cheusov/pub/pkgnih/
+
+MAINTAINER= vle@gmx.net
+HOMEPAGE= https://github.com/cheusov/pkgnih
+COMMENT= Package manager for pkgsrc
+LICENSE= 2-clause-bsd
+
+DEPENDS+= pkg_summary-utils>=0.53.2:../../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
+
+CONFLICTS= pkg_status-[0-9]*
+SUPERSEDES= pkgnih-[0-9]*
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+BUILD_TARGET= all all-doc
+INSTALL_TARGET= install install-doc
+
+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_PROGRAM= mkcmake
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/pkgtools/nih/PLIST b/pkgtools/nih/PLIST
new file mode 100644
index 00000000000..f2d690c99ec
--- /dev/null
+++ b/pkgtools/nih/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/05/16 22:03:14 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
diff --git a/pkgtools/nih/distinfo b/pkgtools/nih/distinfo
new file mode 100644
index 00000000000..b26c9e0bff4
--- /dev/null
+++ b/pkgtools/nih/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/05/16 22:03:14 cheusov Exp $
+
+SHA1 (pkgnih-0.7.1.tar.gz) = 68a9c04c42569eefabd2482ca20a11e5950d01de
+RMD160 (pkgnih-0.7.1.tar.gz) = 96ae280d312d702602b3e0790e992e4752ced223
+Size (pkgnih-0.7.1.tar.gz) = 39149 bytes