Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 2016 19:36:34 +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: r406871 - head/devel/lua-alien
Message-ID:  <201601211936.u0LJaY9h055648@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jan 21 19:36:34 2016
New Revision: 406871
URL: https://svnweb.freebsd.org/changeset/ports/406871

Log:
  - Switch to options helpers

Modified:
  head/devel/lua-alien/Makefile

Modified: head/devel/lua-alien/Makefile
==============================================================================
--- head/devel/lua-alien/Makefile	Thu Jan 21 19:04:13 2016	(r406870)
+++ head/devel/lua-alien/Makefile	Thu Jan 21 19:36:34 2016	(r406871)
@@ -45,12 +45,12 @@ post-patch:
 		's|/usr/lib|${LOCALBASE}/lib| ; \
 		 /luarocks/d' ${WRKSRC}/samples/*.lua
 
-post-install:
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
-	(cd ${WRKSRC}/doc && ${INSTALL_DATA} alien.* \
-		${STAGEDIR}${DOCSDIR})
+	${INSTALL_DATA} ${WRKSRC}/doc/alien.* ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
 	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
-	(cd ${WRKSRC}/samples && ${INSTALL_DATA} *.lua \
-		${STAGEDIR}${EXAMPLESDIR})
+	${INSTALL_DATA} ${WRKSRC}/samples/*.lua ${STAGEDIR}${EXAMPLESDIR}
 
 .include <bsd.port.mk>



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