summaryrefslogtreecommitdiff
path: root/net/ocsync/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2013-11-22 12:01:13 +0000
committerryoon <ryoon@pkgsrc.org>2013-11-22 12:01:13 +0000
commit5c3b6eae31f109d0e7ff98cdd0e6c8b6a45618cb (patch)
treee151e9b80bbbafdcc26d747e34c6ab3117ca2c53 /net/ocsync/Makefile
parentfdda253303938a8315927ab60e4c63f067a06ad7 (diff)
downloadpkgsrc-5c3b6eae31f109d0e7ff98cdd0e6c8b6a45618cb.tar.gz
Import ocsync-0.90.4 as net/ocsync.
OwnCloud edition of csync command. This is a part of owncloud client.
Diffstat (limited to 'net/ocsync/Makefile')
-rw-r--r--net/ocsync/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/net/ocsync/Makefile b/net/ocsync/Makefile
new file mode 100644
index 00000000000..46efa984ddb
--- /dev/null
+++ b/net/ocsync/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1 2013/11/22 12:01:13 ryoon Exp $
+
+DISTNAME= ocsync-0.90.4
+CATEGORIES= net
+MASTER_SITES= http://download.owncloud.com/desktop/stable/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= ryoon@NetBSD.org
+HOMEPAGE= http://owncloud.org/sync-clients/
+COMMENT= File synchronization program for OwnCloud
+LICENSE= gnu-gpl-v2
+
+EXTRACT_USING= bsdtar
+
+USE_LANGUAGES= c c++
+
+USE_CMAKE= yes
+OBJDIR= ../build
+CONFIGURE_DIRS= ${OBJDIR}
+CMAKE_ARG_PATH= ../${DISTNAME}
+
+EGDIR= ${PREFIX}/share/examples/ocsync
+CONF_FILES+= ${EGDIR}/ocsync.conf.default ${PKG_SYSCONFDIR}/ocsync.conf
+CONF_FILES+= ${EGDIR}/ocsync_exclude.conf.default \
+ ${PKG_SYSCONFDIR}/ocsync_exclude.conf
+
+pre-configure:
+ cd ${WRKSRC} && mkdir ${OBJDIR}
+ cd ${WRKSRC}/config && ${CP} ocsync.conf ocsync.conf.default
+ cd ${WRKSRC}/config && ${CP} ocsync_exclude.conf \
+ ocsync_exclude.conf.default
+
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/iniparser/buildlink3.mk"
+.include "../../security/libssh/buildlink3.mk"
+.include "../../www/neon/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"