1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- Convert to USES=libtool, drop .la files

- Fix DOCS installation
- Strip libraries
This commit is contained in:
Dmitry Marakasov 2014-05-26 19:54:35 +00:00
parent b70db56b07
commit 65a1bf6dde
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=355438
2 changed files with 12 additions and 24 deletions

View File

@ -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>

View File

@ -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