diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-31 14:09:55 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2007-01-31 14:09:55 +0000 |
commit | eb81a88093e7d71530eebb2957f8ba4317b26ee6 (patch) | |
tree | 9290c97700f22b8ed6b87a10fda7d195dac09f04 /security/ipguard | |
parent | e6b247dce1d9f6355a583ef6269fdbba110eaea8 (diff) | |
download | ports-eb81a88093e7d71530eebb2957f8ba4317b26ee6.tar.gz ports-eb81a88093e7d71530eebb2957f8ba4317b26ee6.zip |
Notes
Diffstat (limited to 'security/ipguard')
-rw-r--r-- | security/ipguard/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/security/ipguard/Makefile b/security/ipguard/Makefile index a5a20b028af9..e2651af0175e 100644 --- a/security/ipguard/Makefile +++ b/security/ipguard/Makefile @@ -7,14 +7,14 @@ PORTNAME= ipguard PORTVERSION= 0.04 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security net MASTER_SITES= http://ipguard.deep.perm.ru/files/ MAINTAINER= ports@FreeBSD.org COMMENT= Tool designed to protect LAN IP adress space by ARP spoofing -BUILD_DEPENDS= libnet*<=1.1.0,1:${PORTSDIR}/net/libnet10 +BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet10 MAN8= ipguard.8 @@ -24,7 +24,14 @@ MAKE_ARGS+= ETHERS=${ETHERS} SUB_FILES= pkg-message SUB_LIST= ETHERS=${ETHERS} -PKGMESSAGE= ${WRKDIR}/pkg-message + +LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet10-config + +post-patch: + @${REINPLACE_CMD} -Ee \ + 's|libnet-config|${LIBNET_CONFIG}|; \ + s|^(INCLUDES=).*|\1`${LIBNET_CONFIG} --cflags`|' \ + ${WRKSRC}/${MAKEFILE} do-install: ${INSTALL_PROGRAM} ${WRKSRC}/ipguard ${PREFIX}/sbin |