freebsd-ports/graphics/jpgraph/Makefile
Alex Dupre c939cbc64d - Update to 1.14 release
- Take maintainership
- Use bsd.php.mk

Approved by:	nork (mentor/implicitly)
2004-01-29 09:41:37 +00:00

43 lines
1,013 B
Makefile

# ex:ts=8
# Ports collection makefile for: jpgraph
# Date created: Oct 20, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= jpgraph
PORTVERSION= 1.14
CATEGORIES= graphics
MASTER_SITES= http://www.aditus.nu/jpgraph/downloads/
MAINTAINER= ale@FreeBSD.org
COMMENT= Draw both "quick and dirty" graphs with a minimum of code
NO_BUILD= yes
WANT_PHP_WEB= yes
.include <bsd.port.pre.mk>
.include "${PORTSDIR}/lang/php4/bsd.php.mk"
pre-everything::
@${ECHO} ""
@${ECHO} "You have to configure PHP with GD support."
@${ECHO} ""
@${ECHO} "If you have already compiled PHP without GD,"
@${ECHO} "press CTRL+C now and rebuild it before installing jpgraph."
@${ECHO} ""
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} -R ${WRKSRC}/src/Examples/ ${EXAMPLESDIR}
.endif
.include <bsd.port.post.mk>