Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Nov 2015 12:52:48 +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: r402358 - head/www/templatelite
Message-ID:  <201511241252.tAOCqmC6096644@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Nov 24 12:52:48 2015
New Revision: 402358
URL: https://svnweb.freebsd.org/changeset/ports/402358

Log:
  - Switch to options helpers
  - Add NO_ARCH

Modified:
  head/www/templatelite/Makefile

Modified: head/www/templatelite/Makefile
==============================================================================
--- head/www/templatelite/Makefile	Tue Nov 24 12:22:02 2015	(r402357)
+++ head/www/templatelite/Makefile	Tue Nov 24 12:52:48 2015	(r402358)
@@ -14,6 +14,7 @@ LICENSE=	LGPL21 # pr later
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 NO_BUILD=	yes
+NO_ARCH=	yes
 USE_PHP=	pcre
 WANT_PHP_WEB=	yes
 WRKSRC=		${WRKDIR}/template_lite
@@ -21,14 +22,12 @@ SUB_FILES=	pkg-message
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 do-install:
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	@cd ${WRKSRC}/src && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
-.if ${PORT_OPTIONS:MDOCS}
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
-.endif
 
 .include <bsd.port.mk>



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