aboutsummaryrefslogtreecommitdiffstats
path: root/www/flot/Makefile
blob: 0900477df67747372ff3507cc0ba2e0e1de95267 (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
35
36
37
38
39
# $FreeBSD$

PORTNAME=   flot
PORTVERSION=    0.8.2
CATEGORIES= www devel
MASTER_SITES=   http://www.flotcharts.org/downloads/

MAINTAINER= ports@FreeBSD.org
COMMENT=    JavaScript plotting library for jQuery

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE.txt

NO_BUILD=   yes

WRKSRC=     ${WRKDIR}/${PORTNAME}

USES=       zip

USERS=  www
GROUPS= www

PORTDOCS=   *
PORTEXAMPLES=   *

OPTIONS_DEFINE= DOCS EXAMPLES

do-install:
    @${MKDIR} ${STAGEDIR}${WWWDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} *.js \
        ${STAGEDIR}${WWWDIR})
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    (cd ${WRKSRC} && ${INSTALL_DATA} *.md \
        ${STAGEDIR}${DOCSDIR})
    @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
    @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} "*" \
        ${STAGEDIR}${EXAMPLESDIR})

.include <bsd.port.mk>