f865373354
- Convert to USES=tar:bzip2, new options framework
36 lines
879 B
Makefile
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>
|