diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-08-07 22:42:45 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-08-07 22:42:45 +0800 |
commit | 734b3966f3a361561d8729b74d6623dc67f79297 (patch) | |
tree | f39d7af813b169bd88d29af901b106b34a559724 | |
parent | 18273de46aaee7d8e9965a5ac73e3ad6210d8131 (diff) | |
download | freebsd-ports-gnome-734b3966f3a361561d8729b74d6623dc67f79297.tar.gz freebsd-ports-gnome-734b3966f3a361561d8729b74d6623dc67f79297.tar.zst freebsd-ports-gnome-734b3966f3a361561d8729b74d6623dc67f79297.zip |
1: Stagify.
2: Strip binary.
-rw-r--r-- | math/pure-mpfr/Makefile | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/math/pure-mpfr/Makefile b/math/pure-mpfr/Makefile index a90e1bbac416..379b8716e4d0 100644 --- a/math/pure-mpfr/Makefile +++ b/math/pure-mpfr/Makefile @@ -14,32 +14,20 @@ COMMENT= Multiprecision floats for Pure LICENSE= GPLv3 LGPL3 LICENSE_COMB= dual -MAKE_ARGS+= libdir="${PREFIX}/lib" - USES= pkgconfig pure - -PLIST_FILES= lib/pure/mpfr.pure \ - lib/pure/mpfr.so - -NO_STAGE= yes - +MAKE_ARGS+= libdir="${PREFIX}/lib" PORTDOCS= README - PORTEXAMPLES= * - OPTIONS_DEFINE= DOCS EXAMPLES -.include <bsd.port.options.mk> +PLIST_FILES= lib/pure/mpfr.pure \ + lib/pure/mpfr.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/mpfr.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> |