blob: 1c7db3f1e85787f519c5044a6ff331c749e2447e (
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
|
# $NetBSD: Makefile,v 1.11 2016/04/11 19:02:01 ryoon Exp $
DISTNAME= owncloudclient-2.1.1
PKGREVISION= 1
CATEGORIES= net
MASTER_SITES= https://download.owncloud.com/desktop/stable/
EXTRACT_SUFX= .tar.xz
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= https://owncloud.com/
COMMENT= Synchronization program for ownCloud
LICENSE= gnu-gpl-v2
# Do not use libocsync.so from net/ocsync.
CONFLICTS= ocsync-[0-9]*
CONFLICTS= mirall-[0-9]*
USE_CMAKE= yes
USE_LANGUAGES= c c++
# I have no idea about CMake...
LDFLAGS+= ${COMPILER_RPATH_FLAG}${PREFIX}/lib/owncloud
ETCDIR= etc/ownCloud
MAKE_DIRS+= ${ETCDIR}
EGDIR= ${PREFIX}/share/examples/owncloud
INSTALLATION_DIRS= ${ETCDIR} share/examples/owncloud
CONF_FILES+= ${EGDIR}/sync-exclude.lst \
${PKG_SYSCONFDIR}/ownCloud/sync-exclude.lst
post-install:
mv ${DESTDIR}${PKG_SYSCONFDIR}/ownCloud/sync-exclude.lst \
${DESTDIR}${EGDIR}/sync-exclude.lst
.include "../../mk/dlopen.buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/libinotify/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../security/qt4-qtkeychain/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../www/neon/buildlink3.mk"
.include "../../x11/qt4-qdbus/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|