aboutsummaryrefslogtreecommitdiffstats
path: root/www/flot/Makefile
blob: e8356a47c97b530cfcc987c0e84d9d5f28cbcb65 (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
40
41
42
43
44
45
46
# $FreeBSD$

PORTNAME=   flot
PORTVERSION=    0.7
CATEGORIES= www devel
MASTER_SITES=   GOOGLE_CODE

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

LICENSE=    MIT

WRKSRC= ${WRKDIR}/${PORTNAME}

USERS=  www
GROUPS= www

NO_BUILD=   YES

PORTDOCS=   API.txt \
        FAQ.txt \
        NEWS.txt \
        PLUGINS.txt \
        README.txt
PORTEXAMPLES=   *

do-install:
    @${INSTALL} -d -g ${USERS} -o ${GROUPS} ${WWWDIR}
    ${INSTALL_DATA} -o www -g www ${WRKSRC}/*.js ${WWWDIR}

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    @${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif

.if ${PORT_OPTIONS:MEXAMPLES}
    @${MKDIR} ${EXAMPLESDIR}
    cd ${WRKSRC}/examples && ${COPYTREE_SHARE} \* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>