aboutsummaryrefslogtreecommitdiffstats
path: root/net/libpcapnav
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-27 03:54:35 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-27 03:54:35 +0800
commit281789b0ea47d308068a5bfafa7ed7f7d87e93c7 (patch)
treeefcd0677f6a8281efa509886be28ee6737422e31 /net/libpcapnav
parent658fbe92835530714ced0f30a5174358bcfa6af0 (diff)
downloadfreebsd-ports-gnome-281789b0ea47d308068a5bfafa7ed7f7d87e93c7.tar.gz
freebsd-ports-gnome-281789b0ea47d308068a5bfafa7ed7f7d87e93c7.tar.zst
freebsd-ports-gnome-281789b0ea47d308068a5bfafa7ed7f7d87e93c7.zip
- Convert to USES=libtool, drop .la files
- Fix DOCS installation - Strip libraries
Diffstat (limited to 'net/libpcapnav')
-rw-r--r--net/libpcapnav/Makefile14
-rw-r--r--net/libpcapnav/pkg-plist22
2 files changed, 12 insertions, 24 deletions
diff --git a/net/libpcapnav/Makefile b/net/libpcapnav/Makefile
index 811130e1b6d3..04b0b587a951 100644
--- a/net/libpcapnav/Makefile
+++ b/net/libpcapnav/Makefile
@@ -3,21 +3,25 @@
PORTNAME= libpcapnav
PORTVERSION= 0.8
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= SF/netdude/${PORTNAME}/${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A libpcap wrapper library
-USE_AUTOTOOLS= libtool
+USES= libtool
CONFIGURE_ARGS= --disable-gtk-doc --with-html-dir=${DOCSDIR}
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
+INSTALL_TARGET= install-strip
+
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|DOC_MODULE = pcapnav|DOC_MODULE =|' \
- ${WRKSRC}/docs/Makefile.in
-.if defined(NOPORTDOCS)
- @${REINPLACE_CMD} -e 's|docs||' ${WRKSRC}/Makefile.in
-.endif
+ ${WRKSRC}/docs/Makefile.in
.include <bsd.port.mk>
diff --git a/net/libpcapnav/pkg-plist b/net/libpcapnav/pkg-plist
index eed09f38ba6c..f18a873d92a4 100644
--- a/net/libpcapnav/pkg-plist
+++ b/net/libpcapnav/pkg-plist
@@ -1,22 +1,6 @@
bin/pcapnav-config
include/pcapnav.h
-lib/libpcapnav.so.0
-lib/libpcapnav.so
-lib/libpcapnav.la
lib/libpcapnav.a
-%%PORTDOCS%%%%DOCSDIR%%/images/caution.gif
-%%PORTDOCS%%%%DOCSDIR%%/images/note.gif
-%%PORTDOCS%%%%DOCSDIR%%/images/warning.gif
-%%PORTDOCS%%%%DOCSDIR%%/api.html
-%%PORTDOCS%%%%DOCSDIR%%/a1466.html
-%%PORTDOCS%%%%DOCSDIR%%/c61.html
-%%PORTDOCS%%%%DOCSDIR%%/c17.html
-%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%DOCSDIR%%/pcapnav-pcapnav-debug.html
-%%PORTDOCS%%%%DOCSDIR%%/pcapnav-pcapnav-macros.html
-%%PORTDOCS%%%%DOCSDIR%%/pcapnav-pcapnav-timestamp.html
-%%PORTDOCS%%%%DOCSDIR%%/pcapnav-pcapnav.html
-%%PORTDOCS%%%%DOCSDIR%%/index.sgml
-%%PORTDOCS%%%%DOCSDIR%%/stylesheet.css
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
-%%PORTDOCS%%@dirrm %%DOCSDIR%%
+lib/libpcapnav.so
+lib/libpcapnav.so.0
+lib/libpcapnav.so.0.0.0