summaryrefslogtreecommitdiff
path: root/print/py-reportlab-renderPM
diff options
context:
space:
mode:
Diffstat (limited to 'print/py-reportlab-renderPM')
-rw-r--r--print/py-reportlab-renderPM/DESCR5
-rw-r--r--print/py-reportlab-renderPM/Makefile21
-rw-r--r--print/py-reportlab-renderPM/PLIST2
-rw-r--r--print/py-reportlab-renderPM/buildlink2.mk7
-rw-r--r--print/py-reportlab-renderPM/distinfo5
-rw-r--r--print/py-reportlab-renderPM/patches/patch-aa14
6 files changed, 54 insertions, 0 deletions
diff --git a/print/py-reportlab-renderPM/DESCR b/print/py-reportlab-renderPM/DESCR
new file mode 100644
index 00000000000..afa695b0945
--- /dev/null
+++ b/print/py-reportlab-renderPM/DESCR
@@ -0,0 +1,5 @@
+The graphics subdirectory of the main toolkit already contains renderers for
+postscript and PDF. A stub renderer for the PIL extension (Python Imaging
+Library, available from pythonware) is included, but most of this renderer
+is made available by anonymous CVS at
+:pserver:anonymous@cvs.reportlab.sourceforge.net:/cvsroot/reportlab
diff --git a/print/py-reportlab-renderPM/Makefile b/print/py-reportlab-renderPM/Makefile
new file mode 100644
index 00000000000..f816a60ee15
--- /dev/null
+++ b/print/py-reportlab-renderPM/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/07/28 15:08:50 drochner Exp $
+#
+
+DISTNAME= renderPM-0-9
+PKGNAME= ${PYPKGPREFIX}-reportlab-renderPM-0.9
+CATEGORIES= print
+MASTER_SITES= http://www.reportlab.com/ftp/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.reportlab.com/rl_addons.html
+COMMENT= Pixmap rendering for reportlab
+
+WRKSRC= ${WRKDIR}
+PYBINMODULE= yes
+PYDISTUTILSPKG= yes
+USE_BUILDLINK2= yes
+
+.include "../../lang/python/extension.mk"
+.include "../../graphics/py-imaging/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/py-reportlab-renderPM/PLIST b/print/py-reportlab-renderPM/PLIST
new file mode 100644
index 00000000000..bed904e1f72
--- /dev/null
+++ b/print/py-reportlab-renderPM/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/28 15:08:50 drochner Exp $
+${PYSITELIB}/_renderPM.so
diff --git a/print/py-reportlab-renderPM/buildlink2.mk b/print/py-reportlab-renderPM/buildlink2.mk
new file mode 100644
index 00000000000..45ca0b04a65
--- /dev/null
+++ b/print/py-reportlab-renderPM/buildlink2.mk
@@ -0,0 +1,7 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/07/28 15:08:50 drochner Exp $
+
+.include "../../lang/python/pyversion.mk"
+
+BUILDLINK_PACKAGES+= pyrlrenderpm
+BUILDLINK_DEPENDS.pyrlrenderpm?= ${PYPKGPREFIX}-reportlab-renderPM-*
+BUILDLINK_PKGSRCDIR.pyrlrenderpm=../../print/py-reportlab-renderPM
diff --git a/print/py-reportlab-renderPM/distinfo b/print/py-reportlab-renderPM/distinfo
new file mode 100644
index 00000000000..70956456639
--- /dev/null
+++ b/print/py-reportlab-renderPM/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/07/28 15:08:50 drochner Exp $
+
+SHA1 (renderPM-0-9.tgz) = ae604c84c54ae8b40551e80bc7f0fd26c5f3847d
+Size (renderPM-0-9.tgz) = 165759 bytes
+SHA1 (patch-aa) = 42e5226fe70260261265096fd719ab674c4d7d42
diff --git a/print/py-reportlab-renderPM/patches/patch-aa b/print/py-reportlab-renderPM/patches/patch-aa
new file mode 100644
index 00000000000..fe56f2bebd1
--- /dev/null
+++ b/print/py-reportlab-renderPM/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/07/28 15:08:50 drochner Exp $
+
+--- setup.py.orig Sun Dec 8 18:26:08 2002
++++ setup.py Sun Dec 8 18:26:42 2002
+@@ -40,7 +40,8 @@
+ LIBART_SRCS=glob(pJoin(LIBART_DIR, 'art_*.c'))
+ GT1_DIR=pJoin(DEVEL_DIR,'gt1')
+ GLIB_DIR=pJoin(DEVEL_DIR,'glib')
+- if sys.platform in ['darwin', 'win32', 'sunos5', 'freebsd4', 'mac', 'linux2','aix4']:
++# if sys.platform in ['darwin', 'win32', 'sunos5', 'freebsd4', 'mac', 'linux2','aix4']:
++ if 1:
+ LIBS=[]
+ else:
+ raise ValueError, "Don't know about other systems"