freebsd-ports/graphics/jpgraph2/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

40 lines
893 B
Makefile

# Ports collection makefile for: jpgraph2
# Date created: 7 Dec 2006
# Whom: Alex Dupre <ale@FreeBSD.org:
#
# $FreeBSD$
#
PORTNAME= jpgraph
PORTVERSION= 2.1.4
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
IGNORE_WITH_PHP=4
NO_CDROM= The free version cannot be used in a commercial context
PORTDOCS= *
LATEST_LINK= jpgraph2
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>