svn commit: r412339 - head/graphics/urt

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Apr 1 13:04:17 UTC 2016


Author: amdmi3
Date: Fri Apr  1 13:04:15 2016
New Revision: 412339
URL: https://svnweb.freebsd.org/changeset/ports/412339

Log:
  - Switch to options helpers

Modified:
  head/graphics/urt/Makefile

Modified: head/graphics/urt/Makefile
==============================================================================
--- head/graphics/urt/Makefile	Fri Apr  1 13:03:54 2016	(r412338)
+++ head/graphics/urt/Makefile	Fri Apr  1 13:04:15 2016	(r412339)
@@ -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>


More information about the svn-ports-head mailing list