aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-08-07 22:52:59 +0800
committervanilla <vanilla@FreeBSD.org>2014-08-07 22:52:59 +0800
commit708fc079224eed72fcc4989b08b71432125c3f4b (patch)
treef502756f8b04daf402580dfe9525d014c90809c9 /textproc
parentcded4a5ff48608f9dd79867293d785a22fb9db90 (diff)
downloadfreebsd-ports-gnome-708fc079224eed72fcc4989b08b71432125c3f4b.tar.gz
freebsd-ports-gnome-708fc079224eed72fcc4989b08b71432125c3f4b.tar.zst
freebsd-ports-gnome-708fc079224eed72fcc4989b08b71432125c3f4b.zip
1: stagify.
2: strip binary.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/pure-xml/Makefile25
1 files changed, 7 insertions, 18 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
-
-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>