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

Collapse All | Expand All

(-)dxirc/Makefile (-36 / +25 lines)
Lines 1-10 Link Here
1
# $FreeBSD: head/irc/dxirc/Makefile 422140 2016-09-14 15:59:34Z mat $
1
# $FreeBSD$
2
2
3
PORTNAME=	dxirc
3
PORTNAME=	dxirc
4
PORTVERSION=	1.10.0
4
PORTVERSION=	1.30.0
5
PORTREVISION=	3
5
PORTREVISION=	1
6
CATEGORIES=	irc
6
CATEGORIES=	irc
7
MASTER_SITES=	GOOGLE_CODE
7
MASTER_SITES=	SF/dxirc/1.30.0
8
8
9
MAINTAINER=	arch_dvx@users.sourceforge.net
9
MAINTAINER=	arch_dvx@users.sourceforge.net
10
COMMENT=	Simple IRC client written using the FOX toolkit
10
COMMENT=	Simple IRC client written using the FOX toolkit
Lines 12-76 Link Here
12
LICENSE=	GPLv3
12
LICENSE=	GPLv3
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
BROKEN=		Unfetchable (google code has gone away)
15
LIB_DEPENDS=	libFOX-1.6.so:${PORTSDIR}/x11-toolkits/fox16
16
17
LIB_DEPENDS=	libFOX-1.6.so:x11-toolkits/fox16
18
16
19
USE_XORG=	xft
17
USE_XORG=	xft
20
USES=		gmake pkgconfig
18
USES=		cmake pkgconfig
21
GNU_CONFIGURE=	yes
22
CPPFLAGS+=	-I${LOCALBASE}/include
19
CPPFLAGS+=	-I${LOCALBASE}/include
23
LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
20
LDFLAGS+=	-lpthread -L${LOCALBASE}/lib
24
21
25
OPTIONS_DEFINE=	NLS TRAY IPV6 SSL LUA ENCHANT NOTIFY DOCS
22
USE_QT5=	gui network buildtools
23
24
OPTIONS_DEFINE=	NLS TRAY IPV6 SSL LUA ENCHANT DOCS
26
OPTIONS_DEFAULT=	TRAY SSL LUA
25
OPTIONS_DEFAULT=	TRAY SSL LUA
27
26
28
TRAY_DESC=	Trayicon
27
TRAY_DESC=	Trayicon for FOX toolkit
29
ENCHANT_DESC=	Spellchecking support
28
ENCHANT_DESC=	Spellchecking support
30
NOTIFY_DESC=	Libnotify support
29
LUA_DESC=	Lua scripting support
31
30
32
PORTDOCS=	README
31
PORTDOCS=	README
33
32
34
.include <bsd.port.options.mk>
33
.include <bsd.port.options.mk>
35
34
36
.if ${PORT_OPTIONS:MNLS}
35
NLS_USES=	gettext
37
CONFIGURE_ARGS+=	--disable-nls
38
PLIST_SUB+=	NLS="@comment "
39
.else
40
USES+=		gettext
41
PLIST_SUB+=	NLS=""
42
.endif
43
36
44
.if ! ${PORT_OPTIONS:MTRAY}
37
.if ${PORT_OPTIONS:MTRAY}
45
CONFIGURE_ARGS+=	--disable-tray
38
CMAKE_ARGS+=	-DFOX_HAVE_TRAY=true
39
.else
40
CMAKE_ARGS+=	-DFOX_HAVE_TRAY=false
46
.endif
41
.endif
47
42
48
.if ! ${PORT_OPTIONS:MIPV6}
43
.if ${PORT_OPTIONS:MIPV6}
49
CONFIGURE_ARGS+=	--disable-ipv6
44
CMAKE_ARGS+=	-DFOX_ENABLE_IPV6=true
45
.else
46
CMAKE_ARGS+=	-DFOX_ENABLE_IPV6=false
50
.endif
47
.endif
51
48
52
.if ${PORT_OPTIONS:MSSL}
49
.if ${PORT_OPTIONS:MSSL}
53
USE_OPENSSL=	yes
50
USE_OPENSSL=	yes
54
.else
55
CONFIGURE_ARGS+=	--disable-ssl
56
.endif
51
.endif
57
52
58
.if ${PORT_OPTIONS:MLUA}
53
.if ${PORT_OPTIONS:MLUA}
59
USES+=		lua:51
54
USES+=		lua
60
CONFIGURE_ENV+=	LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
55
CONFIGURE_ENV+=	LUA_CFLAGS="-I${LUA_INCDIR}" LUA_LIBS="-L${LUA_LIBDIR} -llua-${LUA_VER}"
61
CONFIGURE_ARGS+=	--enable-lua
62
.else
63
CONFIGURE_ARGS+=	--disable-lua
64
.endif
56
.endif
65
57
66
.if ${PORT_OPTIONS:MENCHANT}
58
.if ${PORT_OPTIONS:MENCHANT}
67
LIB_DEPENDS+=	libenchant.so:textproc/enchant
59
LIB_DEPENDS+=	libenchant.so:${PORTSDIR}/textproc/enchant
68
CONFIGURE_ARGS+=	--enable-enchant
60
CMAKE_ARGS+=	-DHAVE_ENCHANT=true
69
.endif
61
.else
70
62
CMAKE_ARGS+=	-DHAVE_ENCHANT=false
71
.if ${PORT_OPTIONS:MNOTIFY}
72
LIB_DEPENDS+=	libnotify.so:devel/libnotify
73
CONFIGURE_ARGS+=	--enable-libnotify
74
.endif
63
.endif
75
64
76
post-install:
65
post-install:
(-)dxirc/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (dxirc-1.10.0.tar.gz) = 92c2827cde8b08cca3b5595d05beab727afce8dc9d30fdbb71face6be567ec65
1
SHA256 (dxirc-1.30.0.tar.gz) = 8a98441f8e3ce3a77e5af8f783e439690ac08f7672616a03151b9892e9ff948d
2
SIZE (dxirc-1.10.0.tar.gz) = 1496185
2
SIZE (dxirc-1.30.0.tar.gz) = 1300576
(-)dxirc/pkg-descr (-2 / +2 lines)
Lines 1-4 Link Here
1
dxirc is a simple IRC client for various os (Linux, *BSD, Windows), written
1
dxirc is a simple IRC client for various os (linux, *bsd, windows), written
2
using the FOX toolkit.
2
using the FOX toolkit or Qt toolkit.
3
3
4
WWW: http://www.dxirc.org/
4
WWW: http://www.dxirc.org/
(-)dxirc/pkg-plist (-5 / +14 lines)
Lines 1-11 Link Here
1
bin/dxirc
1
bin/dxirc-fox
2
share/applications/dxirc.desktop
2
bin/dxirc-qt
3
share/pixmaps/dxirc.png
3
share/applications/dxirc-fox.desktop
4
share/applications/dxirc-qt.desktop
5
share/icons/hicolor/48x48/apps/dxirc.png
4
%%DATADIR%%/COPYING
6
%%DATADIR%%/COPYING
5
%%DATADIR%%/icons/arrow_down.png
7
%%DATADIR%%/icons/arrow_down.png
6
%%DATADIR%%/icons/arrow_refresh.png
8
%%DATADIR%%/icons/arrow_refresh.png
7
%%DATADIR%%/icons/arrow_up.png
9
%%DATADIR%%/icons/arrow_up.png
8
%%DATADIR%%/icons/big_dxirc.png
10
%%DATADIR%%/icons/big_dxirc.png
11
%%DATADIR%%/icons/black_dxirc.png
12
%%DATADIR%%/icons/bnewfile.png
13
%%DATADIR%%/icons/bnewm.png
9
%%DATADIR%%/icons/cancel.png
14
%%DATADIR%%/icons/cancel.png
10
%%DATADIR%%/icons/channel.png
15
%%DATADIR%%/icons/channel.png
11
%%DATADIR%%/icons/chnewm.png
16
%%DATADIR%%/icons/chnewm.png
Lines 17-26 Link Here
17
%%DATADIR%%/icons/dccnewm.png
22
%%DATADIR%%/icons/dccnewm.png
18
%%DATADIR%%/icons/disconnect.png
23
%%DATADIR%%/icons/disconnect.png
19
%%DATADIR%%/icons/door_out.png
24
%%DATADIR%%/icons/door_out.png
25
%%DATADIR%%/icons/dxirc.png
20
%%DATADIR%%/icons/file.png
26
%%DATADIR%%/icons/file.png
21
%%DATADIR%%/icons/find.png
27
%%DATADIR%%/icons/find.png
22
%%DATADIR%%/icons/folder.png
28
%%DATADIR%%/icons/folder.png
23
%%DATADIR%%/icons/folder_go.png
29
%%DATADIR%%/icons/folder_go.png
30
%%DATADIR%%/icons/ft.png
31
%%DATADIR%%/icons/groupclose.png
32
%%DATADIR%%/icons/groupopen.png
24
%%DATADIR%%/icons/help.png
33
%%DATADIR%%/icons/help.png
25
%%DATADIR%%/icons/keyboard.png
34
%%DATADIR%%/icons/keyboard.png
26
%%DATADIR%%/icons/logs.png
35
%%DATADIR%%/icons/logs.png
Lines 286-290 Link Here
286
%%DATADIR%%/icons/smileys/smile.png
295
%%DATADIR%%/icons/smileys/smile.png
287
%%DATADIR%%/icons/smileys/tongue.png
296
%%DATADIR%%/icons/smileys/tongue.png
288
%%DATADIR%%/icons/smileys/unhappy.png
297
%%DATADIR%%/icons/smileys/unhappy.png
289
%%NLS%%share/locale/cs/LC_MESSAGES/dxirc.mo
298
share/locale/cs/LC_MESSAGES/dxirc.mo
290
%%NLS%%share/locale/sk/LC_MESSAGES/dxirc.mo
299
share/locale/sk/LC_MESSAGES/dxirc.mo

Return to bug 210234