diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-05-26 00:06:05 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2015-05-26 00:06:05 +0000 |
commit | b583c3b281e3dde95f90b77398708efd0644d067 (patch) | |
tree | 45944f417aee4761c8eb61903701ff38f01ec928 /textproc/sablotron | |
parent | a7a1552402a718a38aa592796a29b4af65465ffd (diff) | |
download | ports-b583c3b281e3dde95f90b77398708efd0644d067.tar.gz ports-b583c3b281e3dde95f90b77398708efd0644d067.zip |
- Fix LICENSE
- Simplify docs installation
- Strip library
Notes
Notes:
svn path=/head/; revision=387449
Diffstat (limited to 'textproc/sablotron')
-rw-r--r-- | textproc/sablotron/Makefile | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/textproc/sablotron/Makefile b/textproc/sablotron/Makefile index e3fdca330d96..9ae7626487e5 100644 --- a/textproc/sablotron/Makefile +++ b/textproc/sablotron/Makefile @@ -3,14 +3,15 @@ PORTNAME= Sablot PORTVERSION= 1.0.3 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= textproc MASTER_SITES= SF/sablotron/sablotron-${PORTVERSION} MAINTAINER= ports@FreeBSD.org COMMENT= XML toolkit implementing XSLT 1.0, XPath 1.0 and DOM Level2 -LICENSE= GPLv2 +LICENSE= MPL GPLv2 +LICENSE_COMB= dual LIB_DEPENDS= libexpat.so:${PORTSDIR}/textproc/expat2 @@ -40,13 +41,6 @@ LDFLAGS+= -L${LOCALBASE}/lib -lexpat ${ICONV_LIB} PORTDOCS= * -DOCSRCDIR1= ${WRKSRC} -DOC_FILES1= README README_JS RELEASE - -DOCSRCDIR2= ${WRKSRC}/doc/misc -DOCSDIR2= ${DOCSDIR}/doc/misc -DOC_FILES2= DEBUGGER NOTES - .include <bsd.port.options.mk> post-patch: @@ -55,9 +49,8 @@ post-patch: .endif post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${DOC_FILES1:S|^|${DOCSRCDIR1}/|} ${STAGEDIR}${DOCSDIR} - @${MKDIR} ${STAGEDIR}${DOCSDIR2} - ${INSTALL_DATA} ${DOC_FILES2:S|^|${DOCSRCDIR2}/|} ${STAGEDIR}${DOCSDIR2} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libsablot.so + cd ${WRKSRC} && ${COPYTREE_SHARE} "README README_JS RELEASE \ + doc/misc/DEBUGGER doc/misc/NOTES" ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> |