svn commit: r355438 - head/net/libpcapnav

Dmitry Marakasov amdmi3 at FreeBSD.org
Mon May 26 19:54:36 UTC 2014


Author: amdmi3
Date: Mon May 26 19:54:35 2014
New Revision: 355438
URL: http://svnweb.freebsd.org/changeset/ports/355438
QAT: https://qat.redports.org/buildarchive/r355438/

Log:
  - Convert to USES=libtool, drop .la files
  - Fix DOCS installation
  - Strip libraries

Modified:
  head/net/libpcapnav/Makefile
  head/net/libpcapnav/pkg-plist

Modified: head/net/libpcapnav/Makefile
==============================================================================
--- head/net/libpcapnav/Makefile	Mon May 26 19:45:04 2014	(r355437)
+++ head/net/libpcapnav/Makefile	Mon May 26 19:54:35 2014	(r355438)
@@ -3,21 +3,25 @@
 
 PORTNAME=	libpcapnav
 PORTVERSION=	0.8
+PORTREVISION=	1
 CATEGORIES=	net
 MASTER_SITES=	SF/netdude/${PORTNAME}/${PORTVERSION}
 
 MAINTAINER=	ports at 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>

Modified: head/net/libpcapnav/pkg-plist
==============================================================================
--- head/net/libpcapnav/pkg-plist	Mon May 26 19:45:04 2014	(r355437)
+++ head/net/libpcapnav/pkg-plist	Mon May 26 19:54:35 2014	(r355438)
@@ -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


More information about the svn-ports-all mailing list