aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-08-09 17:01:04 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-08-09 17:01:04 +0800
commite8715e91ded4e4e5c821c0e63c2b126926051eab (patch)
treeea9cb5e5234f93ffd01475534602a7b97a7a6645 /textproc
parent9bd4a9540a7ab1a3101083f5b73c754c5c881db3 (diff)
downloadfreebsd-ports-graphics-e8715e91ded4e4e5c821c0e63c2b126926051eab.tar.gz
freebsd-ports-graphics-e8715e91ded4e4e5c821c0e63c2b126926051eab.tar.zst
freebsd-ports-graphics-e8715e91ded4e4e5c821c0e63c2b126926051eab.zip
- Fix license
- Switch to options helpers
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 f02e5cb1adc..8cd692db234 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})