ocsync is the ownCloud version of csync. Note that no @pkgpath nor quirks will be added because the "official" csync client may appear in-tree. ok jasper@
51 lines
1.1 KiB
Makefile
51 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2012/10/16 09:41:44 ajacoutot Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= bidirectional directories synchronizer (owncloud version)
|
|
|
|
DISTNAME= ocsync-0.60.0
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://www.csync.org/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2+
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
WANTLIB += c crypto iniparser log4c neon pthread smbclient sqlite3
|
|
WANTLIB += ssh ssl
|
|
|
|
MASTER_SITES= http://download.owncloud.com/download/
|
|
|
|
MODULES= devel/cmake
|
|
|
|
BUILD_DEPENDS= devel/check \
|
|
devel/doxygen
|
|
|
|
LIB_DEPENDS= devel/iniparser \
|
|
devel/log4c \
|
|
net/neon \
|
|
net/samba \
|
|
security/libssh
|
|
|
|
# csync_owncloud requires -pthread:
|
|
# dlopen: failed to open libpthread.so.XX.X
|
|
CONFIGURE_ARGS= -DCMAKE_C_FLAGS="${CFLAGS} -pthread" \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DMAN_INSTALL_DIR=${PREFIX}/man \
|
|
-DSYSCONFDIR=${SYSCONFDIR} \
|
|
-DSYSCONF_INSTALL_DIR=${PREFIX}/share/examples \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
NO_REGRESS= Yes
|
|
USE_GROFF= Yes
|
|
|
|
.include <bsd.port.mk>
|