Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / chat / xchat-python / Makefile
blob5a39ff8da173dee1de704c22f24244deb96fb402
1 # $NetBSD: Makefile,v 1.21 2012/09/15 10:03:57 obache Exp $
3 .include "../../chat/xchat/Makefile.common"
5 PKGNAME= ${DISTNAME:S/-/-python-/}
6 PKGREVISION= 6
7 OWNER= tron@NetBSD.org
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_ARGS+= --disable-xlib
20 CONFIGURE_ENV+= ac_cv_path_pythonpath=${PYTHONBIN:Q}
22 .include "../../mk/bsd.prefs.mk"
24 .if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
25 SUBST_CLASSES+= libutil
26 SUBST_STAGE.libutil= pre-configure
27 SUBST_FILES.libutil= configure
28 SUBST_SED.libutil= -e 's/ -lutil//g'
29 .endif
31 .include "../../lang/python/application.mk"
32 .include "../../mk/pthread.buildlink3.mk"
33 .include "../../mk/bsd.pkg.mk"