freebsd-ports/graphics/jpgraph2/Makefile
Pawel Pekala f865373354 - Add staging support
- Convert to USES=tar:bzip2, new options framework
2014-04-27 19:40:51 +00:00

36 lines
879 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/
PKGNAMESUFFIX= 2
MAINTAINER= ports@FreeBSD.org
COMMENT= Draw both "quick and dirty" graphs with a minimum of code
USES= tar:bzip2
NO_BUILD= yes
NO_WRKSUBDIR= yes
USE_PHP= gd
NO_CDROM= The free version cannot be used in a commercial context
PORTDATA= *
PORTDOCS= *
PORTEXAMPLES= *
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}
${CP} ${WRKSRC}/src/*.php ${STAGEDIR}${DATADIR}
${CP} ${WRKSRC}/src/*.dat ${STAGEDIR}${DATADIR}
${CP} -R ${WRKSRC}/src/lang ${STAGEDIR}${DATADIR}
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${CP} -R ${WRKSRC}/docportal/* ${STAGEDIR}${DOCSDIR}
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${CP} ${WRKSRC}/src/Examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>