summaryrefslogtreecommitdiffstats
path: root/net-p2p/eiskaltdcpp-data/Makefile
blob: 78f68906bd2fcc391d6561c34265786e2fc2b830 (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
# Created by: Stas Timokhin <stast@bsdportal.ru>
# $FreeBSD$

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

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
php_OLD_CMD=	/usr/bin/php5
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_BOOL=	WITH_EMOTICONS
EXAMPLES_CMAKE_BOOL=	WITH_EXAMPLES
LUASCRIPTS_CMAKE_BOOL=	WITH_LUASCRIPTS LUA_SCRIPT
SOUNDS_CMAKE_BOOL=	WITH_SOUNDS

.include "${MASTERDIR}/Makefile"
OpenPOWER on IntegriCloud