aboutsummaryrefslogtreecommitdiff
path: root/graphics/urt
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-04-01 13:04:15 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-04-01 13:04:15 +0000
commita7812a111730eebda32b5a33cdaf59aabe7e8994 (patch)
tree68bcbd74fe1facdcc5db7fa7d91e2b4787e4446f /graphics/urt
parent1501f81fa59d54467860e570d437208bfeb0c68c (diff)
downloadports-a7812a111730eebda32b5a33cdaf59aabe7e8994.tar.gz
ports-a7812a111730eebda32b5a33cdaf59aabe7e8994.zip
- Switch to options helpers
Notes
Notes: svn path=/head/; revision=412339
Diffstat (limited to 'graphics/urt')
-rw-r--r--graphics/urt/Makefile12
1 files 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 <bsd.port.options.mk>
-
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 <bsd.port.mk>