aa67e11089
either because they themselves are not ready or because a dependency isn't. This is annotated by PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of x.y.z or PYTHON_VERSIONS_INCOMPATIBLE= 33 # py-foo, py-bar respectively, please use the same style for other packages, and check during updates. Use versioned_dependencies.mk where applicable. Use REPLACE_PYTHON instead of handcoded alternatives, where applicable. Reorder Makefile sections into standard order, where applicable. Remove PYTHON_VERSIONS_INCLUDE_3X lines since that will be default with the next commit. Whitespace cleanups and other nits corrected, where necessary.
35 lines
914 B
Makefile
35 lines
914 B
Makefile
# $NetBSD: Makefile,v 1.24 2014/01/25 10:29:58 wiz Exp $
|
|
|
|
.include "../../chat/xchat/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/-/-python-/}
|
|
PKGREVISION= 7
|
|
OWNER= tron@NetBSD.org
|
|
|
|
COMMENT= Python scripting plugin for XChat
|
|
|
|
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
|
|
CONFIGURE_ARGS+= --disable-xlib
|
|
CONFIGURE_ENV+= ac_cv_path_pythonpath=${PYTHONBIN:Q}
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin" || ${OPSYS} == "SunOS"
|
|
SUBST_CLASSES+= libutil
|
|
SUBST_STAGE.libutil= pre-configure
|
|
SUBST_FILES.libutil= configure
|
|
SUBST_SED.libutil= -e 's/ -lutil//g'
|
|
.endif
|
|
|
|
PYTHON_VERSIONS_INCOMPATIBLE= 33 # not yet ported as of 2.8.8
|
|
|
|
.include "../../lang/python/application.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|