summaryrefslogtreecommitdiffstats
path: root/deskutils/multisync
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/multisync')
-rw-r--r--deskutils/multisync/Makefile39
-rw-r--r--deskutils/multisync/distinfo3
-rw-r--r--deskutils/multisync/files/patch-src-syncengine.c27
-rw-r--r--deskutils/multisync/pkg-descr7
-rw-r--r--deskutils/multisync/pkg-plist11
5 files changed, 87 insertions, 0 deletions
diff --git a/deskutils/multisync/Makefile b/deskutils/multisync/Makefile
new file mode 100644
index 000000000..a1334ec55
--- /dev/null
+++ b/deskutils/multisync/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: multisync
+# Date created: 25 Nov 2003
+# Whom: Pav Lucistnik <pav@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME?= multisync
+PORTVERSION= 0.82
+PORTREVISION= 6
+CATEGORIES= deskutils
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= multisync
+DISTNAME= multisync-${PORTVERSION}
+
+MAINTAINER?= pav@FreeBSD.org
+COMMENT?= Synchronize calendars, addressbooks and other PIM data
+
+WRKSRC?= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+WRKSRCMASTER= ${WRKDIR}/multisync-${PORTVERSION}
+USE_BZIP2= yes
+USE_GNOME= gnomehack gnomeprefix libgnomeui
+USE_GMAKE= yes
+USE_AUTOTOOLS= automake:19:env libtool:15
+USE_X_PREFIX= yes
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" LIBS="-L${LOCALBASE}/lib"
+
+pre-configure:
+ @${FIND} ${WRKDIR} -type l -delete
+.for FILE in missing install-sh mkinstalldirs config.guess config.sub depcomp
+ @${CP} -f ${AUTOMAKE_DIR}/${FILE} ${WRKSRC}
+ @${CP} -f ${AUTOMAKE_DIR}/${FILE} ${WRKSRCMASTER}
+.endfor
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|-lpthread||'
+
+post-configure:
+ ${CP} ${LIBTOOL} ${WRKSRC}/libtool
+
+.include <bsd.port.mk>
diff --git a/deskutils/multisync/distinfo b/deskutils/multisync/distinfo
new file mode 100644
index 000000000..53937ec24
--- /dev/null
+++ b/deskutils/multisync/distinfo
@@ -0,0 +1,3 @@
+MD5 (multisync-0.82.tar.bz2) = 499aaa3d41e33276ab162db1d1912a16
+SHA256 (multisync-0.82.tar.bz2) = 4da182e6e5077751a516ebcb10e0693b8239558174edacc1a709a5097e3908f8
+SIZE (multisync-0.82.tar.bz2) = 1432473
diff --git a/deskutils/multisync/files/patch-src-syncengine.c b/deskutils/multisync/files/patch-src-syncengine.c
new file mode 100644
index 000000000..9580f62a9
--- /dev/null
+++ b/deskutils/multisync/files/patch-src-syncengine.c
@@ -0,0 +1,27 @@
+--- src/syncengine.c.orig Mon Apr 12 14:23:21 2004
++++ src/syncengine.c Sat Sep 11 22:53:29 2004
+@@ -1097,6 +1097,7 @@
+ for (n = 0; n < g_list_length(remotechanges); n++) {
+ changed_object *robj, *lobj;
+ char *luid, *uid;
++ sync_compare_result compare;
+
+ robj = g_list_nth_data(remotechanges, n);
+ lobj = g_list_nth_data(localchanges, t);
+@@ -1135,7 +1136,7 @@
+ if (!uid) {*/
+ // None of the two objects has a UID connection
+ // If they are equal, just connect them
+- sync_compare_result compare =
++ compare =
+ sync_compare_objects(robj->comp, lobj->comp, lobj->object_type);
+ if (compare == SYNC_COMPARE_EQUAL) {
+ sync_insert_idpair(lobj->uid, robj->uid,
+@@ -1714,6 +1715,7 @@
+ plugin = g_malloc0(sizeof(sync_plugin));
+ g_assert(plugin);
+ plugin->plugin = mod;
++ dlerror(); /* Clear previous errors */
+ plugin->shortname = CALL_PLUGIN(plugin, "short_name", ());
+ ptr=dlerror();
+ if (ptr != 0) {
diff --git a/deskutils/multisync/pkg-descr b/deskutils/multisync/pkg-descr
new file mode 100644
index 000000000..bef792aee
--- /dev/null
+++ b/deskutils/multisync/pkg-descr
@@ -0,0 +1,7 @@
+MultiSync is a free modular program to synchronize calendars, addressbooks and
+other PIM data between programs on your computer and other computers, mobile
+devices, PDAs or cell phones. MultiSync works on Gnome platform.
+
+Be sure to also install desired plugins.
+
+WWW: http://multisync.sourceforge.net/
diff --git a/deskutils/multisync/pkg-plist b/deskutils/multisync/pkg-plist
new file mode 100644
index 000000000..cb7a76740
--- /dev/null
+++ b/deskutils/multisync/pkg-plist
@@ -0,0 +1,11 @@
+bin/multisync
+include/multisync/multisync.h
+share/applications/multisync.desktop
+share/multisync/pixmaps/multisync.png
+share/multisync/pixmaps/multisync.xpm
+share/multisync/pixmaps/multisync-16.png
+share/multisync/pixmaps/multisync_small.png
+share/multisync/pixmaps/resync_small.png
+@dirrm share/multisync/pixmaps
+@dirrm share/multisync
+@dirrm include/multisync