diff --git a/net/ngrep/Makefile b/net/ngrep/Makefile index 1752526e2c4e..e2493a31453c 100644 --- a/net/ngrep/Makefile +++ b/net/ngrep/Makefile @@ -1,62 +1,62 @@ PORTNAME= ngrep PORTVERSION= 1.45 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= net security MASTER_SITES= SF MAINTAINER= logan@elandsys.com COMMENT= Network grep WWW= https://ngrep.sourceforge.net/ LICENSE= BSD4CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE.txt USES= gmake tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-pcap-restart MAKE_JOBS_UNSAFE= yes OPTIONS_DEFINE= CAPSICUM DOCS IPV6 PCRE PORTS_PCAP OPTIONS_DEFAULT= CAPSICUM PCRE PCRE_DESC= Use PCRE instead of GNU regex PORTS_PCAP_DESC= Use ports PCAP instead of system PCAP CAPSICUM_DESC= Build with capsicum if kernel supports it -PLIST_FILES= bin/ngrep man/man8/ngrep.8.gz +PLIST_FILES= bin/ngrep share/man/man8/ngrep.8.gz PORTDOCS= CHANGES.txt CREDITS.txt INSTALL.txt LICENSE.txt \ README.txt REGEX.txt CAPSICUM_CONFIGURE_ON= --enable-capsicum IPV6_CONFIGURE_ENABLE= ipv6 PCRE_CONFIGURE_ENABLE= pcre PORTS_PCAP_CONFIGURE_ON= --with-pcap-includes=${LOCALBASE}/include PORTS_PCAP_CONFIGURE_OFF= --with-pcap-includes=/usr/include PORTS_PCAP_BUILD_DEPENDS= ${LOCALBASE}/lib/libpcap.a:net/libpcap .include post-patch: .if ${PORT_OPTIONS:MPORTS_PCAP} @${REINPLACE_CMD} -e "s|-lpcap|${LOCALBASE}/lib/libpcap.a|g" \ ${WRKSRC}/Makefile.in ${WRKSRC}/configure .endif post-install: .if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${STAGEDIR}${DOCSDIR} .for file in ${PORTDOCS} @if [ -f ${WRKSRC}/${file} ]; then \ ${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}; \ else \ ${INSTALL_DATA} ${WRKSRC}/doc/${file} ${STAGEDIR}${DOCSDIR}; \ fi .endfor .endif .include diff --git a/net/ngrep/files/patch-Makefile.in b/net/ngrep/files/patch-Makefile.in index 9347ae0254a6..8c88a82ea677 100644 --- a/net/ngrep/files/patch-Makefile.in +++ b/net/ngrep/files/patch-Makefile.in @@ -1,20 +1,11 @@ --- Makefile.in.orig 2006-11-29 00:35:37.000000000 +1100 +++ Makefile.in 2013-10-09 02:17:53.000000000 +1100 -@@ -25,7 +25,7 @@ - - bindir = $(prefix)/bin - datadir = $(prefix)/share --mandir = $(datadir)/man -+mandir = $(prefix)/man - - BINDIR_INSTALL = $(prefix)/bin - MANDIR_INSTALL = $(mandir)/man8 @@ -63,7 +63,7 @@ rm -f config.status config.cache config.log config.h Makefile $(REGEX_OBJS): $(REGEX_OBJS:.o=.c) $(REGEX_DIR)/*.h - $(MAKE) $(MAKEFLAGS) -C $(REGEX_DIR) $(notdir $(REGEX_OBJS)) + $(MAKE) -C $(REGEX_DIR) $(notdir $(REGEX_OBJS)) $(OBJS): Makefile ngrep.c ngrep.h