aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/jpgraph/Makefile
blob: 0b0b560f71e5173fbf94f47276802fadc36496c2 (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
# ex:ts=8
# Ports collection makefile for:    jpgraph
# Date created:         Oct 20, 2002
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   jpgraph
PORTVERSION=    1.20.5
PORTREVISION=   1
CATEGORIES= graphics
MASTER_SITES=   http://web.comhem.se/jpgraph/jpgdownloads/

MAINTAINER= ale@FreeBSD.org
COMMENT=    Draw both "quick and dirty" graphs with a minimum of code

NO_BUILD=   yes
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}
USE_PHP=    gd
DEFAULT_PHP_VER=4
IGNORE_WITH_PHP=5

NO_CDROM=   The free version cannot be used in a commercial context

PORTDOCS=   *

do-install:
    @${MKDIR} ${DATADIR}
    ${CP} ${WRKSRC}/src/*.php ${DATADIR}
    ${CP} ${WRKSRC}/src/*.inc ${DATADIR}
    ${CP} ${WRKSRC}/src/*.dat ${DATADIR}
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
    @${MKDIR} ${EXAMPLESDIR}
    ${CP} ${WRKSRC}/src/Examples/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>