summaryrefslogtreecommitdiff
path: root/irc/dxirc/Makefile
blob: 5e00b37e1036929a301e101ea8be70fe36d62f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48

PORTNAME=	dxirc
PORTVERSION=	1.30.0
PORTREVISION=	3
CATEGORIES=	irc
MASTER_SITES=	SF/${PORTNAME}/${PORTVERSION}

MAINTAINER=	arch_dvx@users.sourceforge.net
COMMENT=	Simple IRC client

LICENSE=	GPLv3+
LICENSE_FILE=	${WRKSRC}/COPYING

USES=		cmake compiler:c++11-lang gnome pkgconfig xorg
USE_XORG=	ice sm x11 xext
INSTALLS_ICONS=	yes

OPTIONS_DEFINE=		NLS LUA ENCHANT NOTIFY
OPTIONS_SINGLE=		GUI
OPTIONS_SINGLE_GUI=	FOX16 QT5
OPTIONS_DEFAULT=	LUA QT5
OPTIONS_SUB=		yes

ENCHANT_DESC=		Spell checking support via Enchant
ENCHANT_LIB_DEPENDS=	libenchant.so:textproc/enchant
ENCHANT_CMAKE_BOOL=	HAVE_ENCHANT

FOX16_DESC=		FOX 1.6 toolkit support
FOX16_LIB_DEPENDS=	libFOX-1.6.so:x11-toolkits/fox16
FOX16_USES=		ssl
FOX16_CMAKE_ON=		-DFOX_ENABLE_IPV6:BOOL=ON \
			-DBUILD_FOX:BOOL=ON -DBUILD_QT:BOOL=OFF
FOX16_CMAKE_OFF=	-DBUILD_FOX:BOOL=OFF -DBUILD_QT:BOOL=ON

LUA_USES=		lua
LUA_CMAKE_BOOL=		WITH_LUA

NLS_USES=		gettext
NLS_CMAKE_BOOL=		WITH_NLS

NOTIFY_RUN_DEPENDS=	notify-send:devel/libnotify

QT5_USES=	qt:5
QT5_USE=		QT=core,gui,multimedia,network,widgets \
			QT=buildtools_build,qmake_build
QT5_CMAKE_ON=		-DQT5:BOOL=ON

.include <bsd.port.mk>