blob: ceaa57869032beb85061d4a88ac2dcf920bd109b (
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
|
PORTNAME= owncloudclient
DISTVERSION= 2.8.2
DISTVERSIONSUFFIX= .4246
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= https://download.owncloud.com/desktop/ownCloud/stable/${DISTVERSION}${DISTVERSIONSUFFIX}/source/
DISTNAME= ownCloud-${DISTVERSION}${DISTVERSIONSUFFIX}
PATCH_SITES= https://github.com/owncloud/client/commit/
PATCHFILES= ff43c9394b45dd78106069ba89ae92f25abba158.patch:-p1
MAINTAINER= daniel@morante.net
COMMENT= OwnCloud Desktop Syncing Client
WWW= https://github.com/owncloud/client
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libinotify.so:devel/libinotify \
libqt5keychain.so:security/qtkeychain@qt5
USES= cmake:noninja compiler:c++11-lib desktop-file-utils gmake \
iconv kde:5 localbase:ldflags pkgconfig qt:5 shared-mime-info \
sqlite tar:xz
USE_KDE= completion config coreaddons jobwidgets kio service \
widgetsaddons windowsystem
USE_LDCONFIG= yes
USE_QT= concurrent core dbus gui network sql webkit widgets xml \
buildtools_build linguist_build qmake_build
CMAKE_ARGS= -DCMAKE_INSTALL_MANDIR:STRING=man \
-DSYSCONF_INSTALL_DIR="${PREFIX}/etc"
CMAKE_OFF= BUILD_WITH_QT4 WITH_DOC WITH_STACK_PROTECTOR
PLIST_SUB= VERSION=${PORTVERSION}
OPTIONS_DEFINE= DEBUG
DEBUG_CMAKE_ON= -DCMAKE_BUILD_TYPE:STRING=Debug
post-patch:
@${REINPLACE_CMD} -e \
's|.lst |.lst.sample |' ${WRKSRC}/CMakeLists.txt
pre-configure:
@cd ${WRKSRC} && ${CP} -f sync-exclude.lst sync-exclude.lst.sample
.include <bsd.port.mk>
|