summaryrefslogtreecommitdiffstats
path: root/graphics/sketch/Makefile
diff options
context:
space:
mode:
authortg <tg@FreeBSD.org>2000-04-28 09:36:01 +0000
committertg <tg@FreeBSD.org>2000-04-28 09:36:01 +0000
commitfc1bdfc34a756e403ae888bfa1bef7f8ec62b03d (patch)
treeccc3f61aa9c75bd8ce5d611a1af087635cb9ed1c /graphics/sketch/Makefile
parent9c6c7ee8a605e64bf8f87a8bd88c05bb046bada5 (diff)
downloadFreeBSD-ports-fc1bdfc34a756e403ae888bfa1bef7f8ec62b03d.zip
FreeBSD-ports-fc1bdfc34a756e403ae888bfa1bef7f8ec62b03d.tar.gz
Fix building after recent separation of py-tkinter. Portlint.
Diffstat (limited to 'graphics/sketch/Makefile')
-rw-r--r--graphics/sketch/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/graphics/sketch/Makefile b/graphics/sketch/Makefile
index 2d35c62..a970fe2 100644
--- a/graphics/sketch/Makefile
+++ b/graphics/sketch/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)
OpenPOWER on IntegriCloud