aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-10-22 04:55:43 +0800
committerpav <pav@FreeBSD.org>2005-10-22 04:55:43 +0800
commita7461d5711f6f067845374c84d08cba05e4230ac (patch)
tree38e6460c9d7248866814a5fa1099b986d633446e
parent5ded99e441bb0196bd73cffc7c6dce894f498360 (diff)
downloadfreebsd-ports-graphics-a7461d5711f6f067845374c84d08cba05e4230ac.tar.gz
freebsd-ports-graphics-a7461d5711f6f067845374c84d08cba05e4230ac.tar.zst
freebsd-ports-graphics-a7461d5711f6f067845374c84d08cba05e4230ac.zip
A PHP PEAR package providing a common interface to image drawing, making image
source code independent on the library used. PR: ports/87785 Submitted by: Simun Mikecin <numisemis@yahoo.com>
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/pear-Image_Canvas/Makefile43
-rw-r--r--graphics/pear-Image_Canvas/distinfo2
-rw-r--r--graphics/pear-Image_Canvas/pkg-descr4
4 files changed, 50 insertions, 0 deletions
diff --git a/graphics/Makefile b/graphics/Makefile
index bdc0210e5d5..412805d3307 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -412,6 +412,7 @@
SUBDIR += panorama
SUBDIR += passepartout
SUBDIR += pear-Image_Barcode
+ SUBDIR += pear-Image_Canvas
SUBDIR += pear-Image_Color
SUBDIR += pear-Image_Graph
SUBDIR += pecl-imagick
diff --git a/graphics/pear-Image_Canvas/Makefile b/graphics/pear-Image_Canvas/Makefile
new file mode 100644
index 00000000000..528609252a1
--- /dev/null
+++ b/graphics/pear-Image_Canvas/Makefile
@@ -0,0 +1,43 @@
+# Ports collection makefile for: pear-Image_Canvas
+# Date created: 21 Oct 2005
+# Whom: Simun Mikecin <numisemis@yahoo.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Image_Canvas
+PORTVERSION= 0.2.2
+CATEGORIES= graphics www pear
+
+MAINTAINER= numisemis@yahoo.com
+COMMENT= An OO PEAR common interface to image drawing
+
+BUILD_DEPENDS= ${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear-PEAR
+RUN_DEPENDS= ${PEARDIR}/Image/Color.php:${PORTSDIR}/graphics/pear-Image_Color
+
+USE_PHP= gd
+USE_REINPLACE= yes
+
+CATEGORY= Image
+FILES= Canvas.php Canvas/Color.php Canvas/GD.php \
+ Canvas/ImageMap.php Canvas/PDF.php Canvas/SVG.php \
+ Canvas/Tool.php Canvas/WithMap.php Canvas/Fonts/fontmap.txt \
+ Canvas/Fonts/README Canvas/GD/JPG.php Canvas/GD/PNG.php
+
+TESTS= canvas_body.php gradients.php imagemap.php jpg.php \
+ lineends.php pdf.php pear-icon.png png.php README svg.php \
+ text.php
+
+DOCS= ChangeLog README examples/canvas.php examples/pear-icon.png
+
+LATEST_LINK= pear-Image_Canvas
+
+post-patch:
+.for file in ${FILES}
+ @${REINPLACE_CMD} -e "s|@package_version@|${DISTVERSION}|" ${WRKSRC}/${file}
+.endfor
+
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/pear-PEAR/Makefile.common"
+
+.include <bsd.port.post.mk>
diff --git a/graphics/pear-Image_Canvas/distinfo b/graphics/pear-Image_Canvas/distinfo
new file mode 100644
index 00000000000..27d50822743
--- /dev/null
+++ b/graphics/pear-Image_Canvas/distinfo
@@ -0,0 +1,2 @@
+MD5 (PEAR/Image_Canvas-0.2.2.tgz) = baeac10e1ecdcfb549c6ffe36ac59c93
+SIZE (PEAR/Image_Canvas-0.2.2.tgz) = 41715
diff --git a/graphics/pear-Image_Canvas/pkg-descr b/graphics/pear-Image_Canvas/pkg-descr
new file mode 100644
index 00000000000..e74639a1ee6
--- /dev/null
+++ b/graphics/pear-Image_Canvas/pkg-descr
@@ -0,0 +1,4 @@
+A PHP PEAR package providing a common interface to image drawing, making image
+source code independent on the library used.
+
+WWW: http://pear.php.net/package/Image_Canvas/