From 93f5cc717482c675ceef91bca3042dd9a90d9980 Mon Sep 17 00:00:00 2001 From: "Vanilla I. Shu" Date: Thu, 7 Aug 2014 14:52:59 +0000 Subject: [PATCH] 1: stagify. 2: strip binary. --- textproc/pure-xml/Makefile | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/textproc/pure-xml/Makefile b/textproc/pure-xml/Makefile index dc80afc40240..009e59bdfeca 100644 --- a/textproc/pure-xml/Makefile +++ b/textproc/pure-xml/Makefile @@ -16,29 +16,18 @@ LICENSE_COMB= dual USES= pure USE_GNOME= libxml2 libxslt +PORTDOCS= README +PORTEXAMPLES= * +OPTIONS_DEFINE= DOCS EXAMPLES PLIST_FILES= lib/pure/xml.pure \ lib/pure/xml.so -NO_STAGE= yes - -PORTDOCS= README - -PORTEXAMPLES= * - -OPTIONS_DEFINE= DOCS EXAMPLES - -.include - 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