summaryrefslogtreecommitdiff
path: root/graphics/inkscape
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2014-02-07 13:10:58 +0000
committerwiz <wiz@pkgsrc.org>2014-02-07 13:10:58 +0000
commitcfe3d78b15909aa03438d22589d97e1056d54060 (patch)
tree2067552d379394a98b1d8acc14a837c2f46c649f /graphics/inkscape
parent1d2938afe8b3a40a1589a9b88cf60555fe73586b (diff)
downloadpkgsrc-cfe3d78b15909aa03438d22589d97e1056d54060.tar.gz
Fix interpreter path in installed python scripts.
Add some missing python dependency modules. Mark as not ready for python 3.x. Bump PKGREVISION.
Diffstat (limited to 'graphics/inkscape')
-rw-r--r--graphics/inkscape/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile
index b94b06c4959..a881850753c 100644
--- a/graphics/inkscape/Makefile
+++ b/graphics/inkscape/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.98 2014/01/01 11:52:19 wiz Exp $
+# $NetBSD: Makefile,v 1.99 2014/02/07 13:10:58 wiz Exp $
DISTNAME= inkscape-0.48.4
-PKGREVISION= 16
+PKGREVISION= 17
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=inkscape/}
EXTRACT_SUFX= .tar.bz2
@@ -14,6 +14,9 @@ LICENSE= gnu-gpl-v2
.if !exists (/usr/bin/iconv)
BUILD_DEPENDS+= libiconv-[0-9]*:../../converters/libiconv
.endif
+DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat
+# for inkex.py, needed by most python extension scripts
+DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml
EXTRACT_USING= bsdtar
GCC_REQD+= 3.0
@@ -40,7 +43,14 @@ SUBST_CLASSES+= pypath
SUBST_STAGE.pypath= pre-configure
SUBST_FILES.pypath= src/extension/implementation/script.cpp
SUBST_VARS.pypath= PYTHONBIN
-CHECK_INTERPRETER_SKIP+= share/inkscape/extensions/*.py
+
+PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 0.48.4
+REPLACE_PYTHON+= cxxtest/cxxtestgen.py
+REPLACE_PYTHON+= share/filters/i18n.py
+REPLACE_PYTHON+= share/extensions/*.py
+REPLACE_PYTHON+= share/extensions/test/*.test.py
+REPLACE_PYTHON+= share/extensions/Barcode/*.py
+REPLACE_PYTHON+= share/patterns/i18n.py
# XXX I don't see where this is used
CHECK_INTERPRETER_SKIP+= share/inkscape/extensions/simplepath.rb