- Strip library

- Remove DOCS and EXAMPLES from OPTIONS_DEFAULT as they are enabled anyway
This commit is contained in:
Dmitry Marakasov 2015-02-17 21:32:56 +00:00
parent 1f10808ced
commit aade72ebb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379191

View file

@ -23,7 +23,7 @@ PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= SDL FREETYPE DOCS EXAMPLES
OPTIONS_DEFAULT=SDL FREETYPE DOCS EXAMPLES
OPTIONS_DEFAULT=SDL FREETYPE
SDL_DESC= Enable support for SDL_image
.include <bsd.port.options.mk>
@ -49,6 +49,7 @@ post-patch:
s|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/Makefile.conf
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libSGE.so
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}