summaryrefslogtreecommitdiff
path: root/security/portsentry/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv>2003-05-01 21:32:45 +0000
committerjmmv <jmmv>2003-05-01 21:32:45 +0000
commit52592257a14f6641fe7e66ad00481ec39039ac64 (patch)
tree49178b45dc5e2ffab851d2e7eb890a4d9731ac91 /security/portsentry/Makefile
parent046fdd15fefa8dba2d20c0e59970e1a12e09169d (diff)
downloadpkgsrc-52592257a14f6641fe7e66ad00481ec39039ac64.tar.gz
Honour PKG_SYSCONFDIR. Bump PKGREVISION to 2.
Diffstat (limited to 'security/portsentry/Makefile')
-rw-r--r--security/portsentry/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/security/portsentry/Makefile b/security/portsentry/Makefile
index 68f71ec46e0..06e1229b540 100644
--- a/security/portsentry/Makefile
+++ b/security/portsentry/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.4 2002/06/01 12:33:20 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2003/05/01 21:32:45 jmmv Exp $
#
DISTNAME= portsentry-1.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.psionic.com/tools/
@@ -12,8 +12,15 @@ COMMENT= detects and respond to port scans against a target host in real-time
LICENSE= portsentry-license
+USE_BUILDLINK2= YES
+USE_PKGINSTALL= YES
+
ALL_TARGET= ${LOWER_OPSYS}
+EGDIR= ${PREFIX}/share/examples/portsentry
+CONF_FILES= ${EGDIR}/portsentry.conf ${PKG_SYSCONFDIR}/portsentry.conf
+CONF_FILES+= ${EGDIR}/portsentry.ignore ${PKG_SYSCONFDIR}/portsentry.ignore
+
post-patch:
@cd ${WRKSRC}; \
case ${OPSYS} in \
@@ -23,6 +30,7 @@ post-patch:
for f in portsentry.conf portsentry_config.h; do \
${MV} $$f $$f.prefix; \
${SED} -e 's|@PREFIX@|${PREFIX}|g' \
+ -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g' \
-e 's|@netbsd@|'$$netbsd'|g' \
-e 's|@solaris@|'$$solaris'|g' \
$$f.prefix > $$f; \