summaryrefslogtreecommitdiff
path: root/graphics/py-gd
diff options
context:
space:
mode:
authortsarna <tsarna@pkgsrc.org>1999-05-02 17:48:37 +0000
committertsarna <tsarna@pkgsrc.org>1999-05-02 17:48:37 +0000
commit3ac14c3141a7dffc01b48a6c4b6ef9cfcc212a72 (patch)
tree72552a5b1de588665884c876981a0dbffefc4d5f /graphics/py-gd
parent2404734a6a70628a32bbb9094629b6789e6be20e (diff)
downloadpkgsrc-3ac14c3141a7dffc01b48a6c4b6ef9cfcc212a72.tar.gz
Python module for GD gif drawing library.
Diffstat (limited to 'graphics/py-gd')
-rw-r--r--graphics/py-gd/Makefile29
-rw-r--r--graphics/py-gd/files/Setup.in4
-rw-r--r--graphics/py-gd/files/md53
-rw-r--r--graphics/py-gd/pkg/COMMENT1
-rw-r--r--graphics/py-gd/pkg/DESCR10
-rw-r--r--graphics/py-gd/pkg/PLIST2
6 files changed, 49 insertions, 0 deletions
diff --git a/graphics/py-gd/Makefile b/graphics/py-gd/Makefile
new file mode 100644
index 00000000000..d91e004e523
--- /dev/null
+++ b/graphics/py-gd/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/05/02 17:48:37 tsarna Exp $
+
+DISTNAME= gdmodule.c
+PKGNAME= py-gd-1.3
+CATEGORIES= graphics
+MASTER_SITES= http://starship.python.net/~richard/gdmodule/
+DISTFILES= gdmodule.c
+
+MAINTAINER= tsarna@netbsd.org
+HOMEPAGE= http://starship.python.net/~richard/gdmodule/
+
+DEPENDS+= python-1.5.2:../../lang/python \
+ gd-1.3:../../graphics/gd
+
+WRKSRC= ${WRKDIR}/build
+
+ALL_TARGET= default
+
+do-extract:
+ ${MKDIR} ${WRKSRC}
+ ${CP} ${DISTDIR}/${DISTNAME} ${WRKSRC}
+ ${SED} -e 's,@PREFIX@,${PREFIX},g' ${FILESDIR}/Setup.in \
+ >${WRKSRC}/Setup.in
+
+do-configure:
+ ${CP} ${PREFIX}/lib/python1.5/config/Makefile.pre.in ${WRKSRC}
+ (cd ${WRKSRC}; ${MAKE} -f Makefile.pre.in boot)
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/py-gd/files/Setup.in b/graphics/py-gd/files/Setup.in
new file mode 100644
index 00000000000..d71ecd5e6ea
--- /dev/null
+++ b/graphics/py-gd/files/Setup.in
@@ -0,0 +1,4 @@
+# $NetBSD: Setup.in,v 1.1.1.1 1999/05/02 17:48:37 tsarna Exp $
+
+*shared*
+gd gdmodule.c -I@PREFIX@/include/gd -L@PREFIX@/lib -R@PREFIX@/lib -lgd
diff --git a/graphics/py-gd/files/md5 b/graphics/py-gd/files/md5
new file mode 100644
index 00000000000..1321e82c7d4
--- /dev/null
+++ b/graphics/py-gd/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/05/02 17:48:37 tsarna Exp $
+
+MD5 (gdmodule.c) = adbff4001b9808cee9659954cfc86c94
diff --git a/graphics/py-gd/pkg/COMMENT b/graphics/py-gd/pkg/COMMENT
new file mode 100644
index 00000000000..e34c809c185
--- /dev/null
+++ b/graphics/py-gd/pkg/COMMENT
@@ -0,0 +1 @@
+A Python interface to gd
diff --git a/graphics/py-gd/pkg/DESCR b/graphics/py-gd/pkg/DESCR
new file mode 100644
index 00000000000..c6d3bbe3475
--- /dev/null
+++ b/graphics/py-gd/pkg/DESCR
@@ -0,0 +1,10 @@
+GD module is an interface to the GD library written by Thomas Bouttel:
+
+ "It allows your code to quickly draw images complete
+ with lines, arcs, text, multiple colors, cut and
+ paste from other images, and flood fills, and write
+ out the result as a .GIF file. This is particularly
+ useful in World Wide Web applications, where .GIF is
+ the format used for inline images."
+
+It has been extended in some ways from the original GD library.
diff --git a/graphics/py-gd/pkg/PLIST b/graphics/py-gd/pkg/PLIST
new file mode 100644
index 00000000000..7a609c3a787
--- /dev/null
+++ b/graphics/py-gd/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/05/02 17:48:37 tsarna Exp $
+lib/python1.5/site-packages/gdmodule.so