From 4245abe9a3cc45397f316295b5c436b608d5b726 Mon Sep 17 00:00:00 2001 From: Stefan Walter Date: Tue, 4 Jul 2006 15:44:53 +0000 Subject: - 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 Patch by: stefan Approved by: maintainer arved (mentor) --- security/fragroute/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'security/fragroute') 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 -- cgit v1.2.3