summaryrefslogtreecommitdiff
path: root/www/protovis/Makefile
blob: 0f7d7ee57639b921e9e92e425059cd788c6c35ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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>