diff options
author | kamil <kamil@pkgsrc.org> | 2015-12-09 03:03:46 +0000 |
---|---|---|
committer | kamil <kamil@pkgsrc.org> | 2015-12-09 03:03:46 +0000 |
commit | 3a3244ae664c72dd5b2da0bcedd1a30d53dea667 (patch) | |
tree | 09d7104a96375cca0048a729afc558f5d281b840 /devel/bokken | |
parent | e13935b41efb4949607b903add60ed8efa9468f0 (diff) | |
download | pkgsrc-3a3244ae664c72dd5b2da0bcedd1a30d53dea667.tar.gz |
Make devel/bokken work
Changes:
- Fix bokken startup script.
- Add runtime dependency on py-Pillow
It would be probably better to link bin/bokken share/bokken/bokken.py
The intermediate script tries to detect (wrongly in pkgsrc) the Python
executable and it needs adapting anyway.
Diffstat (limited to 'devel/bokken')
-rw-r--r-- | devel/bokken/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/devel/bokken/Makefile b/devel/bokken/Makefile index e8de93c610a..ef254291b76 100644 --- a/devel/bokken/Makefile +++ b/devel/bokken/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2015/12/05 21:25:33 adam Exp $ +# $NetBSD: Makefile,v 1.5 2015/12/09 03:03:46 kamil Exp $ DISTNAME= bokken-1.8 CATEGORIES= devel @@ -13,6 +13,7 @@ DEPENDS+= ${PYPKGPREFIX}-graphviz-[0-9]*:../../graphics/py-graphviz DEPENDS+= ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2 DEPENDS+= ${PYPKGPREFIX}-gtksourceview-[0-9]*:../../x11/py-gtksourceview DEPENDS+= ${PYPKGPREFIX}-radare2-[0-9]*:../../devel/py-radare2 +DEPENDS+= ${PYPKGPREFIX}-Pillow-[0-9]*:../../graphics/py-Pillow USE_TOOLS+= pax @@ -35,6 +36,14 @@ SUBST_MESSAGE.bin-dot= Fixing path to dot(1) SUBST_FILES.bin-dot= ui/graph.py SUBST_SED.bin-dot= -e 's,/usr/bin/dot,${PREFIX}/bin/dot,' +SUBST_CLASSES+= bin-python +SUBST_STAGE.bin-python= post-patch +SUBST_MESSAGE.bin-python= Fixing path to python${PYVERSSUFFIX}(1) +SUBST_FILES.bin-python= bokken +SUBST_SED.bin-python= -e 's,"python","python${PYVERSSUFFIX}",' +SUBST_SED.bin-python+= -e 's,\(PYTHON_VER=\).*,\1${PYVERSSUFFIX},' +SUBST_SED.bin-python+= -e 's,-eq,=,' + INSTALLATION_DIRS= bin share/bokken do-install: |