summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2006-07-04 15:44:53 +0000
committerStefan Walter <stefan@FreeBSD.org>2006-07-04 15:44:53 +0000
commit4245abe9a3cc45397f316295b5c436b608d5b726 (patch)
tree0d34d3b5d37df83641a7351b399452275b7c962f /security
parentVarious examples for gEDA suite. This includes: (diff)
- Replace the BUILD_DEPENDS by LIB_DEPENDS on libdnet and libevent.
- Point configure at ${LOCALBASE} instead of ${PREFIX} when looking for the libraries. - Use ${DATADIR} where appropriate. PR: 99619 Submitted by: Richard Bejtlich <taosecurity@gmail.com> Patch by: stefan Approved by: maintainer arved (mentor)
Notes
Notes: svn path=/head/; revision=166924
Diffstat (limited to 'security')
-rw-r--r--security/fragroute/Makefile15
1 files changed, 7 insertions, 8 deletions
diff --git a/security/fragroute/Makefile b/security/fragroute/Makefile
index 9e34afb824f3..ce110eb1b3bb 100644
--- a/security/fragroute/Makefile
+++ b/security/fragroute/Makefile
@@ -7,7 +7,7 @@
PORTNAME= fragroute
PORTVERSION= 1.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= security net
MASTER_SITES= http://monkey.org/~dugsong/fragroute/ \
${MASTER_SITE_PACKETSTORM}
@@ -16,12 +16,12 @@ MASTER_SITE_SUBDIR= UNIX/security
MAINTAINER= onatan@gmail.com
COMMENT= A tool for intercepting, modifying and rewriting egress traffic
-BUILD_DEPENDS= ${LOCALBASE}/lib/libdnet.a:${PORTSDIR}/net/libdnet \
- ${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent
+LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet \
+ event-1:${PORTSDIR}/devel/libevent
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-libdnet=${PREFIX} \
- --with-libevent=${PREFIX} --with-pcap
+CONFIGURE_ARGS+= --with-libdnet=${LOCALBASE} \
+ --with-libevent=${LOCALBASE} --with-pcap
MAN8= fragroute.8 fragtest.8
@@ -30,10 +30,9 @@ SCRIPTS= README.snort base-1 frag-1 frag-2 frag-3 frag-4 frag-5 \
tcp-7 tcp-9
pre-install:
- ${MKDIR} ${PREFIX}/share/${PORTNAME}
+ ${MKDIR} ${DATADIR}
.for FILE in ${SCRIPTS}
- ${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} \
- ${PREFIX}/share/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${DATADIR}
.endfor
.include <bsd.port.mk>