2014-04-01 19:54:02 +02:00
|
|
|
# Created by: Rusmir Dusko <nemysis@FreeBSD.org>
|
2013-06-02 15:23:41 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= hexchat
|
2018-09-03 15:12:27 +02:00
|
|
|
PORTVERSION= 2.14.2
|
2017-06-06 18:18:16 +02:00
|
|
|
DISTVERSIONPREFIX= v
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 3
|
2013-06-02 15:23:41 +02:00
|
|
|
CATEGORIES= irc gnome ipv6
|
|
|
|
|
2016-07-20 21:18:30 +02:00
|
|
|
MAINTAINER= pkubaj@anongoth.pl
|
2013-06-02 15:23:41 +02:00
|
|
|
COMMENT= IRC chat program with GTK and Text Frontend
|
|
|
|
|
2016-07-20 21:18:30 +02:00
|
|
|
LICENSE= GPLv2+
|
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2018-04-13 15:11:07 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes
|
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
|
|
|
|
2018-10-27 02:17:36 +02:00
|
|
|
USES= compiler:c++11-lang desktop-file-utils gettext-tools gnome \
|
2019-02-11 17:40:06 +01:00
|
|
|
libtool meson ninja pkgconfig python:3.5+ shebangfix ssl
|
2016-07-20 21:18:30 +02:00
|
|
|
USE_GNOME= cairo gtk20 intltool libxml2
|
|
|
|
USE_XORG= x11
|
2017-06-06 18:18:16 +02:00
|
|
|
USE_GITHUB= yes
|
2019-02-11 17:40:06 +01:00
|
|
|
|
|
|
|
MESON_ARGS= -Dwith-ssl=true -Dwith-gtk=true -Dwith-python=python-${PYTHON_VER}
|
2013-06-02 15:23:41 +02:00
|
|
|
INSTALLS_ICONS= yes
|
2014-10-03 18:09:59 +02:00
|
|
|
INSTALL_TARGET= install-strip
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2014-10-03 18:09:59 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
2014-08-29 12:56:19 +02:00
|
|
|
LIBS+= -L${LOCALBASE}/lib -lX11
|
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= *
|
|
|
|
|
2018-04-13 15:11:07 +02:00
|
|
|
OPTIONS_DEFINE= CA_BUNDLE CANBERRA DBUS DOCS FISHLIM LUA NOTIFY \
|
2019-02-11 17:40:06 +01:00
|
|
|
PERL TEXTFE SYSINFO
|
2013-06-02 15:23:41 +02:00
|
|
|
|
2019-02-11 17:40:06 +01:00
|
|
|
OPTIONS_DEFAULT= CA_BUNDLE CANBERRA DBUS NOTIFY 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
|
2018-04-13 15:11:07 +02:00
|
|
|
CA_BUNDLE_VARS= CA_BUNDLE="${LOCALBASE}/share/certs/ca-root-nss.crt"
|
|
|
|
CA_BUNDLE_VARS_OFF= CA_BUNDLE=NULL
|
2016-04-01 16:08:37 +02:00
|
|
|
CANBERRA_LIB_DEPENDS= libcanberra.so:audio/libcanberra
|
2018-04-13 15:11:07 +02:00
|
|
|
CANBERRA_MESON_TRUE= with-libcanberra
|
2016-04-01 16:08:37 +02:00
|
|
|
DBUS_LIB_DEPENDS= libdbus-glib-1.so:devel/dbus-glib
|
2018-04-13 15:11:07 +02:00
|
|
|
DBUS_MESON_TRUE= with-dbus
|
2016-07-20 21:18:30 +02:00
|
|
|
DBUS_USE= GNOME=gconf2
|
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
|
|
|
|
LUA_USE= GCC=any
|
2018-04-13 15:11:07 +02:00
|
|
|
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
|
|
|
|
NOTIFY_MESON_TRUE= with-libnotify
|
|
|
|
PERL_MESON_TRUE= with-perl
|
2016-07-20 21:18:30 +02:00
|
|
|
PERL_USES= perl5
|
2018-04-13 15:11:07 +02:00
|
|
|
TEXTFE_MESON_TRUE= with-text
|
2018-08-01 22:19:59 +02:00
|
|
|
SYSINFO_MESON_TRUE= with-sysinfo
|
2014-04-12 17:21:22 +02:00
|
|
|
|
2019-02-11 17:40:06 +01:00
|
|
|
SHEBANG_FILES= meson_post_install.py \
|
|
|
|
plugins/perl/generate_header.py \
|
|
|
|
src/common/make-te.py
|
|
|
|
|
2013-06-02 15:23:41 +02:00
|
|
|
post-patch:
|
2014-04-12 17:21:22 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \
|
|
|
|
${WRKSRC}/src/common/server.c
|
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>
|