diff options
author | joerg <joerg> | 2010-02-11 22:04:09 +0000 |
---|---|---|
committer | joerg <joerg> | 2010-02-11 22:04:09 +0000 |
commit | 14676837007204de3f0e71098fecb886f311b474 (patch) | |
tree | 19ed02ced0800441c8568b58f95af2ddf1b7cc02 /net/libnipper | |
parent | 09415b94ccff8db1bce7117c45e2b5db123317d7 (diff) | |
download | pkgsrc-14676837007204de3f0e71098fecb886f311b474.tar.gz |
DESTDIR support
Diffstat (limited to 'net/libnipper')
-rw-r--r-- | net/libnipper/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/net/libnipper/Makefile b/net/libnipper/Makefile index 6f2af7605bb..594c2ca6aaf 100644 --- a/net/libnipper/Makefile +++ b/net/libnipper/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2009/07/17 18:00:22 adrianp Exp $ +# $NetBSD: Makefile,v 1.3 2010/02/11 22:06:14 joerg Exp $ # DISTNAME= libnipper-0.12.1 @@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://nipper.sourceforge.net/ COMMENT= Performs security audits of network device configuration +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c++ USE_CMAKE= yes @@ -24,10 +26,11 @@ SUBST_SED.config+= -e "s|@@PKGMANDIR@@|${PKGMANDIR}|g" SUBST_SED.config+= -e "s|/etc|${PKG_SYSONFDIR}|g" SUBST_MESSAGE.config= Fixing configuration files. +INSTALLATION_DIRS+= share/examples + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples ${INSTALL_DATA} ${WRKSRC}/nipper.conf \ - ${PREFIX}/share/examples/nipper.conf + ${DESTDIR}${PREFIX}/share/examples/nipper.conf .include "../../devel/cmake/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |