diff options
author | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-04-04 09:16:12 +0000 |
---|---|---|
committer | Emanuel Haupt <ehaupt@FreeBSD.org> | 2014-04-04 09:16:12 +0000 |
commit | 276aae5abcbb662ee2a676373011ee218785e9ac (patch) | |
tree | cf42a9ed3efcf4bc19c343dd83523d9e017ee1b4 /security/firewalk | |
parent | bf0aea05f28b574a2ba30b96b6b7a478ece5d296 (diff) | |
download | ports-276aae5abcbb662ee2a676373011ee218785e9ac.tar.gz ports-276aae5abcbb662ee2a676373011ee218785e9ac.zip |
Notes
Diffstat (limited to 'security/firewalk')
-rw-r--r-- | security/firewalk/Makefile | 30 | ||||
-rw-r--r-- | security/firewalk/files/patch-include__firewalk.h (renamed from security/firewalk/files/patch-include:firewalk.h) | 0 | ||||
-rw-r--r-- | security/firewalk/files/patch-src__firewalk.c (renamed from security/firewalk/files/patch-src:firewalk.c) | 0 | ||||
-rw-r--r-- | security/firewalk/pkg-plist | 5 |
4 files changed, 16 insertions, 19 deletions
diff --git a/security/firewalk/Makefile b/security/firewalk/Makefile index 334d1fbf57b8..318948f9e09c 100644 --- a/security/firewalk/Makefile +++ b/security/firewalk/Makefile @@ -11,31 +11,33 @@ EXTRACT_SUFX= .tgz MAINTAINER= onatan@gmail.com COMMENT= Remote firewall auditing tool -LIB_DEPENDS= dnet:${PORTSDIR}/net/libdnet \ - net:${PORTSDIR}/net/libnet - -WRKSRC= ${WRKDIR}/Firewalk +LIB_DEPENDS= libdnet.so:${PORTSDIR}/net/libdnet \ + libnet.so:${PORTSDIR}/net/libnet GNU_CONFIGURE= yes + CPPFLAGS+= -I${LOCALBASE}/include `${LIBNET_CONFIG} --cflags` LDFLAGS+= -L${LOCALBASE}/lib -MAN8= firewalk.8 LIBNET_CONFIG?= ${LOCALBASE}/bin/libnet11-config -NO_STAGE= yes +PLIST_FILES= bin/firewalk man/man8/firewalk.8.gz +PORTDOCS= BUGS README TODO + +WRKSRC= ${WRKDIR}/Firewalk + +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|-lnet|`${LIBNET_CONFIG} --libs`|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/src/firewalk ${PREFIX}/bin/ - ${INSTALL_MAN} ${WRKSRC}/man/firewalk.8 ${MANPREFIX}/man/man8/ -. if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/TODO ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} -. endif + ${INSTALL_PROGRAM} ${WRKSRC}/src/firewalk ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/firewalk.8 ${STAGEDIR}${MANPREFIX}/man/man8 + @${MKDIR} ${STAGEDIR}${DOCSDIR} +.for f in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR} +.endfor .include <bsd.port.mk> diff --git a/security/firewalk/files/patch-include:firewalk.h b/security/firewalk/files/patch-include__firewalk.h index 3926e4c8cb50..3926e4c8cb50 100644 --- a/security/firewalk/files/patch-include:firewalk.h +++ b/security/firewalk/files/patch-include__firewalk.h diff --git a/security/firewalk/files/patch-src:firewalk.c b/security/firewalk/files/patch-src__firewalk.c index 27b254bdc76d..27b254bdc76d 100644 --- a/security/firewalk/files/patch-src:firewalk.c +++ b/security/firewalk/files/patch-src__firewalk.c diff --git a/security/firewalk/pkg-plist b/security/firewalk/pkg-plist deleted file mode 100644 index dd84b93eafcb..000000000000 --- a/security/firewalk/pkg-plist +++ /dev/null @@ -1,5 +0,0 @@ -bin/firewalk -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%%%DOCSDIR%%/BUGS -%%PORTDOCS%%%%DOCSDIR%%/TODO -%%PORTDOCS%%@dirrm %%DOCSDIR%% |