summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorimil <imil@pkgsrc.org>2013-05-10 21:57:14 +0000
committerimil <imil@pkgsrc.org>2013-05-10 21:57:14 +0000
commitb1f2c27ff193c67080ad4a708de69ac3cc962f32 (patch)
tree2551cf1203672ad1c5ba95245cadabeb9d418a6d /devel
parentd051892ff0c34896d4954a1e69d8815296cd28f7 (diff)
downloadpkgsrc-b1f2c27ff193c67080ad4a708de69ac3cc962f32.tar.gz
Enabled gtk and urwid versions
Diffstat (limited to 'devel')
-rw-r--r--devel/bpython/Makefile17
1 files changed, 16 insertions, 1 deletions
diff --git a/devel/bpython/Makefile b/devel/bpython/Makefile
index edc8abc6aed..cc18097d71e 100644
--- a/devel/bpython/Makefile
+++ b/devel/bpython/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2013/05/10 12:55:33 imil Exp $
+# $NetBSD: Makefile,v 1.2 2013/05/10 21:57:14 imil Exp $
#
DISTNAME= bpython-0.12
+PKGREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://bpython-interpreter.org/releases/
@@ -13,7 +14,21 @@ LICENSE= mit
USE_LANGUAGES= # none
DEPENDS+= ${PYPKGPREFIX}-pygments>=1.6:../../textproc/py-pygments
+DEPENDS+= ${PYPKGPREFIX}-urwid>=0.9.9.1:../../devel/py-urwid
+PKG_OPTIONS_VAR= PKG_OPTIONS.bpython
+PKG_SUPPORTED_OPTIONS= gtk
+PKG_SUGGESTED_OPTIONS= # empty
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mgtk)
+.include "../../devel/py-gobject/buildlink3.mk"
+.include "../../x11/py-gtk2/buildlink3.mk"
+.endif
+
+.include "../../devel/py-readline/buildlink3.mk"
+.include "../../devel/py-curses/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../lang/python/application.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"