aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/libparsifal
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-31 08:58:42 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-31 08:58:42 +0800
commit90c1eb014a9d664d4a14af864969ce29cd22916f (patch)
tree60075dd5ca64aab384632ef6160f1a561fcb68c0 /textproc/libparsifal
parent205f77cca902134a0f91a74c2b0cfcc2793b39df (diff)
downloadfreebsd-ports-gnome-90c1eb014a9d664d4a14af864969ce29cd22916f.tar.gz
freebsd-ports-gnome-90c1eb014a9d664d4a14af864969ce29cd22916f.tar.zst
freebsd-ports-gnome-90c1eb014a9d664d4a14af864969ce29cd22916f.zip
- Switch to libtool, drop .la file
- Strip library - Simplify and optionize docs installation
Diffstat (limited to 'textproc/libparsifal')
-rw-r--r--textproc/libparsifal/Makefile13
-rw-r--r--textproc/libparsifal/pkg-plist1
2 files changed, 6 insertions, 8 deletions
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 <bsd.port.mk>
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