aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/psi/Makefile
blob: 5d6191e147746c58749f5366bcd39a773f4c6bc2 (plain) (blame)
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
# Created by: Jonathan Chen <jonc@chen.org.nz>
# $FreeBSD$

PORTNAME=   psi
DISTVERSION=    1.3
CATEGORIES= net-im
MASTER_SITES=   SF/${PORTNAME}/Psi/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Qt based Jabber client

LICENSE=    GPLv2

LIB_DEPENDS=    libidn.so:dns/libidn \
        libminizip.so:archivers/minizip \
        libqca-qt5.so:devel/qca@qt5

USES=       cmake desktop-file-utils pkgconfig qt:5 tar:xz

CMAKE_ARGS= -DIDN_LIBRARY=${LOCALBASE}/lib/libidn.so \
        -DIDN_INCLUDE_DIR=${LOCALBASE}/include \
        -DUSE_WEBENGINE:BOOL=FALSE

USE_QT=     concurrent core dbus gui multimedia network svg webkit widgets \
        x11extras xml \
        buildtools_build qmake_build imageformats_run
USE_XORG=   ice sm x11 xcb xext xscrnsaver

OPTIONS_RADIO=  SPELLCHECKER
OPTIONS_RADIO_SPELLCHECKER= HUNSPELL ENCHANT
OPTIONS_DEFAULT=    ENCHANT

HUNSPELL_DESC=  Use hunspell for spell checking
HUNSPELL_LIB_DEPENDS=   libhunspell-1.6.so:textproc/hunspell
HUNSPELL_CMAKE_BOOL=    USE_HUNSPELL

ENCHANT_DESC=   Use Enchant for spell checking
ENCHANT_LIB_DEPENDS=    libenchant.so:textproc/enchant
ENCHANT_CMAKE_BOOL= USE_ENCHANT

.include <bsd.port.mk>