aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/eiskaltdcpp-data/Makefile
blob: c7e6e021c7e3b98a49255a105381811c38160a61 (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
42
43
44
45
46
47
48
49
50
# Created by: Stas Timokhin <stast@bsdportal.ru>
# $FreeBSD$

PORTNAME=   eiskaltdcpp
CATEGORIES= net-p2p
PKGNAMESUFFIX=  -data

MAINTAINER= ports@FreeBSD.org
COMMENT=    Shared data for EiskaltDC++ GUIs

LICENSE=    GPLv3

MASTERDIR=  ${.CURDIR}/../eiskaltdcpp-lib

USES=       cmake shebangfix
SHEBANG_FILES=  data/examples/commands.ru_RU.UTF-8.php \
        data/examples/deadbeef.ru_RU.UTF-8.sh \
        data/examples/mod.amarok.sh \
        data/examples/mpris_now_playing.en_US.sh \
        data/examples/xmms2_audacious2.ru_RU.UTF-8.php \
        data/update_geoip
NO_ARCH=    yes
NO_BUILD=   yes
INSTALLS_ICONS= yes

CMAKE_SOURCE_PATH=  ${WRKSRC}/data

OPTIONS_DEFINE= EMOTICONS EXAMPLES LUASCRIPTS SOUNDS
OPTIONS_DEFAULT=    EMOTICONS SOUNDS
OPTIONS_SUB=    yes
EMOTICONS_DESC=     Install emoticons
EXAMPLES_DESC=      Install script examples
LUASCRIPTS_DESC=    Install lua script examples
SOUNDS_DESC=        Install sound files

CMAKE_ARGS=     -Wno-dev \
            -DUSE_GTK:BOOL=ON \
            -DCLIENT_DATA_DIR=${DATADIR} \
            -DSHARE_DIR=${LOCALBASE}/share

EMOTICONS_CMAKE_ON= -DWITH_EMOTICONS:BOOL=ON
EMOTICONS_CMAKE_OFF=    -DWITH_EMOTICONS:BOOL=OFF
EXAMPLES_CMAKE_ON=  -DWITH_EXAMPLES:BOOL=ON
EXAMPLES_CMAKE_OFF= -DWITH_EXAMPLES:BOOL=OFF
LUASCRIPTS_CMAKE_ON=    -DWITH_LUASCRIPTS:BOOL=ON -DLUA_SCRIPT:BOOL=ON
LUASCRIPTS_CMAKE_OFF=   -DWITH_LUASCRIPTS:BOOL=OFF
SOUNDS_CMAKE_ON=    -DWITH_SOUNDS:BOOL=ON
SOUNDS_CMAKE_OFF=   -DWITH_SOUNDS:BOOL=OFF

.include "${MASTERDIR}/Makefile"