2013-06-02 15:23:41 +02:00
|
|
|
PORTNAME= hexchat
|
2022-02-13 19:48:12 +01:00
|
|
|
DISTVERSION= 2.16.1
|
2022-04-10 21:08:12 +02:00
|
|
|
PORTREVISION= 2
|
2019-10-09 13:50:48 +02:00
|
|
|
CATEGORIES= irc gnome
|
2022-02-13 19:48:12 +01:00
|
|
|
MASTER_SITES= https://dl.hexchat.net/hexchat/
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2019-12-22 14:56:59 +01:00
|
|
|
MAINTAINER= pkubaj@FreeBSD.org
|
2013-06-02 15:23:41 +02:00
|
|
|
COMMENT= IRC chat program with GTK and Text Frontend
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://hexchat.github.io/
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2016-07-20 21:18:30 +02:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2021-10-07 19:53:56 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
|
|
|
|
${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR}
|
2016-07-20 21:18:30 +02:00
|
|
|
LIB_DEPENDS= libproxy.so:net/libproxy \
|
|
|
|
libfontconfig.so:x11-fonts/fontconfig \
|
|
|
|
libdbus-1.so:devel/dbus \
|
|
|
|
libfreetype.so:print/freetype2
|
2018-04-13 15:11:07 +02:00
|
|
|
RUN_DEPENDS= ${LOCALBASE}/share/xml/iso-codes/iso_639.xml:misc/iso-codes
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2021-10-20 18:13:15 +02:00
|
|
|
USES= compiler:c++11-lang cpe desktop-file-utils gettext-tools gnome \
|
2019-12-22 14:56:59 +01:00
|
|
|
libtool localbase meson ninja pkgconfig python:3.5+ shebangfix \
|
2022-02-13 19:48:12 +01:00
|
|
|
ssl tar:xz xorg
|
2021-10-20 18:13:15 +02:00
|
|
|
CPE_VENDOR= ${PORTNAME}_project
|
2022-02-13 19:48:12 +01:00
|
|
|
SHEBANG_FILES= meson_post_install.py \
|
|
|
|
plugins/perl/generate_header.py \
|
|
|
|
plugins/python/generate_plugin.py \
|
|
|
|
src/common/make-te.py
|
|
|
|
USE_GNOME= cairo gdkpixbuf2 gtk20 intltool libxml2
|
2016-07-20 21:18:30 +02:00
|
|
|
USE_XORG= x11
|
2019-02-11 17:40:06 +01:00
|
|
|
|
2022-02-13 19:48:12 +01:00
|
|
|
INSTALLS_ICONS=yes
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2022-02-13 19:48:12 +01:00
|
|
|
MESON_ARGS= -Dtls=enabled -Dgtk-frontend=true -Dwith-python=python-${PYTHON_VER}
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2013-09-24 23:21:48 +02:00
|
|
|
SUB_FILES= pkg-message
|
|
|
|
|
2013-06-02 15:23:41 +02:00
|
|
|
PORTDOCS= *
|
|
|
|
|
2021-10-07 19:53:56 +02:00
|
|
|
OPTIONS_DEFINE= CA_BUNDLE CANBERRA DBUS DOCS FISHLIM LUA PERL TEXTFE \
|
|
|
|
SYSINFO
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2021-10-12 12:56:12 +02:00
|
|
|
OPTIONS_DEFAULT= CA_BUNDLE CANBERRA DBUS PERL
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2013-09-16 22:55:03 +02:00
|
|
|
OPTIONS_SUB= yes
|
|
|
|
|
2014-04-12 17:21:22 +02:00
|
|
|
CA_BUNDLE_DESC= Include CA bundle for SSL verification
|
2013-10-04 23:59:14 +02:00
|
|
|
CANBERRA_DESC= Audio support via Libcanberra
|
2013-09-16 22:55:03 +02:00
|
|
|
FISHLIM_DESC= FiSHLiM plugin
|
2013-10-04 23:59:14 +02:00
|
|
|
TEXTFE_DESC= Text frontend
|
2018-08-01 22:19:59 +02:00
|
|
|
SYSINFO_DESC= Sysinfo plugin
|
2013-09-16 22:55:03 +02:00
|
|
|
|
2016-04-01 16:08:37 +02:00
|
|
|
CA_BUNDLE_RUN_DEPENDS= ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
|
|
|
|
CANBERRA_LIB_DEPENDS= libcanberra.so:audio/libcanberra
|
2021-10-07 19:53:56 +02:00
|
|
|
CANBERRA_MESON_ON= -Dlibcanberra=enabled
|
|
|
|
CANBERRA_MESON_OFF= -Dlibcanberra=disabled
|
2016-04-01 16:08:37 +02:00
|
|
|
DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib
|
2021-10-07 19:53:56 +02:00
|
|
|
DBUS_MESON_ON= -Ddbus=enabled
|
|
|
|
DBUS_MESON_OFF= -Ddbus=disabled
|
2018-04-13 15:11:07 +02:00
|
|
|
FISHLIM_MESON_TRUE= with-fishlim
|
|
|
|
LUA_MESON_ON= -Dwith-lua=lua-${LUA_VER}
|
|
|
|
LUA_MESON_OFF= -Dwith-lua=false
|
2016-07-20 21:18:30 +02:00
|
|
|
LUA_USES= lua
|
2021-10-16 08:51:22 +02:00
|
|
|
LUA_USE= GCC=yes
|
2018-04-13 15:11:07 +02:00
|
|
|
PERL_MESON_TRUE= with-perl
|
2016-07-20 21:18:30 +02:00
|
|
|
PERL_USES= perl5
|
2021-10-07 19:53:56 +02:00
|
|
|
TEXTFE_MESON_TRUE= text-frontend
|
2018-08-01 22:19:59 +02:00
|
|
|
SYSINFO_MESON_TRUE= with-sysinfo
|
2014-04-12 17:21:22 +02:00
|
|
|
|
2013-06-02 15:23:41 +02:00
|
|
|
post-patch:
|
2018-09-03 15:12:27 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
|
|
|
-e 's|%%PERL_VER%%|${PERL_VER}|g' \
|
|
|
|
${WRKSRC}/plugins/perl/meson.build
|
2013-06-02 15:23:41 +02:00
|
|
|
|
|
|
|
post-install:
|
2016-07-20 21:18:30 +02:00
|
|
|
${LN} -sf ../share/icons/hicolor/48x48/apps/${PORTNAME}.png \
|
2014-04-01 19:54:02 +02:00
|
|
|
${STAGEDIR}${PREFIX}/share/pixmaps/
|
2016-07-20 21:18:30 +02:00
|
|
|
|
|
|
|
post-install-DOCS-on:
|
2013-10-04 23:59:14 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
2014-09-12 12:41:59 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/*.md ${STAGEDIR}${DOCSDIR}
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2015-06-26 15:23:56 +02:00
|
|
|
.include <bsd.port.mk>
|