summaryrefslogtreecommitdiff
path: root/security/rid
diff options
context:
space:
mode:
authorjoerg <joerg>2010-01-27 21:32:58 +0000
committerjoerg <joerg>2010-01-27 21:32:58 +0000
commit95cbf3d278282625dc040379b4d31d2e9b852b5b (patch)
tree2cef14950aaa755d53ed3072e9b0641cdb02b4c3 /security/rid
parent8009c61ddad9e135746cd379d5a324c16daebad0 (diff)
downloadpkgsrc-95cbf3d278282625dc040379b4d31d2e9b852b5b.tar.gz
DESTDIR support
Diffstat (limited to 'security/rid')
-rw-r--r--security/rid/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/security/rid/Makefile b/security/rid/Makefile
index d53844d9246..5834d3432d9 100644
--- a/security/rid/Makefile
+++ b/security/rid/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2009/06/30 00:07:22 joerg Exp $
+# $NetBSD: Makefile,v 1.13 2010/01/27 21:34:09 joerg Exp $
#
DISTNAME= rid-1.11
@@ -11,13 +11,15 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.theorygroup.com/Software/RID/
COMMENT= Remote Intrusion Detection to track down compromised hosts
+PKG_DESTDIR_SUPPORT= user-destdir
+
MAKE_JOBS_SAFE= no
GNU_CONFIGURE= YES
CONF_FILES= ${PREFIX}/share/examples/rid/rid.conf ${PKG_SYSCONFDIR}/rid.conf
-INSTALLATION_DIRS= sbin
+INSTALLATION_DIRS= sbin share/doc/rid share/examples/rid
post-configure:
@echo "#undef DEFAULT_YYIN" >> ${WRKSRC}/netconfig.h
@@ -25,13 +27,11 @@ post-configure:
${WRKSRC}/netconfig.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rid ${PREFIX}/sbin
- ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rid
+ ${INSTALL_PROGRAM} ${WRKSRC}/rid ${DESTDIR}${PREFIX}/sbin
${INSTALL_DATA} ${WRKSRC}/BUGS ${WRKSRC}/CHANGES \
${WRKSRC}/COPYRIGHT ${WRKSRC}/CREDITS ${WRKSRC}/README \
- ${PREFIX}/share/doc/rid
- ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/rid
- ${INSTALL_DATA} ${WRKSRC}/rid.conf ${PREFIX}/share/examples/rid
+ ${DESTDIR}${PREFIX}/share/doc/rid
+ ${INSTALL_DATA} ${WRKSRC}/rid.conf ${DESTDIR}${PREFIX}/share/examples/rid
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"