2002-10-20 18:53:40 +02:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: jpgraph
|
|
|
|
# Date created: Oct 20, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= jpgraph
|
2006-06-08 10:35:30 +02:00
|
|
|
PORTVERSION= 1.20.4a
|
2002-10-20 18:53:40 +02:00
|
|
|
CATEGORIES= graphics
|
2005-03-04 15:43:01 +01:00
|
|
|
MASTER_SITES= http://members.chello.se/jpgraph/jpgdownloads/
|
2002-10-20 18:53:40 +02:00
|
|
|
|
2004-01-29 10:41:37 +01:00
|
|
|
MAINTAINER= ale@FreeBSD.org
|
2003-02-20 19:08:19 +01:00
|
|
|
COMMENT= Draw both "quick and dirty" graphs with a minimum of code
|
2002-10-20 18:53:40 +02:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
2006-06-08 10:35:30 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/a//}
|
2004-07-19 14:57:53 +02:00
|
|
|
USE_PHP= gd
|
2006-06-08 10:35:30 +02:00
|
|
|
DEFAULT_PHP_VER=4
|
2006-01-23 08:23:23 +01:00
|
|
|
BROKEN_WITH_PHP=5
|
2002-10-20 18:53:40 +02:00
|
|
|
|
2006-01-23 08:23:23 +01:00
|
|
|
NO_CDROM= The free version cannot be used in a commercial context
|
2002-10-20 18:53:40 +02:00
|
|
|
|
2005-03-04 15:43:01 +01:00
|
|
|
PORTDOCS= *
|
2004-08-25 12:21:22 +02:00
|
|
|
|
2002-10-20 18:53:40 +02:00
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${DATADIR}
|
2003-04-07 18:19:16 +02:00
|
|
|
${CP} ${WRKSRC}/src/*.php ${DATADIR}
|
|
|
|
${CP} ${WRKSRC}/src/*.inc ${DATADIR}
|
2004-01-29 10:41:37 +01:00
|
|
|
${CP} ${WRKSRC}/src/*.dat ${DATADIR}
|
2002-10-20 18:53:40 +02:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-04-07 18:19:16 +02:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2006-01-23 08:23:23 +01:00
|
|
|
${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
|
2002-10-20 18:53:40 +02:00
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
2004-08-25 12:21:22 +02:00
|
|
|
${CP} ${WRKSRC}/src/Examples/* ${EXAMPLESDIR}
|
2002-10-20 18:53:40 +02:00
|
|
|
.endif
|
|
|
|
|
2004-02-09 12:43:38 +01:00
|
|
|
.include <bsd.port.mk>
|