41 lines
1.3 KiB
Makefile
41 lines
1.3 KiB
Makefile
# $NetBSD: Makefile,v 1.34 2021/12/08 16:06:05 adam Exp $
|
|
|
|
DISTNAME= ownCloud-2.7.6.3261
|
|
PKGNAME= ${DISTNAME:S/ownCloud/owncloudclient/1}
|
|
PKGREVISION= 2
|
|
CATEGORIES= net
|
|
MASTER_SITES= https://download.owncloud.com/desktop/ownCloud/stable/${PKGVERSION_NOREV}/source/
|
|
EXTRACT_SUFX= .tar.xz
|
|
|
|
MAINTAINER= ryoon@NetBSD.org
|
|
HOMEPAGE= https://owncloud.com/
|
|
COMMENT= Synchronization program for ownCloud
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_CMAKE= yes
|
|
USE_LANGUAGES= c c++
|
|
|
|
TOOL_DEPENDS+= extra-cmake-modules-[0-9]*:../../devel/extra-cmake-modules
|
|
|
|
CMAKE_ARGS+= -DSYSCONF_INSTALL_DIR=${PKG_SYSCONFDIR}
|
|
CMAKE_ARGS+= -DBUILD_SHELL_INTEGRATION=OFF
|
|
CMAKE_ARGS+= -DBUILD_TESTING=OFF
|
|
|
|
EGDIR= ${PREFIX}/share/examples/owncloudclient
|
|
CONF_FILES= ${EGDIR}/sync-exclude.lst \
|
|
${PKG_SYSCONFDIR}/ownCloud/sync-exclude.lst
|
|
|
|
OWN_DIRS+= ${PKG_SYSCONFDIR}/ownCloud
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
BUILDLINK_API_DEPENDS.sqlite3+= sqlite3>=3.9.0
|
|
.include "../../databases/sqlite3/buildlink3.mk"
|
|
.if ${OPSYS} != "Linux"
|
|
. include "../../devel/libinotify/buildlink3.mk"
|
|
.endif
|
|
.include "../../devel/zlib/buildlink3.mk"
|
|
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
|
|
.include "../../security/qt5-qtkeychain/buildlink3.mk"
|
|
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
|
|
.include "../../x11/qt5-qtbase/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|