summaryrefslogblamecommitdiff
path: root/www/protovis/Makefile
blob: 0f7d7ee57639b921e9e92e425059cd788c6c35ed (plain) (tree)






























                                                                                  
# New ports collection makefile for:	protovis
# Date created:		2011-04-27
# Whom:			Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	protovis
PORTVERSION=	3.2
CATEGORIES=	www
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	sunpoet@FreeBSD.org
COMMENT=	A JavaScript graphical toolkit for data visualization

NO_BUILD=	yes
USE_ZIP=	yes

PROJECTHOST=	${PORTNAME}-js

do-install:
	${MKDIR} ${DOCSDIR}/ ${EXAMPLESDOR}/ ${WWWDIR}/
.if !defined(NOPORTDOCS)
	cd ${WRKSRC}/jsdoc/ && ${COPYTREE_SHARE} '*' ${DOCSDIR}/
.endif
.if !defined(NOPORTEXAMPLES)
	cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} '*' ${EXAMPLESDIR}/
.endif
	cd ${WRKSRC}/ && ${INSTALL_DATA} -o ${WWWOWN} -g ${WWWGRP} *.js ${WWWDIR}/

.include <bsd.port.mk>