sthen 3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00

45 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.18 2021/02/23 19:39:49 sthen Exp $
COMMENT = equinox desktop library
DISTNAME = edelib-${V}
REVISION = 9
API_VER = 1.0
.for l in edelib edelib_dbus edelib_gui
SHARED_LIBS += $l ${API_VER}
.endfor
WANTLIB += X11 Xau Xcursor Xdmcp Xext Xfixes Xft Xinerama c dbus-1
WANTLIB += fltk fltk_images fontconfig jpeg m png pthread ${COMPILER_LIBCXX} z
COMPILER = base-clang ports-gcc base-gcc
MODULES = lang/python
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
BUILD_DEPENDS = devel/jam
LIB_DEPENDS = x11/fltk \
x11/dbus
MAKE_ENV = EDE_VERSION="${FULL_V}"
CONFIGURE_STYLE = gnu
CONFIGURE_ARGS += --enable-shared
CONFIGURE_ENV = API_VER="${API_VER}" \
ac_cv_path_DOXYGEN=""
NO_TEST = Yes
MODPY_ADJ_FILES = tools/edelib-convert-icontheme \
tools/edelib-mk-indextheme \
tools/edelib-mime-find
do-build:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} jam -d x
do-install:
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${ALL_FAKE_FLAGS} \
DESTDIR=${WRKINST} jam -d x install
.include <bsd.port.mk>