pkgsrc/graphics/php-jpgraph/Makefile
xtraeme abe763a411 Initial import of php-jpgraph 1.13, packaged by Adrian Portelli via
pkgsrc-wip.

JpGraph is an OO class library for PHP (ver >=4.04) JpGraph makes it easy to
draw both "quick and dirty" graphs with a minimum of code and complex
professional looking graphs which requires a very fine grain of control. The
library assigns context sensitive default values for most parameters which
helps minimize the learning curve.

The only requirement is that the PHP installation needs to have the GD
library setup correctly (most PHP installations do).
2004-01-22 12:40:14 +00:00

56 lines
2.1 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2004/01/22 12:40:14 xtraeme Exp $
DISTNAME= jpgraph-1.13
PKGNAME= php-${DISTNAME}
CATEGORIES= graphics www
MASTER_SITES= http://www.aditus.nu/jpgraph/downloads/
MAINTAINER= adrianp@stindustries.net
HOMEPAGE= http://www.aditus.nu/jpgraph/index.php
COMMENT= Object Oriented class library for PHP
DEPENDS+= php-gd>=4.3.0:../../graphics/php4-gd
NO_BUILD= YES
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/php-jpgraph
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/php-jpgraph
${INSTALL_DATA_DIR} ${PREFIX}/share/php-jpgraph
${INSTALL_DATA_DIR} ${PREFIX}/share/php-jpgraph/utils
${INSTALL_DATA_DIR} ${PREFIX}/share/php-jpgraph/utils/misc
${INSTALL_DATA_DIR} ${PREFIX}/share/php-jpgraph/utils/jpdocgen
${INSTALL_SCRIPT} ${WRKSRC}/src/Examples/*.php \
${PREFIX}/share/examples/php-jpgraph
${INSTALL_DATA} ${WRKSRC}/src/Examples/*.png \
${PREFIX}/share/examples/php-jpgraph
${INSTALL_DATA} ${WRKSRC}/src/Examples/*.gif \
${PREFIX}/share/examples/php-jpgraph
${INSTALL_DATA} ${WRKSRC}/src/Examples/*.jpg \
${PREFIX}/share/examples/php-jpgraph
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/php-jpgraph
${INSTALL_DATA} ${WRKSRC}/src/Changelog ${PREFIX}/share/doc/php-jpgraph
${INSTALL_SCRIPT} ${WRKSRC}/src/*.php ${PREFIX}/share/php-jpgraph
${INSTALL_DATA} ${WRKSRC}/src/*.inc ${PREFIX}/share/php-jpgraph
${INSTALL_DATA} ${WRKSRC}/src/utils/Readme \
${PREFIX}/share/php-jpgraph/utils
${INSTALL_SCRIPT} ${WRKSRC}/src/utils/misc/*.php \
${PREFIX}/share/php-jpgraph/utils/misc
${INSTALL_DATA} ${WRKSRC}/src/utils/misc/*.inc \
${PREFIX}/share/php-jpgraph/utils/misc
${INSTALL_DATA} ${WRKSRC}/src/utils/jpdocgen/README \
${PREFIX}/share/php-jpgraph/utils/jpdocgen
${INSTALL_SCRIPT} ${WRKSRC}/src/utils/jpdocgen/*.php \
${PREFIX}/share/php-jpgraph/utils/jpdocgen
${INSTALL_DATA} ${WRKSRC}/src/utils/jpdocgen/*.css \
${PREFIX}/share/php-jpgraph/utils/jpdocgen
${INSTALL_DATA} ${WRKSRC}/QPL.txt ${PREFIX}/share/doc/php-jpgraph
cd ${WRKSRC}/docs && ${PAX} -rw . ${PREFIX}/share/doc/php-jpgraph
.include "../../mk/bsd.pkg.mk"