2013-05-31 14:39:35 +02:00
|
|
|
# $NetBSD: Makefile,v 1.23 2013/05/31 12:39:42 wiz Exp $
|
2006-02-02 21:58:06 +01:00
|
|
|
|
|
|
|
.include "../../chat/xchat/Makefile.common"
|
|
|
|
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-python-/}
|
2013-05-31 14:39:35 +02:00
|
|
|
PKGREVISION= 7
|
2008-05-25 22:49:39 +02:00
|
|
|
OWNER= tron@NetBSD.org
|
2006-02-02 21:58:06 +01:00
|
|
|
|
2007-03-12 13:46:29 +01:00
|
|
|
COMMENT= Python scripting plugin for XChat
|
2006-02-02 21:58:06 +01:00
|
|
|
|
|
|
|
DEPENDS+= xchat>=2.0.0:../../chat/xchat
|
|
|
|
|
|
|
|
BUILD_DIRS?= plugins/python
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --disable-gtkfe
|
|
|
|
CONFIGURE_ARGS+= --enable-tcl=no
|
|
|
|
CONFIGURE_ARGS+= --disable-perl
|
|
|
|
CONFIGURE_ARGS+= --enable-python
|
2012-06-23 20:57:08 +02:00
|
|
|
CONFIGURE_ARGS+= --disable-xlib
|
2006-02-02 21:58:06 +01:00
|
|
|
CONFIGURE_ENV+= ac_cv_path_pythonpath=${PYTHONBIN:Q}
|
|
|
|
|
2006-03-14 22:30:17 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2012-02-16 17:13:51 +01:00
|
|
|
.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
|
2006-03-14 22:30:17 +01:00
|
|
|
SUBST_CLASSES+= libutil
|
|
|
|
SUBST_STAGE.libutil= pre-configure
|
|
|
|
SUBST_FILES.libutil= configure
|
|
|
|
SUBST_SED.libutil= -e 's/ -lutil//g'
|
|
|
|
.endif
|
|
|
|
|
2006-02-02 21:58:06 +01:00
|
|
|
.include "../../lang/python/application.mk"
|
2006-03-28 19:38:31 +02:00
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2006-02-02 21:58:06 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|