Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2018 17:13:27 +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: r461156 - head/www/skytemplate
Message-ID:  <201802071713.w17HDRkU008401@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Feb  7 17:13:27 2018
New Revision: 461156
URL: https://svnweb.freebsd.org/changeset/ports/461156

Log:
  - Simplify installation
  - Add NO_ARCH
  
  Approved by:	portmgr blanket

Modified:
  head/www/skytemplate/Makefile

Modified: head/www/skytemplate/Makefile
==============================================================================
--- head/www/skytemplate/Makefile	Wed Feb  7 16:33:45 2018	(r461155)
+++ head/www/skytemplate/Makefile	Wed Feb  7 17:13:27 2018	(r461156)
@@ -13,15 +13,14 @@ COMMENT=	Yet another PHP compiling template engine
 
 USES=		php:web
 NO_BUILD=	yes
+NO_ARCH=	yes
 
 SUB_FILES=	pkg-message
 
 do-install:
-	${MKDIR} ${STAGEDIR}${DATADIR}
-.for f in class.SkyTemplate.php class.SkyTemplate_withDaddy.php
-	${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DATADIR}
-	${MKDIR} ${STAGEDIR}${DATADIR}/SkyTpl
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+	${INSTALL_DATA} ${WRKSRC}/*.php ${STAGEDIR}${DATADIR}
+	@${MKDIR} ${STAGEDIR}${DATADIR}/SkyTpl
 	${INSTALL_DATA} ${WRKSRC}/SkyTpl/* ${STAGEDIR}${DATADIR}/SkyTpl
-.endfor
 
 .include <bsd.port.mk>



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