mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
1: Stagify.
2: Strip binary.
This commit is contained in:
parent
12f39f759d
commit
1035cb6ba7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364278
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user