View | Details | Raw Unified | Return to bug 235644 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-11 / +10 lines)
Lines 3-10 Link Here
3
3
4
PORTNAME=	hexchat
4
PORTNAME=	hexchat
5
PORTVERSION=	2.14.2
5
PORTVERSION=	2.14.2
6
PORTREVISION=	1
7
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
PORTREVISION=	2
8
CATEGORIES=	irc gnome ipv6
8
CATEGORIES=	irc gnome ipv6
9
9
10
MAINTAINER=	pkubaj@anongoth.pl
10
MAINTAINER=	pkubaj@anongoth.pl
Lines 21-31 Link Here
21
RUN_DEPENDS=	${LOCALBASE}/share/xml/iso-codes/iso_639.xml:misc/iso-codes
21
RUN_DEPENDS=	${LOCALBASE}/share/xml/iso-codes/iso_639.xml:misc/iso-codes
22
22
23
USES=		compiler:c++11-lang desktop-file-utils gettext-tools gnome \
23
USES=		compiler:c++11-lang desktop-file-utils gettext-tools gnome \
24
		libtool meson ninja pkgconfig shebangfix ssl
24
		libtool meson ninja pkgconfig python:3.5+ shebangfix ssl
25
USE_GNOME=	cairo gtk20 intltool libxml2
25
USE_GNOME=	cairo gtk20 intltool libxml2
26
USE_XORG=	x11
26
USE_XORG=	x11
27
USE_GITHUB=	yes
27
USE_GITHUB=	yes
28
MESON_ARGS=	-Dwith-ssl=true -Dwith-gtk=true
28
29
MESON_ARGS=	-Dwith-ssl=true -Dwith-gtk=true -Dwith-python=true -Dwith-python=python-${PYTHON_VER}
29
INSTALLS_ICONS=	yes
30
INSTALLS_ICONS=	yes
30
INSTALL_TARGET=	install-strip
31
INSTALL_TARGET=	install-strip
31
32
Lines 37-45 Link Here
37
PORTDOCS=	*
38
PORTDOCS=	*
38
39
39
OPTIONS_DEFINE=		CA_BUNDLE CANBERRA DBUS DOCS FISHLIM LUA NOTIFY \
40
OPTIONS_DEFINE=		CA_BUNDLE CANBERRA DBUS DOCS FISHLIM LUA NOTIFY \
40
			PERL PYTHON TEXTFE SYSINFO
41
			PERL TEXTFE SYSINFO
41
42
42
OPTIONS_DEFAULT=	CA_BUNDLE CANBERRA DBUS NOTIFY PERL PYTHON
43
OPTIONS_DEFAULT=	CA_BUNDLE CANBERRA DBUS NOTIFY PERL
43
44
44
OPTIONS_SUB=	yes
45
OPTIONS_SUB=	yes
45
46
Lines 66-80 Link Here
66
NOTIFY_MESON_TRUE=	with-libnotify
67
NOTIFY_MESON_TRUE=	with-libnotify
67
PERL_MESON_TRUE=	with-perl
68
PERL_MESON_TRUE=	with-perl
68
PERL_USES=		perl5
69
PERL_USES=		perl5
69
PYTHON_MESON_ON=	-Dwith-python=python-${PYTHON_VER}
70
PYTHON_MESON_OFF=	-Dwith-python=false
71
PYTHON_USES=		python:3.4+ shebangfix
72
PYTHON_VARS=		SHEBANG_FILES=meson_post_install.py
73
PYTHON_VARS+=		SHEBANG_FILES=plugins/perl/generate_header.py
74
PYTHON_VARS+=		SHEBANG_FILES=src/common/make-te.py
75
TEXTFE_MESON_TRUE=	with-text
70
TEXTFE_MESON_TRUE=	with-text
76
SYSINFO_MESON_TRUE=	with-sysinfo
71
SYSINFO_MESON_TRUE=	with-sysinfo
77
72
73
SHEBANG_FILES=	meson_post_install.py \
74
		plugins/perl/generate_header.py \
75
		src/common/make-te.py
76
78
post-patch:
77
post-patch:
79
	@${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \
78
	@${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \
80
		${WRKSRC}/src/common/server.c
79
		${WRKSRC}/src/common/server.c
(-)pkg-plist (-1 / +1 lines)
Lines 4-10 Link Here
4
lib/hexchat/plugins/checksum.so
4
lib/hexchat/plugins/checksum.so
5
%%FISHLIM%%lib/hexchat/plugins/fishlim.so
5
%%FISHLIM%%lib/hexchat/plugins/fishlim.so
6
%%PERL%%lib/hexchat/plugins/perl.so
6
%%PERL%%lib/hexchat/plugins/perl.so
7
%%PYTHON%%lib/hexchat/plugins/python.so
7
lib/hexchat/plugins/python.so
8
%%LUA%%%%LUA_LIBDIR%%/hexchat/plugins/lua.so
8
%%LUA%%%%LUA_LIBDIR%%/hexchat/plugins/lua.so
9
%%SYSINFO%%lib/hexchat/plugins/sysinfo.so
9
%%SYSINFO%%lib/hexchat/plugins/sysinfo.so
10
libdata/pkgconfig/hexchat-plugin.pc
10
libdata/pkgconfig/hexchat-plugin.pc

Return to bug 235644