svn commit: r419909 - head/textproc/pure-xml
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Aug 9 09:01:05 UTC 2016
Author: amdmi3
Date: Tue Aug 9 09:01:04 2016
New Revision: 419909
URL: https://svnweb.freebsd.org/changeset/ports/419909
Log:
- Fix license
- Switch to options helpers
Modified:
head/textproc/pure-xml/Makefile
Modified: head/textproc/pure-xml/Makefile
==============================================================================
--- head/textproc/pure-xml/Makefile Tue Aug 9 07:59:21 2016 (r419908)
+++ head/textproc/pure-xml/Makefile Tue Aug 9 09:01:04 2016 (r419909)
@@ -10,22 +10,27 @@ DIST_SUBDIR= pure
MAINTAINER= ports at FreeBSD.org
COMMENT= Pure language interface for libxml2 and libxslt
-LICENSE= GPLv3 LGPL3
-LICENSE_COMB= dual
+LICENSE= LGPL3+
+LICENSE_FILE= ${WRKSRC}/COPYING.LESSER
USES= pkgconfig pure
USE_GNOME= libxml2 libxslt
+
PORTDOCS= README
PORTEXAMPLES= *
-OPTIONS_DEFINE= DOCS EXAMPLES
-
PLIST_FILES= lib/pure/xml.pure \
lib/pure/xml.so
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/xml.so
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
@(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
More information about the svn-ports-all
mailing list