freebsd-ports/security/ipguard/Makefile
Pav Lucistnik eb81a88093 - Patch net/libnet* to versioned libraries and header files, so they can
coexist

PR:		ports/103861
Submitted by:	alepulver
Tested by:	pointyhat
With hat:	portmgr
2007-01-31 14:09:55 +00:00

44 lines
1 KiB
Makefile

# New ports collection makefile for: ipguard
# Date created: 2 Sep 2005
# Whom: SeaD
#
# $FreeBSD$
#
PORTNAME= ipguard
PORTVERSION= 0.04
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_CONFIG}:${PORTSDIR}/net/libnet10
MAN8= ipguard.8
ETHERS?= /etc/ethers
MAKE_ARGS+= ETHERS=${ETHERS}
SUB_FILES= pkg-message
SUB_LIST= ETHERS=${ETHERS}
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
${INSTALL_MAN} ${WRKSRC}/doc/ipguard.8 ${MANPREFIX}/man/man8
${INSTALL_SCRIPT} ${WRKSRC}/doc/ipguard.sh.sample ${PREFIX}/etc/rc.d
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>