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

47 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.30 2021/02/23 19:39:32 sthen Exp $
COMMENT = GTK+2 IRC Client
DISTNAME = hexchat-2.14.3
EXTRACT_SUFX = .tar.xz
CATEGORIES = net x11
REVISION = 0
HOMEPAGE = https://hexchat.github.io/
# GPLv2+
PERMIT_PACKAGE = Yes
WANTLIB += X11 c crypto dbus-glib-1 gdk-x11-2.0 gdk_pixbuf-2.0
WANTLIB += gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gtk-x11-2.0
WANTLIB += intl luajit-5.1 notify pango-1.0 perl proxy ssl
WANTLIB += ${MODPY_WANTLIB}
# libproxy requires libestdc++
COMPILER = base-clang ports-gcc
MASTER_SITES = https://dl.hexchat.net/hexchat/
MODULES = devel/meson \
lang/python \
textproc/intltool
MODPY_BUILDDEP = No
BUILD_DEPENDS = devel/iso-codes
LIB_DEPENDS = devel/gettext,-runtime \
devel/libnotify \
lang/luajit \
net/libproxy \
x11/dbus-glib \
x11/gtk+2 \
${MODPY_LIB_DEPENDS}
RUN_DEPENDS = devel/desktop-file-utils \
devel/iso-codes \
x11/gtk+3,-guic
CONFIGURE_ARGS += -Dwith-libcanberra=false \
-Dwith-sysinfo=false
.include <bsd.port.mk>