aboutsummaryrefslogtreecommitdiff
path: root/security/doorman
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 06:02:06 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2007-10-04 06:02:06 +0000
commit13441eac4bb7e0e8a50bd437681b05022e55146b (patch)
treed65b02f7b127a36b4aa96f03448ee021d09b0c58 /security/doorman
parent8110f70f5fcd1d3afb2d1d8ceaaf0fe73a23c8d9 (diff)
downloadports-13441eac4bb7e0e8a50bd437681b05022e55146b.tar.gz
ports-13441eac4bb7e0e8a50bd437681b05022e55146b.zip
Notes
Diffstat (limited to 'security/doorman')
-rw-r--r--security/doorman/Makefile16
1 files changed, 1 insertions, 15 deletions
diff --git a/security/doorman/Makefile b/security/doorman/Makefile
index cee9114a8b41..c21b0dfd95f1 100644
--- a/security/doorman/Makefile
+++ b/security/doorman/Makefile
@@ -19,14 +19,6 @@ COMMENT= A Port Knocking implementation, both daemon and client
BUILD_DEPENDS= lsof:${PORTSDIR}/sysutils/lsof
RUN_DEPENDS= ${BUILD_DEPENDS}
-.include <bsd.port.pre.mk>
-
-# doormand does not work with the FreeBSD 4.x version of libpcap.
-# Require the ports version.
-.if ${OSVERSION} < 500000
-BUILD_DEPENDS+= ${LOCALBASE}/lib/libpcap.a:${PORTSDIR}/net/libpcap
-.endif
-
PKGMESSAGE= ${WRKDIR}/pkg-message
PATCH_STRIP= -p1
@@ -45,12 +37,6 @@ pre-patch:
@${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \
${WRKSRC}/doormand.c
-post-configure:
-.if ${OSVERSION} < 500000
- @${REINPLACE_CMD} -e 's,-lpcap,${LOCALBASE}/lib/libpcap.a,' \
- ${WRKSRC}/Makefile
-.endif
-
post-install:
${RM} -f ${PREFIX}/etc/doormand/ipf_add
${INSTALL_SCRIPT} ${FILESDIR}/ipf_add.atend ${PREFIX}/etc/doormand/ipf_add.atend
@@ -68,4 +54,4 @@ post-install:
done
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>