summaryrefslogtreecommitdiff
path: root/security/honeyd
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-01-27 22:05:28 +0000
committerjoerg <joerg@pkgsrc.org>2010-01-27 22:05:28 +0000
commitaefc21d5b5bf5c688266b2923175e6a57dd6a497 (patch)
treecda897cdaf847e4059a16bcfa8098a9b15a8beff /security/honeyd
parentee255fb0ce79495b1b2593da914ffc1e8ec24f77 (diff)
downloadpkgsrc-aefc21d5b5bf5c688266b2923175e6a57dd6a497.tar.gz
DESTDIR support
Diffstat (limited to 'security/honeyd')
-rw-r--r--security/honeyd/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/security/honeyd/Makefile b/security/honeyd/Makefile
index 48334e17fbd..82df313dbcf 100644
--- a/security/honeyd/Makefile
+++ b/security/honeyd/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2009/08/16 15:35:44 wiz Exp $
+# $NetBSD: Makefile,v 1.28 2010/01/27 22:08:59 joerg Exp $
#
DISTNAME= honeyd-1.5b
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.honeyd.org/
COMMENT= Small daemon that creates virtual hosts on a network
+PKG_DESTDIR_SUPPORT= user-destdir
+
DEPENDS+= honeyd-arpd>=0.2:../../security/honeyd-arpd
GNU_CONFIGURE= YES
@@ -40,11 +42,9 @@ CONF_FILES+= ${EGDIR:Q}/${f:Q} ${PKG_SYSCONFDIR:Q}/${f:Q}
.include "../../net/libpcap/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
-pre-install:
- ${INSTALL_DATA_DIR} ${PREFIX:Q}/share/examples/honeyd
+INSTALLATION_DIRS+= share/examples/honeyd ${DOCDIR}
post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- ${INSTALL_DATA} ${WRKSRC:Q}/README ${DOCDIR:Q}
+ ${INSTALL_DATA} ${WRKSRC:Q}/README ${DESTDIR}${DOCDIR}
.include "../../mk/bsd.pkg.mk"