2c672a4de9
While here, make sure gtk-update-icon-cache is only on run dependency where added as a dependency Enforce gtk3 to depend on gtk-update-icon-cache (previously it was inheriting the dependency)
46 lines
1.2 KiB
Makefile
46 lines
1.2 KiB
Makefile
# Created by: Stas Timokhin <stast@bsdportal.ru>
|
|
|
|
PORTNAME= eiskaltdcpp
|
|
CATEGORIES= net-p2p
|
|
PKGNAMESUFFIX= -data
|
|
PORTREVISION= 20
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Shared data for EiskaltDC++ client GUIs
|
|
|
|
LICENSE= GPLv3
|
|
|
|
MASTERDIR= ${.CURDIR}/../eiskaltdcpp-lib
|
|
|
|
USES= cmake gnome 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
|
|
|
|
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"
|