From 14676837007204de3f0e71098fecb886f311b474 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 11 Feb 2010 22:04:09 +0000 Subject: DESTDIR support --- net/libnipper/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'net/libnipper') 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" -- cgit v1.2.3