1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/graphics/jpgraph/Makefile
2009-09-23 06:02:51 +00:00

47 lines
944 B
Makefile

# ex:ts=8
# Ports collection makefile for: jpgraph
# Date created: Oct 20, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= jpgraph
PORTVERSION= 1.27.1
CATEGORIES= graphics
MASTER_SITES= http://hem.bredband.net/jpgraph/
MAINTAINER= ale@FreeBSD.org
COMMENT= Draw both "quick and dirty" graphs with a minimum of code
NO_BUILD= yes
USE_PHP= gd
DEFAULT_PHP_VER=4
IGNORE_WITH_PHP=5
NO_CDROM= The free version cannot be used in a commercial context
PORTDATA= *
PORTDOCS= *
PORTEXAMPLES= *
.if defined(NOPORTDATA)
IGNORE= requires port data, unset NOPORTDATA
.endif
do-install:
@${MKDIR} ${DATADIR}
${CP} ${WRKSRC}/src/*.php ${DATADIR}
${CP} ${WRKSRC}/src/*.dat ${DATADIR}
${CP} -R ${WRKSRC}/src/lang ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/docs/* ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${CP} ${WRKSRC}/src/Examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>