diff options
Diffstat (limited to 'graphics/skencil/Makefile')
-rw-r--r-- | graphics/skencil/Makefile | 11 |
1 files changed, 7 insertions, 4 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) |