a2cdb27cbf
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
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
# $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"
|