svn commit: r364282 - head/textproc/pure-xml
Vanilla I. Shu
vanilla at FreeBSD.org
Thu Aug 7 14:53:00 UTC 2014
Author: vanilla
Date: Thu Aug 7 14:52:59 2014
New Revision: 364282
URL: http://svnweb.freebsd.org/changeset/ports/364282
QAT: https://qat.redports.org/buildarchive/r364282/
Log:
1: stagify.
2: strip binary.
Modified:
head/textproc/pure-xml/Makefile
Modified: head/textproc/pure-xml/Makefile
==============================================================================
--- head/textproc/pure-xml/Makefile Thu Aug 7 14:49:32 2014 (r364281)
+++ head/textproc/pure-xml/Makefile Thu Aug 7 14:52:59 2014 (r364282)
@@ -16,29 +16,18 @@ LICENSE_COMB= dual
USES= pure
USE_GNOME= libxml2 libxslt
-
-PLIST_FILES= lib/pure/xml.pure \
- lib/pure/xml.so
-
-NO_STAGE= yes
-
PORTDOCS= README
-
PORTEXAMPLES= *
-
OPTIONS_DEFINE= DOCS EXAMPLES
-.include <bsd.port.options.mk>
+PLIST_FILES= lib/pure/xml.pure \
+ lib/pure/xml.so
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
-.endif
-
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${EXAMPLESDIR}
- @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
-.endif
+ @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pure/xml.so
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ @(cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR})
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list