summaryrefslogtreecommitdiff
path: root/graphics/py-gd/Makefile
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/Makefile
parent2404734a6a70628a32bbb9094629b6789e6be20e (diff)
downloadpkgsrc-3ac14c3141a7dffc01b48a6c4b6ef9cfcc212a72.tar.gz
Python module for GD gif drawing library.
Diffstat (limited to 'graphics/py-gd/Makefile')
-rw-r--r--graphics/py-gd/Makefile29
1 files changed, 29 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"