pkgsrc-wip/libgtask/options.mk
Kamel Ibn Aziz Derouiche 22c749733f Import libgtask-0.1.2 as wip/libgtask.
GTask is a mini-framework to simplify asynchronous and concurrent
programming with C and GObject. GTask makes event driven programming
easier whether you are in C or in a higher level language such as Python
2009-05-31 16:40:46 +00:00

21 lines
531 B
Makefile

# $NetBSD: options.mk,v 1.1.1.1 2009/05/31 16:40:46 jihbed Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gtask
PKG_SUPPORTED_OPTIONS= python
PKG_SUGGESTED_OPTIONS= python
.include "../../mk/bsd.options.mk"
###
### Enable python support
###
.if !empty(PKG_OPTIONS:Mpython)
. include "../../lang/python/extension.mk"
PYTHON_VERSIONS_ACCEPTED= 26 25 24 23 22
PLIST_SUBST+= PYSITELIB=${PYSITELIB}
. include "../../devel/py-gobject/buildlink3.mk"
. include "../../x11/py-gtk2/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-python
.endif