summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authordrochner <drochner>2002-10-24 19:32:22 +0000
committerdrochner <drochner>2002-10-24 19:32:22 +0000
commit8328d187b5e37f5d96d11dc4110dd5457d9d4df1 (patch)
tree99e53d1df82bcc7272654111c016b35e2fcdd66a /graphics
parentc8776469d1edb41ece8e4ce1d02290516cbd05bb (diff)
downloadpkgsrc-8328d187b5e37f5d96d11dc4110dd5457d9d4df1.tar.gz
switch to buildlink2
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-imagingtk/Makefile13
-rw-r--r--graphics/py-imagingtk/distinfo6
2 files changed, 11 insertions, 8 deletions
diff --git a/graphics/py-imagingtk/Makefile b/graphics/py-imagingtk/Makefile
index b57815ce0a6..5b76bcf0966 100644
--- a/graphics/py-imagingtk/Makefile
+++ b/graphics/py-imagingtk/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2002/09/21 23:46:51 jlam Exp $
+# $NetBSD: Makefile,v 1.6 2002/10/24 19:32:22 drochner Exp $
#
-DISTNAME= Imaging-1.1.2
-PKGNAME= py20-imagingtk-1.1.2
+DISTNAME= Imaging-1.1.3
+PKGNAME= py20-imagingtk-1.1.3
CATEGORIES= graphics
MASTER_SITES= http://www.pythonware.com/downloads/
@@ -15,9 +15,11 @@ BUILDLINK_DEPENDS.python20= python20>=2.0.1nb1
DIST_SUBDIR= python
ALL_TARGET= sharedmods
+USE_BUILDLINK2= yes
do-configure:
(cd ${WRKSRC}/libImaging; CC="cc -fPIC" LIBS="${LDFLAGS}" ./configure)
+ ${CHMOD} +w ${WRKSRC}/Setup.in ${WRKSRC}/Makefile.pre.in
${SED} -e 's,@PREFIX@,${PREFIX},g' -e 's,@X11BASE@,${X11BASE},g' \
${FILESDIR}/Setup.in >${WRKSRC}/Setup.in
${CP} ${LOCALBASE}/${PYLIB}/config/Makefile.pre.in ${WRKSRC}
@@ -26,11 +28,12 @@ do-configure:
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/_imagingtk.so \
${PREFIX}/lib/python2.0/site-packages/PIL
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py20-imaging
(cd ${WRKSRC}/Scripts; \
${INSTALL_DATA} enhancer.py painter.py player.py \
thresholder.py viewer.py ${PREFIX}/share/examples/py20-imaging )
.include "../../lang/python/extension.mk"
-.include "../../graphics/py-imaging/buildlink.mk"
-.include "../../x11/py-Tk/buildlink.mk"
+.include "../../graphics/py-imaging/buildlink2.mk"
+.include "../../x11/py-Tk/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/py-imagingtk/distinfo b/graphics/py-imagingtk/distinfo
index 125424e5add..07bfa19cbcf 100644
--- a/graphics/py-imagingtk/distinfo
+++ b/graphics/py-imagingtk/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2002/02/14 11:39:47 drochner Exp $
+$NetBSD: distinfo,v 1.4 2002/10/24 19:32:22 drochner Exp $
-SHA1 (python/Imaging-1.1.2.tar.gz) = 506e714bbac14a9f531ec529b8010ffc3a7f85f8
-Size (python/Imaging-1.1.2.tar.gz) = 336739 bytes
+SHA1 (python/Imaging-1.1.3.tar.gz) = a926c722f26f2b19cd2eaf052fc5db1940d68e4b
+Size (python/Imaging-1.1.3.tar.gz) = 346194 bytes