aboutsummaryrefslogtreecommitdiff
path: root/security/snortsam/Makefile
diff options
context:
space:
mode:
authorDoug Barton <dougb@FreeBSD.org>2012-08-21 21:00:33 +0000
committerDoug Barton <dougb@FreeBSD.org>2012-08-21 21:00:33 +0000
commit235e0c0890fd94b338317dbae99ef8fce75129d2 (patch)
tree687cc3167fd1d7bdcfa54b68496dfda41bdf40fa /security/snortsam/Makefile
parent2718265a6b05c0010b8eedcb126649368e3f642b (diff)
downloadports-235e0c0890fd94b338317dbae99ef8fce75129d2.tar.gz
ports-235e0c0890fd94b338317dbae99ef8fce75129d2.zip
Notes
Diffstat (limited to 'security/snortsam/Makefile')
-rw-r--r--security/snortsam/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/security/snortsam/Makefile b/security/snortsam/Makefile
index 8baee38d07a6..14030bb3aba9 100644
--- a/security/snortsam/Makefile
+++ b/security/snortsam/Makefile
@@ -28,7 +28,6 @@ SUB_FILES= pkg-message \
HAS_CONFIGURE= yes
NO_BUILD= yes
CONFIGURE_SCRIPT= src/Makefile
-WRKSRC= ${WRKDIR}/${PKGNAMEPREFIX}${PORTNAME}
CONFIG_DIR?= ${PREFIX}/etc/snortsam
@@ -55,6 +54,9 @@ EXTRA_PATCHES+= ${FILESDIR}/ssp_ipfw2_no_table_check.patch
DEBUG=-DDEBUG
.endif
+post-extract:
+ @${MV} ${WRKDIR}/${PORTNAME} ${WRKSRC}
+
pre-configure:
@${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${CONFIG_DIR}/snortsam.conf|g" ${WRKSRC}/conf/snortsam.conf.sample
@${REINPLACE_CMD} -e "s|/etc/snortsam.conf|${CONFIG_DIR}/snortsam.conf|g" ${WRKSRC}/docs/README.conf