Lines 1-43
Link Here
|
1 |
# New ports collection makefile for: ipguard |
1 |
# Ports collection makefile for: ipguard |
2 |
# Date created: 2 Sep 2005 |
2 |
# Date created: 6 Oct 2008 |
3 |
# Whom: SeaD |
3 |
# Whom: SeaD |
4 |
# |
4 |
# |
5 |
# $FreeBSD: ports/security/ipguard/Makefile,v 1.5 2008/10/05 10:19:53 miwi Exp $ |
5 |
# $FreeBSD$ |
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= ipguard |
8 |
PORTNAME= ipguard |
9 |
PORTVERSION= 1.00 |
9 |
PORTVERSION= 1.00 |
10 |
CATEGORIES= security net |
10 |
CATEGORIES= security net |
11 |
MASTER_SITES= http://ipguard.deep.perm.ru/files/ |
11 |
MASTER_SITES= http://ipguard.deep.perm.ru/files/ http://deep.perm.ru/files/ipguard/ |
12 |
|
12 |
|
13 |
MAINTAINER= ports@FreeBSD.org |
13 |
MAINTAINER= sead@deep.perm.ru |
14 |
COMMENT= Tool designed to protect LAN IP adress space by ARP spoofing |
14 |
COMMENT= Tool designed to protect LAN IP adress space by ARP spoofing |
15 |
|
15 |
|
16 |
BUILD_DEPENDS= ${LIBNET_CONFIG}:${PORTSDIR}/net/libnet |
16 |
BUILD_DEPENDS= ${LOCALBASE}/lib/libnet11/libnet.a:${PORTSDIR}/net/libnet |
17 |
|
17 |
|
18 |
MAN8= ipguard.8 |
18 |
USE_RC_SUBR= ${PORTNAME} |
19 |
|
19 |
MAN8= ${PORTNAME}.8 |
20 |
ETHERS?= /etc/ethers |
20 |
DOCS= COPYRIGHT NEWS README README.tcpdump README.log ethers.sample rfc826.txt |
21 |
|
|
|
22 |
MAKE_ARGS+= ETHERS=${ETHERS} |
23 |
|
24 |
SUB_FILES= pkg-message |
25 |
SUB_LIST= ETHERS=${ETHERS} |
26 |
|
27 |
LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config |
28 |
|
29 |
post-patch: |
30 |
@${REINPLACE_CMD} -Ee \ |
31 |
's|libnet-config|${LIBNET_CONFIG}|; \ |
32 |
s|^(INCLUDES=).*|\1`${LIBNET_CONFIG} --cflags`|' \ |
33 |
${WRKSRC}/${MAKEFILE} |
34 |
|
35 |
do-install: |
36 |
${INSTALL_PROGRAM} ${WRKSRC}/ipguard ${PREFIX}/sbin |
37 |
${INSTALL_MAN} ${WRKSRC}/doc/ipguard.8 ${MANPREFIX}/man/man8 |
38 |
${INSTALL_SCRIPT} ${WRKSRC}/doc/ipguard.sh.sample ${PREFIX}/etc/rc.d |
39 |
|
21 |
|
40 |
post-install: |
22 |
post-install: |
41 |
@${CAT} ${PKGMESSAGE} |
23 |
.ifndef(NOPORTDOCS) |
|
|
24 |
@${MKDIR} ${DOCSDIR} |
25 |
.for doc in ${DOCS} |
26 |
@${INSTALL_DATA} ${WRKSRC}/doc/${doc} ${DOCSDIR} |
27 |
.endfor |
28 |
.endif |
42 |
|
29 |
|
43 |
.include <bsd.port.mk> |
30 |
.include <bsd.port.mk> |