aboutsummaryrefslogtreecommitdiff
path: root/graphics/skencil
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>2000-04-28 09:36:01 +0000
committerThomas Gellekum <tg@FreeBSD.org>2000-04-28 09:36:01 +0000
commit0e5aaf3fd53f133fe78c8cc428b6565b20f2271c (patch)
treef3d85780b7c2d714e5d6928ded30c973606531ee /graphics/skencil
parentf8532dd5ad549dbd15f3f00d7a1d5fb8abff04f2 (diff)
downloadports-0e5aaf3fd53f133fe78c8cc428b6565b20f2271c.tar.gz
ports-0e5aaf3fd53f133fe78c8cc428b6565b20f2271c.zip
Notes
Diffstat (limited to 'graphics/skencil')
-rw-r--r--graphics/skencil/Makefile11
-rw-r--r--graphics/skencil/files/patch-aa13
2 files changed, 14 insertions, 10 deletions
diff --git a/graphics/skencil/Makefile b/graphics/skencil/Makefile
index 2d35c62d0fab..a970fe23e855 100644
--- a/graphics/skencil/Makefile
+++ b/graphics/skencil/Makefile
@@ -12,16 +12,19 @@ MASTER_SITES= http://download.sourceforge.net/sketch/
MAINTAINER= ports@FreeBSD.org
-BUILD_DEPENDS= ${PREFIX}/include/python1.5/Imaging.h:${PORTSDIR}/graphics/py-imaging
-RUN_DEPENDS= ${PREFIX}/lib/python1.5/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
- ${PREFIX}/lib/python1.5/site-packages/_imaging.so:${PORTSDIR}/graphics/py-imaging \
- ${PREFIX}/lib/python1.5/site-packages/xml/__init__.py:${PORTSDIR}/textproc/py-xml
+BUILD_DEPENDS= ${LOCALBASE}/include/python1.5/Imaging.h:${PORTSDIR}/graphics/py-imaging
+RUN_DEPENDS= ${LOCALBASE}/lib/python1.5/site-packages/_tkinter.so:${PORTSDIR}/x11-toolkits/py-tkinter \
+ ${LOCALBASE}/lib/python1.5/site-packages/_imaging.so:${PORTSDIR}/graphics/py-imaging \
+ ${LOCALBASE}/lib/python1.5/site-packages/xml/__init__.py:${PORTSDIR}/textproc/py-xml
SKETCHDIR= ${PREFIX}/share/sketch
SKETCHDOCDIR= ${PREFIX}/share/doc/sketch
SKETCHDOCS= BUGS Doc NEWS PROJECTS README TODO
SKETCHEXDIR= ${PREFIX}/share/examples/sketch
+post-patch:
+ @${PERL} -pi -e "s;%%PORTSDIR%%;${PORTSDIR};" ${WRKSRC}/setup.py
+
do-configure:
@(cd ${WRKSRC} && python setup.py configure)
diff --git a/graphics/skencil/files/patch-aa b/graphics/skencil/files/patch-aa
index f39ac9cf3bb1..47aa57fada9c 100644
--- a/graphics/skencil/files/patch-aa
+++ b/graphics/skencil/files/patch-aa
@@ -1,11 +1,12 @@
---- setup.py.orig Tue May 18 18:37:04 1999
-+++ setup.py Wed May 19 09:44:38 1999
-@@ -212,7 +212,7 @@
+--- setup.py.orig Thu Feb 10 19:01:49 2000
++++ setup.py Thu Apr 27 15:56:03 2000
+@@ -233,8 +233,7 @@
+ flags['sketch']['imaging-include'] = '-I' + dir
if setup == None:
- setup = os.path.join(sys.prefix, 'lib/python' + sys.version[:3],
+- setup = os.path.join(sys.prefix, 'lib/python' + sys.version[:3],
- 'config/Setup')
-+ 'config/Setup.local')
++ setup = '%%PORTSDIR%%/x11-toolkits/py-tkinter/files/Setup'
print 'reading configuration from', setup, '...',
- configs = extract_config(setup, ['_tkinter'])
+ configs = extract_config(setup)
print 'done'