pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Update php-jpgraph to 1.16.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2f3d5abb6a16
branches:  trunk
changeset: 484515:2f3d5abb6a16
user:      jdolecek <jdolecek%pkgsrc.org@localhost>
date:      Sat Nov 27 22:34:19 2004 +0000

description:
Update php-jpgraph to 1.16.

Notable changes include splitting PlotBand and IconPlot to separate
files (requires update of all scripts using these objects), additional
error checking, and many bug fixes. Full list available at
        http://www.aditus.nu/jpgraph/Changelog

Reorganize package to use bsd.pkg.install.mk and CONF_FILES,
modelled similar to phpmyadmin package.

diffstat:

 doc/CHANGES                   |    3 +-
 graphics/php-jpgraph/DESCR    |   14 +-
 graphics/php-jpgraph/MESSAGE  |   16 +
 graphics/php-jpgraph/Makefile |   70 +-
 graphics/php-jpgraph/PLIST    |  920 ++++++++++++++++++++++++++++++++++++++++-
 graphics/php-jpgraph/distinfo |    6 +-
 6 files changed, 952 insertions(+), 77 deletions(-)

diffs (truncated from 1181 to 300 lines):

diff -r d5db491baf84 -r 2f3d5abb6a16 doc/CHANGES
--- a/doc/CHANGES       Sat Nov 27 22:01:45 2004 +0000
+++ b/doc/CHANGES       Sat Nov 27 22:34:19 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.8090 2004/11/27 22:01:45 jdolecek Exp $
+$NetBSD: CHANGES,v 1.8091 2004/11/27 22:34:19 jdolecek Exp $
 
 Changes to the packages collection and infrastructure in 2004:
 
@@ -5552,3 +5552,4 @@
        Removed slsk [hubertf 2004-11-27]
        Updated psi to 0.9.2 [jdolecek 2004-11-27]
        Removed psi-ssl [jdolecek 2004-11-27]
+       Updated php-jpgraph to 2.16 [jdolecek 2004-11-27]
diff -r d5db491baf84 -r 2f3d5abb6a16 graphics/php-jpgraph/DESCR
--- a/graphics/php-jpgraph/DESCR        Sat Nov 27 22:01:45 2004 +0000
+++ b/graphics/php-jpgraph/DESCR        Sat Nov 27 22:34:19 2004 +0000
@@ -1,8 +1,8 @@
-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.
+JpGraph is an OO class library for PHP 4.3.x and later. JpGraph
+makes it easy to draw both "quick and dirty" graphs with a minimum
+of code and complex professional looking graphs which require 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).
+JpGraph uses only GD, no other PHP extensions are necessary.
diff -r d5db491baf84 -r 2f3d5abb6a16 graphics/php-jpgraph/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/php-jpgraph/MESSAGE      Sat Nov 27 22:34:19 2004 +0000
@@ -0,0 +1,16 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2004/11/27 22:34:19 jdolecek Exp $
+
+Do *not* edit "${PJDIR}/jpg-config.inc" to customize
+this package because it is a link which will removed during upgrades.
+The actual configuration file is "${PJCONFFILE}".
+
+To make php-jpgraph available for PHP scripts, make sure to
+add following directory to php.ini 'include_path':
+
+       ${PJDIR}
+
+Usage examples are available in ${EXDIR}.
+
+===========================================================================
+
diff -r d5db491baf84 -r 2f3d5abb6a16 graphics/php-jpgraph/Makefile
--- a/graphics/php-jpgraph/Makefile     Sat Nov 27 22:01:45 2004 +0000
+++ b/graphics/php-jpgraph/Makefile     Sat Nov 27 22:34:19 2004 +0000
@@ -1,57 +1,55 @@
-# $NetBSD: Makefile,v 1.3 2004/10/31 23:47:32 jdolecek Exp $
+# $NetBSD: Makefile,v 1.4 2004/11/27 22:34:19 jdolecek Exp $
 
-DISTNAME=      jpgraph-1.13
+DISTNAME=      jpgraph-1.16
 PKGNAME=       php-${DISTNAME}
 CATEGORIES=    graphics www
 MASTER_SITES=  http://www.aditus.nu/jpgraph/downloads/
 
-MAINTAINER=    adrianp%stindustries.net@localhost
+MAINTAINER=    jdolecek%NetBSD.org@localhost
 HOMEPAGE=      http://www.aditus.nu/jpgraph/index.php
 COMMENT=       Object Oriented class library for PHP
 
 DEPENDS+=      php-gd>=4.3.0:../../graphics/php-gd
 
+NO_CONFIGURE=  YES
 NO_BUILD=      YES
 NO_BUILDLINK=  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
+EXDIR=         ${PREFIX}/share/examples/php-jpgraph
+PJDIR=         ${PREFIX}/share/php-jpgraph
+PJCONFFILE=    ${PKG_SYSCONFDIR}/jpg-config.inc
+CONF_FILES=     ${EXDIR}/jpg-config.inc ${PKG_SYSCONFDIR}/jpg-config.inc
+
+USE_PKGINSTALL=         YES
+PKG_SYSCONFSUBDIR?=     php-jpgraph
 
-       ${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
+MESSAGE_SUBST+=        PJCONFFILE=${PJCONFFILE} PJDIR=${PJDIR} EXDIR=${EXDIR}
 
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/php-jpgraph
-       ${INSTALL_DATA} ${WRKSRC}/src/Changelog ${PREFIX}/share/doc/php-jpgraph
+do-install:
+       ${INSTALL_DATA_DIR} ${EXDIR}
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/php-jpgraph
+       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/php-jpgraph
+       ${INSTALL_DATA_DIR} ${PJDIR}
 
-       ${INSTALL_SCRIPT} ${WRKSRC}/src/*.php ${PREFIX}/share/php-jpgraph
-       ${INSTALL_DATA} ${WRKSRC}/src/*.inc ${PREFIX}/share/php-jpgraph
+       ${INSTALL_SCRIPT} ${WRKSRC}/src/Examples/*.php ${EXDIR}
+       ${INSTALL_DATA} ${WRKSRC}/src/Examples/*.png ${EXDIR}
+       ${INSTALL_DATA} ${WRKSRC}/src/Examples/*.gif ${EXDIR}
+       ${INSTALL_DATA} ${WRKSRC}/src/Examples/*.jpg ${EXDIR}
 
-       ${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
+       ${RM} -f ${PJDIR}/jpg-config.inc
+
+       ${INSTALL_SCRIPT} ${WRKSRC}/src/*.php ${PJDIR}
+       ${INSTALL_DATA} ${WRKSRC}/src/*.inc ${PJDIR}
+       ${INSTALL_DATA} ${WRKSRC}/src/*.dat ${PJDIR}
 
-       ${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
+       ${MV} -f ${PJDIR}/jpg-config.inc ${EXDIR}
+       ${LN} -sf ${PJCONFFILE} ${PJDIR}/jpg-config.inc
 
-       ${INSTALL_DATA} ${WRKSRC}/QPL.txt ${PREFIX}/share/doc/php-jpgraph
-       cd ${WRKSRC}/docs && ${PAX} -rw . ${PREFIX}/share/doc/php-jpgraph
+       for f in README QPL.txt IMPORTANT_DO_README; do \
+               ${INSTALL_DATA} ${WRKSRC}/$$f \
+                       ${PREFIX}/share/doc/php-jpgraph; \
+       done
+       cd ${WRKSRC}/docs && ${PAX} -rw . ${PREFIX}/share/doc/html/php-jpgraph
 
+.include "../../mk/bsd.pkg.install.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r d5db491baf84 -r 2f3d5abb6a16 graphics/php-jpgraph/PLIST
--- a/graphics/php-jpgraph/PLIST        Sat Nov 27 22:01:45 2004 +0000
+++ b/graphics/php-jpgraph/PLIST        Sat Nov 27 22:34:19 2004 +0000
@@ -1,5 +1,864 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/22 12:40:17 xtraeme Exp $
-share/doc/php-jpgraph/Changelog
+@comment $NetBSD: PLIST,v 1.2 2004/11/27 22:34:19 jdolecek Exp $
+share/doc/html/php-jpgraph/JpGraph_Logo.png
+share/doc/html/php-jpgraph/html/0aboutmanual.html
+share/doc/html/php-jpgraph/html/1introduction.html
+share/doc/html/php-jpgraph/html/2210intro.html
+share/doc/html/php-jpgraph/html/2220fonts.html
+share/doc/html/php-jpgraph/html/2230colors.html
+share/doc/html/php-jpgraph/html/2240cache.html
+share/doc/html/php-jpgraph/html/22working.html
+share/doc/html/php-jpgraph/html/2installation.html
+share/doc/html/php-jpgraph/html/3010intro.html
+share/doc/html/php-jpgraph/html/3020lineplot.html
+share/doc/html/php-jpgraph/html/3030barplot.html
+share/doc/html/php-jpgraph/html/3040errorplot.html
+share/doc/html/php-jpgraph/html/3050scatterplot.html
+share/doc/html/php-jpgraph/html/3055stockplot.html
+share/doc/html/php-jpgraph/html/3060combplots.html
+share/doc/html/php-jpgraph/html/3070adjscalelabels.html
+share/doc/html/php-jpgraph/html/3080graphaug.html
+share/doc/html/php-jpgraph/html/3090axisform.html
+share/doc/html/php-jpgraph/html/3095bands.html
+share/doc/html/php-jpgraph/html/3xyplots.html
+share/doc/html/php-jpgraph/html/4010radarplot.html
+share/doc/html/php-jpgraph/html/4020pieplot.html
+share/doc/html/php-jpgraph/html/4nonxy.html
+share/doc/html/php-jpgraph/html/5gantt.html
+share/doc/html/php-jpgraph/html/6csimdoc.html
+share/doc/html/php-jpgraph/html/7adv.html
+share/doc/html/php-jpgraph/html/8canvas.html
+share/doc/html/php-jpgraph/html/A00utilities.html
+share/doc/html/php-jpgraph/html/A01codedef.html
+share/doc/html/php-jpgraph/html/exframes/alphabarex1.html
+share/doc/html/php-jpgraph/html/exframes/backgroundex03.html
+share/doc/html/php-jpgraph/html/exframes/balloonex1.html
+share/doc/html/php-jpgraph/html/exframes/bargradsmallex1.html
+share/doc/html/php-jpgraph/html/exframes/bargradsmallex2.html
+share/doc/html/php-jpgraph/html/exframes/bargradsmallex3.html
+share/doc/html/php-jpgraph/html/exframes/bargradsmallex4.html
+share/doc/html/php-jpgraph/html/exframes/bargradsmallex5.html
+share/doc/html/php-jpgraph/html/exframes/bargradsmallex6.html
+share/doc/html/php-jpgraph/html/exframes/bargradsmallex7.html
+share/doc/html/php-jpgraph/html/exframes/bartutex1.html
+share/doc/html/php-jpgraph/html/exframes/bartutex2.html
+share/doc/html/php-jpgraph/html/exframes/bartutex3.html
+share/doc/html/php-jpgraph/html/exframes/bartutex4.html
+share/doc/html/php-jpgraph/html/exframes/bartutex5.html
+share/doc/html/php-jpgraph/html/exframes/bartutex6.html
+share/doc/html/php-jpgraph/html/exframes/boxstockex1.html
+share/doc/html/php-jpgraph/html/exframes/builtinplotmarksex1.html
+share/doc/html/php-jpgraph/html/exframes/canvas_jpgarchex.html
+share/doc/html/php-jpgraph/html/exframes/canvasex01.html
+share/doc/html/php-jpgraph/html/exframes/canvasex02.html
+share/doc/html/php-jpgraph/html/exframes/canvasex03.html
+share/doc/html/php-jpgraph/html/exframes/canvasex04.html
+share/doc/html/php-jpgraph/html/exframes/canvasex05.html
+share/doc/html/php-jpgraph/html/exframes/canvasex06.html
+share/doc/html/php-jpgraph/html/exframes/color_chart01.html
+share/doc/html/php-jpgraph/html/exframes/color_chart02.html
+share/doc/html/php-jpgraph/html/exframes/color_chart03.html
+share/doc/html/php-jpgraph/html/exframes/color_chart04.html
+share/doc/html/php-jpgraph/html/exframes/dateaxisex1.html
+share/doc/html/php-jpgraph/html/exframes/dbschemaex1.html
+share/doc/html/php-jpgraph/html/exframes/example0.html
+share/doc/html/php-jpgraph/html/exframes/example11.html
+share/doc/html/php-jpgraph/html/exframes/example13.html
+share/doc/html/php-jpgraph/html/exframes/example14.html
+share/doc/html/php-jpgraph/html/exframes/example15.html
+share/doc/html/php-jpgraph/html/exframes/example16.1.html
+share/doc/html/php-jpgraph/html/exframes/example16.2.html
+share/doc/html/php-jpgraph/html/exframes/example16.3.html
+share/doc/html/php-jpgraph/html/exframes/example16.4.html
+share/doc/html/php-jpgraph/html/exframes/example16.6.html
+share/doc/html/php-jpgraph/html/exframes/example16.html
+share/doc/html/php-jpgraph/html/exframes/example17.html
+share/doc/html/php-jpgraph/html/exframes/example18.html
+share/doc/html/php-jpgraph/html/exframes/example19.1.html
+share/doc/html/php-jpgraph/html/exframes/example19.html
+share/doc/html/php-jpgraph/html/exframes/example2.html
+share/doc/html/php-jpgraph/html/exframes/example20.1.html
+share/doc/html/php-jpgraph/html/exframes/example20.2.html
+share/doc/html/php-jpgraph/html/exframes/example20.3.html
+share/doc/html/php-jpgraph/html/exframes/example20.4.html
+share/doc/html/php-jpgraph/html/exframes/example20.5.html
+share/doc/html/php-jpgraph/html/exframes/example20.html
+share/doc/html/php-jpgraph/html/exframes/example21.html
+share/doc/html/php-jpgraph/html/exframes/example22.html
+share/doc/html/php-jpgraph/html/exframes/example23.html
+share/doc/html/php-jpgraph/html/exframes/example24.html
+share/doc/html/php-jpgraph/html/exframes/example25.1.html
+share/doc/html/php-jpgraph/html/exframes/example25.2.html
+share/doc/html/php-jpgraph/html/exframes/example25.html
+share/doc/html/php-jpgraph/html/exframes/example26.1.html
+share/doc/html/php-jpgraph/html/exframes/example26.html
+share/doc/html/php-jpgraph/html/exframes/example27.1.html
+share/doc/html/php-jpgraph/html/exframes/example27.2.html
+share/doc/html/php-jpgraph/html/exframes/example27.3.html
+share/doc/html/php-jpgraph/html/exframes/example27.html
+share/doc/html/php-jpgraph/html/exframes/example28.1.html
+share/doc/html/php-jpgraph/html/exframes/example28.2.html
+share/doc/html/php-jpgraph/html/exframes/example28.3.html
+share/doc/html/php-jpgraph/html/exframes/example28.html
+share/doc/html/php-jpgraph/html/exframes/example3.1.html
+share/doc/html/php-jpgraph/html/exframes/example3.2.1.html
+share/doc/html/php-jpgraph/html/exframes/example3.2.2.html
+share/doc/html/php-jpgraph/html/exframes/example3.2.html
+share/doc/html/php-jpgraph/html/exframes/example3.3.html
+share/doc/html/php-jpgraph/html/exframes/example3.4.html
+share/doc/html/php-jpgraph/html/exframes/example3.html
+share/doc/html/php-jpgraph/html/exframes/example4.html
+share/doc/html/php-jpgraph/html/exframes/example5.1.html
+share/doc/html/php-jpgraph/html/exframes/example5.html
+share/doc/html/php-jpgraph/html/exframes/example6.1.html
+share/doc/html/php-jpgraph/html/exframes/example6.2.html
+share/doc/html/php-jpgraph/html/exframes/example6.html
+share/doc/html/php-jpgraph/html/exframes/example7.html
+share/doc/html/php-jpgraph/html/exframes/example8.html
+share/doc/html/php-jpgraph/html/exframes/example9.1.html
+share/doc/html/php-jpgraph/html/exframes/example9.2.html
+share/doc/html/php-jpgraph/html/exframes/example9.html
+share/doc/html/php-jpgraph/html/exframes/fieldscatterex1.html
+share/doc/html/php-jpgraph/html/exframes/filledgridex1.html
+share/doc/html/php-jpgraph/html/exframes/filledlineex01.1.html
+share/doc/html/php-jpgraph/html/exframes/filledlineex01.html
+share/doc/html/php-jpgraph/html/exframes/frame_alphabarex1.html
+share/doc/html/php-jpgraph/html/exframes/frame_backgroundex03.html
+share/doc/html/php-jpgraph/html/exframes/frame_balloonex1.html
+share/doc/html/php-jpgraph/html/exframes/frame_bargradsmallex1.html
+share/doc/html/php-jpgraph/html/exframes/frame_bargradsmallex2.html
+share/doc/html/php-jpgraph/html/exframes/frame_bargradsmallex3.html
+share/doc/html/php-jpgraph/html/exframes/frame_bargradsmallex4.html
+share/doc/html/php-jpgraph/html/exframes/frame_bargradsmallex5.html
+share/doc/html/php-jpgraph/html/exframes/frame_bargradsmallex6.html
+share/doc/html/php-jpgraph/html/exframes/frame_bargradsmallex7.html
+share/doc/html/php-jpgraph/html/exframes/frame_bartutex1.html
+share/doc/html/php-jpgraph/html/exframes/frame_bartutex2.html
+share/doc/html/php-jpgraph/html/exframes/frame_bartutex3.html
+share/doc/html/php-jpgraph/html/exframes/frame_bartutex4.html
+share/doc/html/php-jpgraph/html/exframes/frame_bartutex5.html
+share/doc/html/php-jpgraph/html/exframes/frame_bartutex6.html
+share/doc/html/php-jpgraph/html/exframes/frame_boxstockex1.html
+share/doc/html/php-jpgraph/html/exframes/frame_builtinplotmarksex1.html
+share/doc/html/php-jpgraph/html/exframes/frame_canvas_jpgarchex.html
+share/doc/html/php-jpgraph/html/exframes/frame_canvasex01.html
+share/doc/html/php-jpgraph/html/exframes/frame_canvasex02.html
+share/doc/html/php-jpgraph/html/exframes/frame_canvasex03.html
+share/doc/html/php-jpgraph/html/exframes/frame_canvasex04.html



Home | Main Index | Thread Index | Old Index