summaryrefslogtreecommitdiff
path: root/graphics/piddle
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-04-06 09:06:21 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-04-06 09:06:21 +0000
commit3a0e552ef8dfddc82b030ba5c6f68e2144980970 (patch)
treee8a218623223c9efe65118c848cda1ec174cfde2 /graphics/piddle
parentupdate to 200000403 release (diff)
Import piddle, a 2D drawing library for python.
PR: 17071 Submitted by: Dominic Mitchell <Dom.Mitchell@palmerharvey.co.uk>
Notes
Notes: svn path=/head/; revision=27368
Diffstat (limited to 'graphics/piddle')
-rw-r--r--graphics/piddle/Makefile47
-rw-r--r--graphics/piddle/distinfo1
-rw-r--r--graphics/piddle/pkg-comment1
-rw-r--r--graphics/piddle/pkg-descr14
-rw-r--r--graphics/piddle/pkg-plist130
5 files changed, 193 insertions, 0 deletions
diff --git a/graphics/piddle/Makefile b/graphics/piddle/Makefile
new file mode 100644
index 000000000000..886960d86d7b
--- /dev/null
+++ b/graphics/piddle/Makefile
@@ -0,0 +1,47 @@
+# Ports collection makefile for: piddle
+# Version required: 1.0b1
+# Date created: 29 Feb 2000
+# Whom: dom@myrddin.demon.co.uk
+#
+# $FreeBSD$
+#
+
+DISTNAME= piddle-1.0b1-5
+PKGNAME= piddle-1.0b1
+CATEGORIES= graphics python
+MASTER_SITES= http://download.sourceforge.net/piddle/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= dom@myrddin.demon.co.uk
+
+RUN_DEPENDS= python:${PORTSDIR}/lang/python
+
+WRKSRC= ${WRKDIR}/${PKGNAME}
+NO_BUILD= yes
+
+PYTHON?= ${LOCALBASE}/bin/python
+PYTHONLIBDIR?= ${LOCALBASE}/lib/python1.5
+PIDDLEDIR= ${PYTHONLIBDIR}/site-packages/piddle
+PIDDLEDOCDIR= ${PREFIX}/share/doc/piddle
+PIDDLEEGDIR= ${PREFIX}/share/examples/piddle
+
+post-extract:
+ @${ECHO} "===> Removing DOS line endings."
+.for file in pdfdoc.py pdfgen.py pdfgeom.py pdfmetrics.py pdfutils.py piddlePDF.py
+ @${TR} -d '\r' < ${WRKSRC}/${file} > ${WRKSRC}/${file}.new
+ @${MV} ${WRKSRC}/${file}.new ${WRKSRC}/${file}
+.endfor
+
+do-install:
+ ${MKDIR} ${PIDDLEDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.py ${PIDDLEDIR}
+ ${ECHO} 'piddle' > ${PIDDLEDIR}.pth
+ @${PYTHON} ${PYTHONLIBDIR}/compileall.py ${PIDDLEDIR}
+ @${PYTHON} -O ${PYTHONLIBDIR}/compileall.py ${PIDDLEDIR}
+ ${MKDIR} ${PIDDLEDOCDIR}
+ (cd ${WRKSRC}/docs ; tar cf - *) | \
+ (cd ${PIDDLEDOCDIR} ; tar xf -)
+ ${MKDIR} ${PIDDLEEGDIR}
+ ${INSTALL_DATA} ${WRKSRC}/examples/* ${PIDDLEEGDIR}
+
+.include <bsd.port.mk>
diff --git a/graphics/piddle/distinfo b/graphics/piddle/distinfo
new file mode 100644
index 000000000000..0219b526dc96
--- /dev/null
+++ b/graphics/piddle/distinfo
@@ -0,0 +1 @@
+MD5 (piddle-1.0b1-5.tgz) = 011b4b33d8d2c67da3ca6587523738a0
diff --git a/graphics/piddle/pkg-comment b/graphics/piddle/pkg-comment
new file mode 100644
index 000000000000..453fa7c2b139
--- /dev/null
+++ b/graphics/piddle/pkg-comment
@@ -0,0 +1 @@
+Graphical Drawing library for Python
diff --git a/graphics/piddle/pkg-descr b/graphics/piddle/pkg-descr
new file mode 100644
index 000000000000..b8b34c670bc0
--- /dev/null
+++ b/graphics/piddle/pkg-descr
@@ -0,0 +1,14 @@
+PIDDLE - Plug-In Drawing, Does Little Else
+------------------------------------------
+
+PIDDLE is a Python module for creating two-dimensional graphics in a
+manner that is both cross-platform and cross-media; that is, it can
+support screen graphics (e.g. QuickDraw, Windows, Tk) as well as file
+output (PostScript, PDF, GIF, etc.). It makes use of the native 2D
+drawing calls of each backend, for maximum efficiency and quality. It
+works by defining a base class (piddle.Canvas) with methods for all
+supported drawing primitives. A particular drawing context is provided
+in the form of a derived class. PIDDLE applications will be able to
+automatically select an appropriate backend for the user's environment.
+
+WWW: http://piddle.sourceforge.net/
diff --git a/graphics/piddle/pkg-plist b/graphics/piddle/pkg-plist
new file mode 100644
index 000000000000..2b4d230a0ee5
--- /dev/null
+++ b/graphics/piddle/pkg-plist
@@ -0,0 +1,130 @@
+lib/python1.5/site-packages/piddle.pth
+lib/python1.5/site-packages/piddle/PixMapWrapper.py
+lib/python1.5/site-packages/piddle/PixMapWrapper.pyc
+lib/python1.5/site-packages/piddle/PixMapWrapper.pyo
+lib/python1.5/site-packages/piddle/aigen.py
+lib/python1.5/site-packages/piddle/aigen.pyc
+lib/python1.5/site-packages/piddle/aigen.pyo
+lib/python1.5/site-packages/piddle/discipline.py
+lib/python1.5/site-packages/piddle/discipline.pyc
+lib/python1.5/site-packages/piddle/discipline.pyo
+lib/python1.5/site-packages/piddle/pagesizes.py
+lib/python1.5/site-packages/piddle/pagesizes.pyc
+lib/python1.5/site-packages/piddle/pagesizes.pyo
+lib/python1.5/site-packages/piddle/pdfdoc.py
+lib/python1.5/site-packages/piddle/pdfdoc.pyc
+lib/python1.5/site-packages/piddle/pdfdoc.pyo
+lib/python1.5/site-packages/piddle/pdfgen.py
+lib/python1.5/site-packages/piddle/pdfgen.pyc
+lib/python1.5/site-packages/piddle/pdfgen.pyo
+lib/python1.5/site-packages/piddle/pdfgeom.py
+lib/python1.5/site-packages/piddle/pdfgeom.pyc
+lib/python1.5/site-packages/piddle/pdfgeom.pyo
+lib/python1.5/site-packages/piddle/pdfmetrics.py
+lib/python1.5/site-packages/piddle/pdfmetrics.pyc
+lib/python1.5/site-packages/piddle/pdfmetrics.pyo
+lib/python1.5/site-packages/piddle/pdfutils.py
+lib/python1.5/site-packages/piddle/pdfutils.pyc
+lib/python1.5/site-packages/piddle/pdfutils.pyo
+lib/python1.5/site-packages/piddle/piddle.py
+lib/python1.5/site-packages/piddle/piddle.pyc
+lib/python1.5/site-packages/piddle/piddle.pyo
+lib/python1.5/site-packages/piddle/piddleAI.py
+lib/python1.5/site-packages/piddle/piddleAI.pyc
+lib/python1.5/site-packages/piddle/piddleAI.pyo
+lib/python1.5/site-packages/piddle/piddleGL.py
+lib/python1.5/site-packages/piddle/piddleGL.pyc
+lib/python1.5/site-packages/piddle/piddleGL.pyo
+lib/python1.5/site-packages/piddle/piddlePDF.py
+lib/python1.5/site-packages/piddle/piddlePDF.pyc
+lib/python1.5/site-packages/piddle/piddlePDF.pyo
+lib/python1.5/site-packages/piddle/piddlePIL.py
+lib/python1.5/site-packages/piddle/piddlePIL.pyc
+lib/python1.5/site-packages/piddle/piddlePIL.pyo
+lib/python1.5/site-packages/piddle/piddlePS.py
+lib/python1.5/site-packages/piddle/piddlePS.pyc
+lib/python1.5/site-packages/piddle/piddlePS.pyo
+lib/python1.5/site-packages/piddle/piddleQD.py
+lib/python1.5/site-packages/piddle/piddleQD.pyc
+lib/python1.5/site-packages/piddle/piddleQD.pyo
+lib/python1.5/site-packages/piddle/piddleTK.py
+lib/python1.5/site-packages/piddle/piddleTK.pyc
+lib/python1.5/site-packages/piddle/piddleTK.pyo
+lib/python1.5/site-packages/piddle/piddleVCR.py
+lib/python1.5/site-packages/piddle/piddleVCR.pyc
+lib/python1.5/site-packages/piddle/piddleVCR.pyo
+lib/python1.5/site-packages/piddle/piddleWX.py
+lib/python1.5/site-packages/piddle/piddleWX.pyc
+lib/python1.5/site-packages/piddle/piddleWX.pyo
+lib/python1.5/site-packages/piddle/piddleWxDc.py
+lib/python1.5/site-packages/piddle/piddleWxDc.pyc
+lib/python1.5/site-packages/piddle/piddleWxDc.pyo
+lib/python1.5/site-packages/piddle/piddletest.py
+lib/python1.5/site-packages/piddle/piddletest.pyc
+lib/python1.5/site-packages/piddle/piddletest.pyo
+lib/python1.5/site-packages/piddle/stringformat.py
+lib/python1.5/site-packages/piddle/stringformat.pyc
+lib/python1.5/site-packages/piddle/stringformat.pyo
+share/doc/piddle/README
+share/doc/piddle/index.html
+share/doc/piddle/notesAI/PiddifyAI/Icon_
+share/doc/piddle/notesAI/PiddifyAI/PiddifyAI.py
+share/doc/piddle/notesAI/PiddifyAI/vcrExtra.py
+share/doc/piddle/notesAI/Sample1.ai
+share/doc/piddle/notesAI/Sample1.ai.gif
+share/doc/piddle/notesAI/Sample1.py
+share/doc/piddle/notesAI/Sample2.ai
+share/doc/piddle/notesAI/Sample2.ai.gif
+share/doc/piddle/notesAI/Sample2.py
+share/doc/piddle/notesPDF/00readme.txt
+share/doc/piddle/notesPDF/PythonPowered.a85
+share/doc/piddle/notesPDF/PythonPowered.gif
+share/doc/piddle/notesPDF/api.html
+share/doc/piddle/notesPDF/index.html
+share/doc/piddle/notesPDF/testpdfgen.pdf
+share/doc/piddle/notesPDF/testpdfgen.py
+share/doc/piddle/notesPIL/buildmetrics.py
+share/doc/piddle/notesPIL/test1.py
+share/doc/piddle/notesPIL/trouble.txt
+share/doc/piddle/notesPiddle/discipline.txt
+share/doc/piddle/notesPiddle/history.txt
+share/doc/piddle/notesPiddle/license.html
+share/doc/piddle/notesPiddle/stringformat.txt
+share/doc/piddle/notesQD/PixMapWrapper.py
+share/doc/piddle/notesQD/QDRotate.sit.hqx
+share/doc/piddle/notesQD/readme.txt
+share/doc/piddle/omt.gif
+share/doc/piddle/piddleQD.html
+share/doc/piddle/reference.html
+share/doc/piddle/rottest-pil.gif
+share/doc/piddle/rottest-qd.gif
+share/doc/piddle/rottest-small.gif
+share/doc/piddle/rottest.html
+share/doc/piddle/sample.gif
+share/doc/piddle/sample1-small.gif
+share/doc/piddle/sample1.gif
+share/doc/piddle/sample1.html
+share/doc/piddle/sample2-small.gif
+share/doc/piddle/sample2.html
+share/doc/piddle/sample2.jpg
+share/doc/piddle/stringtest-small.gif
+share/doc/piddle/stringtest.gif
+share/doc/piddle/stringtest.html
+share/doc/piddle/white-paper.html
+share/examples/piddle/HTMLPiddler.py
+share/examples/piddle/README
+share/examples/piddle/basics.py
+share/examples/piddle/formatted-strings.py
+share/examples/piddle/piddleWxDcDemo.py
+share/examples/piddle/textClasses.py
+share/examples/piddle/using-piddleTK.py
+share/examples/piddle/using-piddleWX.py
+@dirrm lib/python1.5/site-packages/piddle
+@dirrm share/doc/piddle/notesAI/PiddifyAI
+@dirrm share/doc/piddle/notesAI
+@dirrm share/doc/piddle/notesPDF
+@dirrm share/doc/piddle/notesPIL
+@dirrm share/doc/piddle/notesPiddle
+@dirrm share/doc/piddle/notesQD
+@dirrm share/doc/piddle
+@dirrm share/examples/piddle/