2013-11-03 00:13:43 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.14 2013/11/03 00:13:43 ajacoutot Exp $
|
2012-10-16 09:41:44 +00:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
|
|
|
COMMENT= bidirectional directories synchronizer (owncloud version)
|
|
|
|
|
2013-11-03 00:13:43 +00:00
|
|
|
DISTNAME= ocsync-0.90.4
|
2012-10-16 09:41:44 +00:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2013-06-16 15:08:04 +00:00
|
|
|
SHARED_LIBS += ocsync 0.0 # 0.2
|
|
|
|
|
2012-10-16 09:41:44 +00:00
|
|
|
CATEGORIES= net
|
|
|
|
|
2013-06-16 15:08:04 +00:00
|
|
|
HOMEPAGE= http://owncloud.org/sync-clients/
|
2012-10-16 09:41:44 +00:00
|
|
|
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
|
|
|
|
# GPLv2+
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
|
2013-07-16 10:18:04 +00:00
|
|
|
WANTLIB += c iniparser m neon pthread smbclient sqlite3 ssh stdc++
|
2012-10-16 09:41:44 +00:00
|
|
|
|
|
|
|
MASTER_SITES= http://download.owncloud.com/download/
|
|
|
|
|
2013-01-24 15:04:22 +00:00
|
|
|
MODULES= devel/cmake \
|
|
|
|
converters/libiconv
|
2012-10-16 09:41:44 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= devel/check \
|
|
|
|
devel/doxygen
|
|
|
|
|
|
|
|
LIB_DEPENDS= devel/iniparser \
|
|
|
|
net/neon \
|
|
|
|
net/samba \
|
|
|
|
security/libssh
|
|
|
|
|
2012-10-30 17:26:59 +00:00
|
|
|
# XXX tar: Invalid header, starting valid header search.
|
|
|
|
TAR= ${LOCALBASE}/bin/gtar
|
|
|
|
BUILD_DEPENDS+= archivers/gtar
|
|
|
|
|
2012-10-16 09:41:44 +00:00
|
|
|
# csync_owncloud requires -pthread:
|
|
|
|
# dlopen: failed to open libpthread.so.XX.X
|
2013-01-24 15:04:22 +00:00
|
|
|
CONFIGURE_ARGS= -DCMAKE_C_FLAGS="${CFLAGS} -I${LOCALBASE}/include -pthread" \
|
|
|
|
-DCMAKE_SKIP_RPATH=YES \
|
2012-10-16 09:41:44 +00:00
|
|
|
-DMAN_INSTALL_DIR=${PREFIX}/man \
|
|
|
|
-DSYSCONFDIR=${SYSCONFDIR} \
|
|
|
|
-DSYSCONF_INSTALL_DIR=${PREFIX}/share/examples \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
|
|
|
2013-03-11 11:35:43 +00:00
|
|
|
NO_TEST= Yes
|
2012-10-16 09:41:44 +00:00
|
|
|
USE_GROFF= Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|