svn commit: r406319 - head/www/protovis

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sun Jan 17 13:08:31 UTC 2016


Author: sunpoet
Date: Sun Jan 17 13:08:29 2016
New Revision: 406319
URL: https://svnweb.freebsd.org/changeset/ports/406319

Log:
  - Add NO_ARCH
  - Add PORTSCOUT
  - Convert to new options target helper
  
  Sponsored by:	PortsCamp Taiwan

Modified:
  head/www/protovis/Makefile

Modified: head/www/protovis/Makefile
==============================================================================
--- head/www/protovis/Makefile	Sun Jan 17 13:08:25 2016	(r406318)
+++ head/www/protovis/Makefile	Sun Jan 17 13:08:29 2016	(r406319)
@@ -13,6 +13,9 @@ LICENSE=	BSD3CLAUSE
 
 OPTIONS_DEFINE=	EXAMPLES
 
+PORTSCOUT=	limit:^v[0-9\.]*$$
+
+NO_ARCH=	yes
 NO_BUILD=	yes
 
 PORTEXAMPLES=	*
@@ -21,8 +24,11 @@ GH_ACCOUNT=	mbostock
 USE_GITHUB=	yes
 
 do-install:
-	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/ ${STAGEDIR}${WWWDIR}/
+	${MKDIR} ${STAGEDIR}${WWWDIR}/
 	cd ${WRKSRC}/ && ${INSTALL_DATA} *.js ${STAGEDIR}${WWWDIR}/
+
+do-install-EXAMPLES-on:
+	${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
 	cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}/
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list