diff options
Diffstat (limited to 'net/zmap/Makefile')
-rw-r--r-- | net/zmap/Makefile | 19 |
1 files changed, 7 insertions, 12 deletions
diff --git a/net/zmap/Makefile b/net/zmap/Makefile index d829817f1b74..d0e67aa7346a 100644 --- a/net/zmap/Makefile +++ b/net/zmap/Makefile @@ -11,23 +11,19 @@ WWW= https://zmap.io/ \ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= gengetopt>0:devel/gengetopt \ - gmake:devel/gmake -LIB_DEPENDS= libjson-c.so:devel/json-c \ +BUILD_DEPENDS= gengetopt>0:devel/gengetopt +LIB_DEPENDS= libgmp.so:math/gmp \ + libjson-c.so:devel/json-c \ libJudy.so:devel/judy \ - libgmp.so:math/gmp \ libpcap.so:net/libpcap \ libunistring.so:devel/libunistring -USES= cmake:insource pkgconfig -USE_GITHUB= yes +USES= cmake pkgconfig -CFLAGS+= -D_SYSTYPE_BSD +USE_GITHUB= yes CMAKE_ON= FORCE_CONF_INSTALL -MANPAGE= zblacklist.1 zmap.1 ztee.1 - post-patch: @${REINPLACE_CMD} -i '' -e 's|/etc/zmap|${LOCALBASE}/etc/zmap|g' -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/CMakeLists.txt @@ -39,8 +35,7 @@ post-patch: ${WRKSRC}/src/zmap.c post-install: -.for cnf in blocklist.conf zmap.conf - @${MV} ${STAGEDIR}${ETCDIR}/${cnf} ${STAGEDIR}${ETCDIR}/${cnf}.sample -.endfor + @${MV} ${STAGEDIR}${ETCDIR}/blocklist.conf ${STAGEDIR}${ETCDIR}/blocklist.conf.sample + @${MV} ${STAGEDIR}${ETCDIR}/zmap.conf ${STAGEDIR}${ETCDIR}/zmap.conf.sample .include <bsd.port.mk> |