blob: 9be1749f319090e961a4ab1428b5ecc4932ac911 (
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
|
# New ports collection makefile for: net-p2p/eiskaltdc
# Date created: 28 Aug 2009
# Whom: Stas Timokhin <stast@bsdportal.ru>
#
# $FreeBSD$
#
PORTNAME= eiskaltdcpp-gtk
PORTVERSION= 2.2.4
PORTREVISION= 2
CATEGORIES= net-p2p
MASTER_SITES= GOOGLE_CODE
DISTNAME= eiskaltdcpp-${DISTVERSION}
MAINTAINER= gelraen.ua@gmail.com
COMMENT= EiskaltDC++ Direct Connect client GTK GUI
LICENSE= GPLv3
RUN_DEPENDS= ${LOCALBASE}/share/eiskaltdcpp/keep_me:${PORTSDIR}/net-p2p/eiskaltdcpp-data
LIB_DEPENDS= eiskaltdcpp:${PORTSDIR}/net-p2p/eiskaltdcpp-lib
BUILD_DEPENDS+= chrpath:${PORTSDIR}/devel/chrpath
BROKEN= does not build
CMAKE_ARGS+= -DBUILD_LIB:BOOL=OFF
PROJECTHOST= eiskaltdc
USE_XZ= yes
USE_GCC= 4.6+
USES= cmake
USE_GETTEXT= yes
USE_OPENSSL= yes
MAKE_JOBS_SAFE= yes
MAN1= ${PORTNAME}.1
MANCOMPRESSED= yes
OPTIONS= MINIUPNP "UPnP support" on \
LIBGNOME2 "Sound notification support" off \
LIBNOTIFY "Popup notification support" on
USE_GNOME= pango gtk20 glib20
CMAKE_ARGS+= -DUSE_QT:BOOL=OFF
CMAKE_ARGS+= -DUSE_GTK:BOOL=ON
CMAKE_ARGS+= -DEISKALTDCPP_INCLUDE_DIR:STRING="${LOCALBASE}/include/eiskaltdcpp"
CMAKE_ARGS+= -DCREATE_MO:BOOL=ON
CMAKE_ARGS+= -DCMAKE_LIBRARY_PATH:PATH="${LOCALBASE}/lib:${PREFIX}/lib"
CMAKE_ARGS+= -DCMAKE_SKIP_RPATH:BOOL=ON
CMAKE_ARGS+= -DINSTALL_DATA:BOOL=OFF
.include <bsd.port.options.mk>
.if defined(WITH_MINIUPNP)
LIB_DEPENDS+= miniupnpc:${PORTSDIR}/net/miniupnpc
CMAKE_ARGS+= -DUSE_MINIUPNP:BOOL=ON -DLOCAL_MINIUPNP:BOOL=OFF
.else
CMAKE_ARGS+= -DUSE_MINIUPNP:BOOL=OFF
.endif
.if defined(WITH_LIBGNOME2)
USE_GNOME+= libgnome
CMAKE_ARGS+= -DUSE_LIBGNOME2:BOOL=ON
.else
CMAKE_ARGS+= -DUSE_LIBGNOME2:BOOL=OFF
.endif
.if defined(WITH_LIBNOTIFY)
LIB_DEPENDS+= notify:${PORTSDIR}/devel/libnotify
CMAKE_ARGS+= -DUSE_LIBNOTIFY:BOOL=ON
.else
CMAKE_ARGS+= -DUSE_LIBNOTIFY:BOOL=OFF
.endif
.if ${OSVERSION} < 700024
USE_OPENSSL_PORT=yes
.endif
post-build:
${LOCALBASE}/bin/chrpath -r "${_GCC_RUNTIME}" "${WRKSRC}/${PORTNAME}/${PORTNAME}"
.include <bsd.port.mk>
|