From a7812a111730eebda32b5a33cdaf59aabe7e8994 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Fri, 1 Apr 2016 13:04:15 +0000 Subject: - Switch to options helpers --- graphics/urt/Makefile | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/graphics/urt/Makefile b/graphics/urt/Makefile index 93f80273c5e8..cdb0da361458 100644 --- a/graphics/urt/Makefile +++ b/graphics/urt/Makefile @@ -32,17 +32,15 @@ MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX} ALL_TARGET= # none USE_LDCONFIG= yes -.include - post-install: -.if ${PORT_OPTIONS:MDOCS} + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librle.so + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} @(cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) -.endif -.if ${PORT_OPTIONS:MEXAMPLES} + +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/img @(cd ${WRKSRC}/img && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/img) -.endif - ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/librle.so .include -- cgit v1.2.3