aboutsummaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-08-09 09:01:04 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-08-09 09:01:04 +0000
commita86b06f9cdfeed9749fde0a976b649ac4b26116b (patch)
treeea9cb5e5234f93ffd01475534602a7b97a7a6645 /textproc
parentcff212737ec4da0d86dd2851af97f1a39b50279c (diff)
downloadports-a86b06f9cdfeed9749fde0a976b649ac4b26116b.tar.gz
ports-a86b06f9cdfeed9749fde0a976b649ac4b26116b.zip
Notes
Diffstat (limited to 'textproc')
-rw-r--r--textproc/pure-xml/Makefile13
1 files changed, 9 insertions, 4 deletions
diff --git a/textproc/pure-xml/Makefile b/textproc/pure-xml/Makefile
index f02e5cb1adc6..8cd692db234e 100644
--- a/textproc/pure-xml/Makefile
+++ b/textproc/pure-xml/Makefile
@@ -10,22 +10,27 @@ DIST_SUBDIR= pure
MAINTAINER= ports@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})