1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/graphics/jpgraph2/Makefile
2014-03-31 14:30:01 +00:00

41 lines
846 B
Makefile

# Created by: Alex Dupre <ale@FreeBSD.org:
# $FreeBSD$
PORTNAME= jpgraph
PORTVERSION= 3.0.7
CATEGORIES= graphics
MASTER_SITES= http://hem.bredband.net/jpgraph2/
MAINTAINER= ports@FreeBSD.org
COMMENT= Draw both "quick and dirty" graphs with a minimum of code
USE_BZIP2= yes
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_PHP= gd
NO_STAGE= yes
NO_CDROM= The free version cannot be used in a commercial context
PORTDATA= *
PORTDOCS= *
PORTEXAMPLES= *
LATEST_LINK= jpgraph2
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}/docportal/* ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
${CP} ${WRKSRC}/src/Examples/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>