mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Add stage support.
Approved by: antoine (mentor)
This commit is contained in:
parent
3eceffa764
commit
1667bf0efd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=356109
@ -12,25 +12,23 @@ MASTER_SITE_SUBDIR= UNIX/security
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Tool for intercepting, modifying, and rewriting egress traffic
|
||||
|
||||
LIB_DEPENDS= dnet.1:${PORTSDIR}/net/libdnet \
|
||||
event-1.4:${PORTSDIR}/devel/libevent
|
||||
LICENSE= BSD3CLAUSE
|
||||
|
||||
LIB_DEPENDS= libdnet.so:${PORTSDIR}/net/libdnet \
|
||||
libevent-1.4.so:${PORTSDIR}/devel/libevent
|
||||
|
||||
LICENSE= BSD
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --with-libdnet=${LOCALBASE} \
|
||||
--with-libevent=${LOCALBASE} --with-pcap
|
||||
|
||||
MAN8= fragroute.8 fragtest.8
|
||||
|
||||
SCRIPTS= README.snort base-1 frag-1 frag-2 frag-3 frag-4 frag-5 \
|
||||
frag-6 frag-7-unix frag-7-win32 ins-2 ins-3 tcbc-2 tcp-3 tcp-5 \
|
||||
tcp-7 tcp-9
|
||||
|
||||
NO_STAGE= yes
|
||||
pre-install:
|
||||
${MKDIR} ${DATADIR}
|
||||
${MKDIR} ${STAGEDIR}${DATADIR}
|
||||
.for FILE in ${SCRIPTS}
|
||||
${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${DATADIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/scripts/${FILE} ${STAGEDIR}${DATADIR}
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,6 +1,8 @@
|
||||
sbin/fragroute
|
||||
sbin/fragtest
|
||||
etc/fragroute.conf
|
||||
man/man8/fragroute.8.gz
|
||||
man/man8/fragtest.8.gz
|
||||
%%DATADIR%%/README.snort
|
||||
%%DATADIR%%/base-1
|
||||
%%DATADIR%%/frag-1
|
||||
|
Loading…
Reference in New Issue
Block a user