From 3174b06d9119c346faf652c0c2da470f97b19e96 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Sat, 31 May 2014 00:58:42 +0000 Subject: - Switch to libtool, drop .la file - Strip library - Simplify and optionize docs installation --- textproc/libparsifal/Makefile | 13 ++++++------- textproc/libparsifal/pkg-plist | 1 - 2 files changed, 6 insertions(+), 8 deletions(-) (limited to 'textproc/libparsifal') diff --git a/textproc/libparsifal/Makefile b/textproc/libparsifal/Makefile index 5b9033945931..d305d91b1d2b 100644 --- a/textproc/libparsifal/Makefile +++ b/textproc/libparsifal/Makefile @@ -3,29 +3,28 @@ PORTNAME= libparsifal PORTVERSION= 1.1.0 +PORTREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://www.saunalahti.fi/~samiuus/toni/xmlproc/ MAINTAINER= ports@FreeBSD.org COMMENT= Lightweight XML Parser -USE_AUTOTOOLS= libtool -USES= iconv +USES= iconv libtool GNU_CONFIGURE= yes CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib USE_LDCONFIG= yes +INSTALL_TARGET= install-strip PLIST_SUB= VERSION=${PORTVERSION} -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|g' ${WRKSRC}/configure post-install: -.ifndef(NOPORTDOCS) - @${ECHO_MSG} "===> Installing documentation for ${PKGNAME}" - @(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${DOCSDIR}) -.endif + @(cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) .include diff --git a/textproc/libparsifal/pkg-plist b/textproc/libparsifal/pkg-plist index 09333c4f4650..c4fad07a93b3 100644 --- a/textproc/libparsifal/pkg-plist +++ b/textproc/libparsifal/pkg-plist @@ -11,7 +11,6 @@ include/libparsifal/xmlsbuf.h include/libparsifal/xmlvect.h lib/libparsifal-%%VERSION%%.so lib/libparsifal.a -lib/libparsifal.la lib/libparsifal.so %%PORTDOCS%%%%DOCSDIR%%/conformance.html %%PORTDOCS%%%%DOCSDIR%%/csrchtml/canonxml_c.html -- cgit v1.2.3