Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2016 13:04:16 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412339 - head/graphics/urt
Message-ID:  <201604011304.u31D4GWJ037629@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604011304.u31D4GWJ037629>