summaryrefslogtreecommitdiff
path: root/graphics/sketch
diff options
context:
space:
mode:
authorsakamoto <sakamoto>1999-06-22 04:16:30 +0000
committersakamoto <sakamoto>1999-06-22 04:16:30 +0000
commit55b273f1ce774efe7322c0b9ad2f9697de0341db (patch)
treed89c0829fba5570b10b04e53e2fb53d29c3626d6 /graphics/sketch
parent1a842c6c6dcc065278cbb682adfe4c40f74f9953 (diff)
downloadpkgsrc-55b273f1ce774efe7322c0b9ad2f9697de0341db.tar.gz
Adapt this package to NetBSD.
Diffstat (limited to 'graphics/sketch')
-rw-r--r--graphics/sketch/Makefile24
-rw-r--r--graphics/sketch/files/md52
-rw-r--r--graphics/sketch/patches/patch-aa4
-rw-r--r--graphics/sketch/pkg/DESCR2
-rw-r--r--graphics/sketch/pkg/PLIST1
5 files changed, 15 insertions, 18 deletions
diff --git a/graphics/sketch/Makefile b/graphics/sketch/Makefile
index b2adebe58f4..f39aa85b447 100644
--- a/graphics/sketch/Makefile
+++ b/graphics/sketch/Makefile
@@ -1,20 +1,15 @@
-# New ports collection makefile for: sketch
-# Version required: 0.6.0
-# Date created: 04 November 1998
-# Whom: Thomas Gellekum <tg@FreeBSD.ORG>
-#
-# $Id: Makefile,v 1.1.1.1 1999/06/22 04:08:41 sakamoto Exp $
-#
+# $NetBSD: Makefile,v 1.2 1999/06/22 04:16:30 sakamoto Exp $
+# FreeBSD Id: Makefile,v 1.4 1999/05/19 09:41:06 tg Exp $
DISTNAME= sketch-0.6.0
CATEGORIES= graphics
MASTER_SITES= http://www.online.de/home/sketch/
-MAINTAINER= ports@FreeBSD.ORG
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.online.de/home/sketch/
-BUILD_DEPENDS= ${PREFIX}/include/python1.5/Imaging.h:${PORTSDIR}/graphics/py-imaging
-RUN_DEPENDS= python:${PORTSDIR}/lang/python \
- ${PREFIX}/lib/python1.5/site-packages/_imaging.so:${PORTSDIR}/graphics/py-imaging
+DEPENDS+= py-imaging-1.0b1:../../graphics/py-imaging
+DEPENDS+= py-Tk-1.5.2:../../x11/py-Tk
SKETCHDIR= ${PREFIX}/share/sketch
SKETCHDOCDIR= ${PREFIX}/share/doc/sketch
@@ -22,7 +17,8 @@ SKETCHDOCS= BUGS Doc NEWS PROJECTS README TODO
SKETCHEXDIR= ${PREFIX}/share/examples/sketch
do-configure:
- @(cd ${WRKSRC} && python setup.py configure)
+ @(cd ${WRKSRC} && \
+ python setup.py configure --imaging-include=${PREFIX}/include/PIL)
do-build:
@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} python setup.py build)
@@ -34,10 +30,8 @@ do-install:
(cd ${SKETCHDIR}/; tar xf -)
.endfor
(cd ${WRKSRC}; ${INSTALL_SCRIPT} finishinst.py sk2ps.py sketch.py ${SKETCHDIR})
-.if !defined(NOPORTDOCS)
${MKDIR} ${SKETCHDOCDIR}
(cd ${WRKSRC}; tar cf - ${SKETCHDOCS}) | (cd ${SKETCHDOCDIR}; tar xf -)
-.endif
${MKDIR} ${SKETCHEXDIR}
(cd ${WRKSRC}/Examples; tar cf - .) | (cd ${SKETCHEXDIR}; tar xf -)
(cd ${SKETCHDIR}; python finishinst.py)
@@ -46,4 +40,4 @@ do-install:
${SED} -e "s|@PREFIX@|${PREFIX}|g" < ${FILESDIR}/sk2ps.in > ${PREFIX}/bin/sk2ps
chmod +x ${PREFIX}/bin/sk2ps
-.include <bsd.port.mk>
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/sketch/files/md5 b/graphics/sketch/files/md5
index f459e27511a..1c65778c857 100644
--- a/graphics/sketch/files/md5
+++ b/graphics/sketch/files/md5
@@ -1 +1,3 @@
+$NetBSD: md5,v 1.2 1999/06/22 04:16:30 sakamoto Exp $
+
MD5 (sketch-0.6.0.tar.gz) = 82641a8575e71c0ea9d23b3fe85c1594
diff --git a/graphics/sketch/patches/patch-aa b/graphics/sketch/patches/patch-aa
index f39ac9cf3bb..3a95c283876 100644
--- a/graphics/sketch/patches/patch-aa
+++ b/graphics/sketch/patches/patch-aa
@@ -1,3 +1,5 @@
+$NetBSD: patch-aa,v 1.2 1999/06/22 04:16:31 sakamoto Exp $
+
--- setup.py.orig Tue May 18 18:37:04 1999
+++ setup.py Wed May 19 09:44:38 1999
@@ -212,7 +212,7 @@
@@ -5,7 +7,7 @@
if setup == None:
setup = os.path.join(sys.prefix, 'lib/python' + sys.version[:3],
- 'config/Setup')
-+ 'config/Setup.local')
++ 'config/Setup.tk')
print 'reading configuration from', setup, '...',
configs = extract_config(setup, ['_tkinter'])
print 'done'
diff --git a/graphics/sketch/pkg/DESCR b/graphics/sketch/pkg/DESCR
index b489c6e4bf9..66c27a586ab 100644
--- a/graphics/sketch/pkg/DESCR
+++ b/graphics/sketch/pkg/DESCR
@@ -10,5 +10,3 @@ page, or contact the author <sketch@online.de>.
If you want to report a bug, please have a look at the web page to check
whether a newer release is available or your bug has already been
reported.
-
-WWW: http://www.online.de/home/sketch
diff --git a/graphics/sketch/pkg/PLIST b/graphics/sketch/pkg/PLIST
index fc4b9003aa7..eca42d1f041 100644
--- a/graphics/sketch/pkg/PLIST
+++ b/graphics/sketch/pkg/PLIST
@@ -1,3 +1,4 @@
+@comment $NetBSD: PLIST,v 1.2 1999/06/22 04:16:31 sakamoto Exp $
bin/sketch
bin/sk2ps
share/sketch/Filter/streamfilter.so