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:
parent
2e573e6ef0
commit
93f5cc7174
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364282
@ -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 <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/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>
|
||||
|
Loading…
Reference in New Issue
Block a user