aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/seafile-gui/Makefile
blob: 3b93a92325b0514a1c063700d1433739536fb0ef (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
# $FreeBSD$

PORTNAME=   seafile-gui
PORTVERSION=    3.1.5
CATEGORIES= net-mgmt

MAINTAINER= yan_jingfeng@yahoo.com
COMMENT=    Seafile desktop client

LICENSE=    APACHE20

LIB_DEPENDS+=   libglib-2.0.so:${PORTSDIR}/devel/glib20 \
        libsearpc.so:${PORTSDIR}/devel/libsearpc \
        libseafile.so:${PORTSDIR}/net-mgmt/seafile \
        libsqlite3.so:${PORTSDIR}/databases/sqlite3 \
        libccnet.so:${PORTSDIR}/net-mgmt/ccnet \
        libjansson.so:${PORTSDIR}/devel/jansson

USE_GITHUB= yes
GH_ACCOUNT= haiwen
GH_PROJECT= seafile-client
GH_TAGNAME= v3.1.5
GH_COMMIT=  ce808db

USES=       cmake pkgconfig
USE_QT4=    corelib dbus gui network \
        qmake_build moc_build rcc_build uic_build \
        linguist_build
USE_OPENSSL=    yes
INSTALLS_ICONS= yes
LRELEASE=   ${PREFIX}/bin/lrelease-qt4
CMAKE_ARGS+=    -DCMAKE_INCLUDE_PATH:PATH=include/glib-2.0

WITH_OPENSSL_PORT=  yes
CMAKE_BUILD_TYPE=   Release

.include <bsd.port.mk>