aboutsummaryrefslogtreecommitdiffstats
path: root/www/protovis/Makefile
blob: bc4bd134f8113ce74bde777ccb1f9a6d54fea138 (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
32
33
34
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$

PORTNAME=   protovis
PORTVERSION=    3.3.1
DISTVERSIONPREFIX=  v
CATEGORIES= www

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

LICENSE=    BSD3CLAUSE

OPTIONS_DEFINE= EXAMPLES

PORTSCOUT=  limit:^v[0-9\.]*$$

NO_ARCH=    yes
NO_BUILD=   yes

PORTEXAMPLES=   *

GH_ACCOUNT= mbostock
USE_GITHUB= yes

do-install:
    ${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>