1 # $NetBSD: Makefile,v 1.18 2012/03/03 00:14:24 wiz Exp $
3 .include "../../chat/xchat/Makefile.common"
5 PKGNAME= ${DISTNAME:S/-/-python-/}
9 COMMENT= Python scripting plugin for XChat
11 DEPENDS+= xchat>=2.0.0:../../chat/xchat
13 BUILD_DIRS?= plugins/python
15 CONFIGURE_ARGS+= --disable-gtkfe
16 CONFIGURE_ARGS+= --enable-tcl=no
17 CONFIGURE_ARGS+= --disable-perl
18 CONFIGURE_ARGS+= --enable-python
19 CONFIGURE_ENV+= ac_cv_path_pythonpath=${PYTHONBIN:Q}
21 .include "../../mk/bsd.prefs.mk"
23 .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
24 SUBST_CLASSES+= libutil
25 SUBST_STAGE.libutil= pre-configure
26 SUBST_FILES.libutil= configure
27 SUBST_SED.libutil= -e 's/ -lutil//g'
30 .include "../../lang/python/application.mk"
31 .include "../../mk/pthread.buildlink3.mk"
32 .include "../../mk/bsd.pkg.mk"