aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/eiskaltdc/Makefile
blob: 7634508c1d26c81b41b5de51ac026a4267b10108 (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
# New ports collection makefile for: net-p2p/eiskaltdc
# Date created:     28 Aug 2009
# Whom:         Stas Timokhin <stast@bsdportal.ru>
#
# $FreeBSD$
#

PORTNAME=   eiskaltdcpp
PORTVERSION=    2.0.3
CATEGORIES= net-p2p
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= gelraen.ua@gmail.com
COMMENT=    A Direct Connect client QT GUI

LIB_DEPENDS=    upnp.3:${PORTSDIR}/devel/upnp \
        boost_system.4:${PORTSDIR}/devel/boost-libs
RUN_DEPENDS=    ${LOCALBASE}/share/icons/hicolor/index.theme:${PORTSDIR}/misc/hicolor-icon-theme

PROJECTHOST=    eiskaltdc

USE_BZIP2=  yes
USE_GCC=    4.2+
USE_CMAKE=  yes
USE_QT_VER= 4
USE_OPENSSL=    yes
QT_COMPONENTS=  gui xml dbus network sql qmake_build uic_build \
        moc_build rcc_build linguist_build
MAKE_JOBS_SAFE= yes

MAN1=       ${PORTNAME}.1
MANCOMPRESSED=  yes

OPTIONS=    ASPELL "Spell checking support" off

.include <bsd.port.options.mk>

.if defined(WITH_ASPELL)
LIB_DEPENDS+=   aspell.16:${PORTSDIR}/textproc/aspell
CMAKE_ARGS+=    -DUSE_ASPELL:BOOL=on
.else
CMAKE_ARGS+=    -DUSE_ASPELL:BOOL=0
.endif

.if ${OSVERSION} < 700024
USE_OPENSSL_PORT=yes
.endif

pre-configure:
    ${REINPLACE_CMD} -e 's,share/man/,man/,g' \
        ${WRKSRC}/${PORTNAME}/CMakeLists.txt

.include <bsd.port.mk>