File:  [cvs.NetBSD.org] / pkgsrc / net / owncloudclient / Makefile
Revision 1.26: download - view: text, annotated - select for diffs
Fri May 22 10:56:30 2020 UTC (4 years, 6 months ago) by adam
Branches: MAIN
CVS tags: HEAD
revbump after updating security/nettle

# $NetBSD: Makefile,v 1.26 2020/05/22 10:56:30 adam Exp $

DISTNAME=	owncloudclient-2.2.3
PKGREVISION=	13
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

BROKEN=		"Fails to build with OpenSSL 1.1"

# 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"

CVSweb <webmaster@jp.NetBSD.org>