1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

1: Stagify.

2: Strip binary.
This commit is contained in:
Vanilla I. Shu 2014-08-07 14:42:45 +00:00
parent 12f39f759d
commit 1035cb6ba7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364278

View File

@ -14,32 +14,20 @@ COMMENT= Multiprecision floats for Pure
LICENSE= GPLv3 LGPL3
LICENSE_COMB= dual
MAKE_ARGS+= libdir="${PREFIX}/lib"
USES= pkgconfig pure
MAKE_ARGS+= libdir="${PREFIX}/lib"
PORTDOCS= README
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
PLIST_FILES= lib/pure/mpfr.pure \
lib/pure/mpfr.so
NO_STAGE= yes
PORTDOCS= README
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
.include <bsd.port.options.mk>
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>