svn commit: r355927 - head/textproc/libparsifal
Dmitry Marakasov
amdmi3 at FreeBSD.org
Sat May 31 00:58:43 UTC 2014
Author: amdmi3
Date: Sat May 31 00:58:42 2014
New Revision: 355927
URL: http://svnweb.freebsd.org/changeset/ports/355927
QAT: https://qat.redports.org/buildarchive/r355927/
Log:
- Switch to libtool, drop .la file
- Strip library
- Simplify and optionize docs installation
Modified:
head/textproc/libparsifal/Makefile
head/textproc/libparsifal/pkg-plist
Modified: head/textproc/libparsifal/Makefile
==============================================================================
--- head/textproc/libparsifal/Makefile Sat May 31 00:57:45 2014 (r355926)
+++ head/textproc/libparsifal/Makefile Sat May 31 00:58:42 2014 (r355927)
@@ -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 at 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>
Modified: head/textproc/libparsifal/pkg-plist
==============================================================================
--- head/textproc/libparsifal/pkg-plist Sat May 31 00:57:45 2014 (r355926)
+++ head/textproc/libparsifal/pkg-plist Sat May 31 00:58:42 2014 (r355927)
@@ -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
More information about the svn-ports-all
mailing list