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-15 02:23:07 +00:00
parent 83044542ff
commit 9fbd5865b0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364881

View File

@ -39,7 +39,6 @@ DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
INFO= ocamlsdl
PORTDOCS= *
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSDL_GFX}
@ -71,10 +70,13 @@ PLIST_DIRSTRY+= ${OCAML_DOCSDIR:S,^${PREFIX}/,,}
.endif
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/ocamlsdl.info ${PREFIX}/${INFO_PATH}
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
(cd ${WRKSRC}/doc/html && ${INSTALL_DATA} * ${DOCSDIR})
.endif
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/sdl/dllsdlloaderstub.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/sdl/dllsdlttfstub.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/sdl/dllsdlgfxstub.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/sdl/dllsdlmixerstub.so
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/ocaml/site-lib/sdl/dllsdlstub.so
${INSTALL_DATA} ${WRKSRC}/doc/ocamlsdl.info ${STAGEDIR}${PREFIX}/${INFO_PATH}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC}/doc/html && ${INSTALL_DATA} * ${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>