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

Collapse All | Expand All

(-)Makefile (-22 / +26 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	hexchat
4
PORTNAME=	hexchat
5
PORTVERSION=	2.10.2
5
PORTVERSION=	2.12.1
6
CATEGORIES=	irc gnome ipv6
6
CATEGORIES=	irc gnome ipv6
7
MASTER_SITES=	http://dl.hexchat.net/${PORTNAME}/
7
MASTER_SITES=	http://dl.hexchat.net/${PORTNAME}/
8
8
Lines 11-26 Link Here
11
11
12
LICENSE=	GPLv2
12
LICENSE=	GPLv2
13
13
14
LIB_DEPENDS=	libproxy.so:net/libproxy
14
LIB_DEPENDS=	libproxy.so:net/libproxy \
15
		libfontconfig.so:x11-fonts/fontconfig \
16
		libdbus-1.so:devel/dbus \
17
		libfreetype.so:print/freetype2
15
18
16
USES=		gmake desktop-file-utils libtool pkgconfig tar:xz
19
USES=		gmake desktop-file-utils libtool pkgconfig tar:xz ssl
17
USE_GNOME=	gtk20 intltool libxml2
20
USE_GNOME=	cairo gtk20 intltool libxml2
21
USE_XORG=	x11
18
GNU_CONFIGURE=	yes
22
GNU_CONFIGURE=	yes
19
CONFIGURE_ARGS+=--enable-openssl --enable-gtkfe --disable-sysinfo \
23
CONFIGURE_ARGS+=--enable-openssl --enable-gtkfe --disable-sysinfo \
20
		--with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig
24
		--with-pkgconfigdir=${LOCALBASE}/libdata/pkgconfig \
25
		LUA=lua-${LUA_VER}
21
INSTALLS_ICONS=	yes
26
INSTALLS_ICONS=	yes
22
INSTALL_TARGET=	install-strip
27
INSTALL_TARGET=	install-strip
23
USE_OPENSSL=	yes
24
28
25
CPPFLAGS+=	-I${LOCALBASE}/include
29
CPPFLAGS+=	-I${LOCALBASE}/include
26
LIBS+=		-L${LOCALBASE}/lib -lX11
30
LIBS+=		-L${LOCALBASE}/lib -lX11
Lines 29-38 Link Here
29
33
30
PORTDOCS=	*
34
PORTDOCS=	*
31
35
32
OPTIONS_DEFINE=		CA_BUNDLE CANBERRA DBUS DOAT DOCS FISHLIM NLS NOTIFY \
36
OPTIONS_DEFINE=		CA_BUNDLE CANBERRA DBUS DOAT DOCS FISHLIM LUA NLS NOTIFY \
33
			PERL PYTHON SOCKS TEXTFE
37
			PERL PYTHON SOCKS TEXTFE
34
38
35
OPTIONS_DEFAULT=	CA_BUNDLE CANBERRA DBUS NOTIFY PERL PYTHON
39
OPTIONS_DEFAULT=	CA_BUNDLE CANBERRA DBUS LUA NOTIFY PERL PYTHON
36
40
37
OPTIONS_SUB=	yes
41
OPTIONS_SUB=	yes
38
42
Lines 45-65 Link Here
45
49
46
CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
50
CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
47
CANBERRA_LIB_DEPENDS=	libcanberra.so:audio/libcanberra
51
CANBERRA_LIB_DEPENDS=	libcanberra.so:audio/libcanberra
48
CANBERRA_CONFIGURE_ENABLE=	libcanberra
52
CANBERRA_CONFIGURE_ENABLE=libcanberra
49
DBUS_LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib
53
DBUS_LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib
50
DBUS_CONFIGURE_ENABLE=	dbus
54
DBUS_CONFIGURE_ENABLE=	dbus
51
DOAT_CONFIGURE_ENABLE=	doat
55
DOAT_CONFIGURE_ENABLE=	doat
52
FISHLIM_CONFIGURE_ENABLE=	fishlim
56
FISHLIM_CONFIGURE_ENABLE=fishlim
57
LUA_CONFIGURE_ENABLE=	lua
58
LUA_USES=		lua
53
NLS_CONFIGURE_ENABLE=	nls
59
NLS_CONFIGURE_ENABLE=	nls
54
NLS_USES=		gettext
60
NLS_USES=		gettext
55
NLS_USES_OFF=		gettext-tools # doesn't build otherwise
61
NLS_USES_OFF=		gettext-tools # doesn't build otherwise
56
NOTIFY_RUN_DEPENDS=	notify-send:devel/libnotify
62
NOTIFY_RUN_DEPENDS=	notify-send:devel/libnotify
57
NOTIFY_CONFIGURE_ENABLE=	libnotify
63
NOTIFY_CONFIGURE_ENABLE=libnotify
58
PERL_CONFIGURE_ENABLE=	perl
64
PERL_CONFIGURE_ENABLE=	perl
59
PYTHON_CONFIGURE_ENABLE=	python
65
PERL_USES=		perl5
66
PYTHON_CONFIGURE_ENABLE=python
67
PYTHON_USES=		python
60
SOCKS_LIB_DEPENDS=	libsocks.so:net/dante
68
SOCKS_LIB_DEPENDS=	libsocks.so:net/dante
61
SOCKS_CONFIGURE_ENABLE=	socks
69
SOCKS_CONFIGURE_ENABLE=	socks
62
TEXTFE_CONFIGURE_ENABLE=	textfe
70
TEXTFE_CONFIGURE_ENABLE=textfe
63
71
64
.include <bsd.port.options.mk>
72
.include <bsd.port.options.mk>
65
73
Lines 73-96 Link Here
73
CA_BUNDLE=	NULL
81
CA_BUNDLE=	NULL
74
.endif
82
.endif
75
83
76
.if ${PORT_OPTIONS:MPYTHON}
84
.if ${PORT_OPTIONS:MDBUS}
77
USES+=	python
85
USE_GNOME+=	gconf2
78
.endif
86
.endif
79
87
80
.if ${PORT_OPTIONS:MPERL}
88
.if ${PORT_OPTIONS:MLUA}
81
USES+=		perl5
89
USE_GCC=	any
82
.endif
90
.endif
83
91
84
.if ${PORT_OPTIONS:MDBUS}
85
USE_GNOME+=	gconf2
86
.endif
87
88
post-patch:
92
post-patch:
89
	@${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \
93
	@${REINPLACE_CMD} -e 's|%%CA_BUNDLE%%|${CA_BUNDLE}|' \
90
		${WRKSRC}/src/common/server.c
94
		${WRKSRC}/src/common/server.c
91
95
92
post-install:
96
post-install:
93
	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
97
	${LN} -sf ../share/icons/hicolor/48x48/apps/${PORTNAME}.png \
94
		${STAGEDIR}${PREFIX}/share/pixmaps/
98
		${STAGEDIR}${PREFIX}/share/pixmaps/
95
.if ${PORT_OPTIONS:MDOCS}
99
.if ${PORT_OPTIONS:MDOCS}
96
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
100
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (hexchat-2.10.2.tar.xz) = 87ebf365c576656fa3f23f51d319b3a6d279e4a932f2f8961d891dd5a5e1b52c
1
TIMESTAMP = 1468413582
2
SIZE (hexchat-2.10.2.tar.xz) = 1529732
2
SHA256 (hexchat-2.12.1.tar.xz) = 5201b0c6d17dcb8c2cb79e9c39681f8e052999ba8f7b5986d5c1e7dc68fa7c6b
3
SIZE (hexchat-2.12.1.tar.xz) = 1585532

Return to bug 211083