aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-04-01 21:04:15 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-04-01 21:04:15 +0800
commitdcc423252ce9dde19949b62e2bc39c7349068bff (patch)
tree68bcbd74fe1facdcc5db7fa7d91e2b4787e4446f
parent93ab5afb174cf03f4e3a4a34c24d97ee92e89ff2 (diff)
downloadfreebsd-ports-gnome-dcc423252ce9dde19949b62e2bc39c7349068bff.tar.gz
freebsd-ports-gnome-dcc423252ce9dde19949b62e2bc39c7349068bff.tar.zst
freebsd-ports-gnome-dcc423252ce9dde19949b62e2bc39c7349068bff.zip
- Switch to options helpers
-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>