summaryrefslogtreecommitdiffstats
path: root/palm/synce-gnomevfs
diff options
context:
space:
mode:
Diffstat (limited to 'palm/synce-gnomevfs')
-rw-r--r--palm/synce-gnomevfs/Makefile34
-rw-r--r--palm/synce-gnomevfs/distinfo3
-rw-r--r--palm/synce-gnomevfs/files/patch-src-libsyncevfs.c26
-rw-r--r--palm/synce-gnomevfs/pkg-descr5
-rw-r--r--palm/synce-gnomevfs/pkg-plist9
5 files changed, 77 insertions, 0 deletions
diff --git a/palm/synce-gnomevfs/Makefile b/palm/synce-gnomevfs/Makefile
new file mode 100644
index 000000000..3edf324f7
--- /dev/null
+++ b/palm/synce-gnomevfs/Makefile
@@ -0,0 +1,34 @@
+# New ports collection makefile for: synce-gnomevfs
+# Date created: 28 August 2003
+# Whom: Sam Lawrance <boris@brooknet.com.au>
+#
+# $FreeBSD$
+#
+
+PORTNAME= synce-gnomevfs
+PORTVERSION= 0.9.0
+PORTREVISION= 4
+CATEGORIES= palm
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= synce
+
+MAINTAINER= ports@FreeBSD.org
+COMMENT= Gnome VFS module for WinCE devices
+
+LIB_DEPENDS= rapi.2:${PORTSDIR}/palm/synce-librapi2
+
+USE_AUTOTOOLS= libtool:15
+USE_GNOME= gnomeprefix gnometarget gnomevfs2
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-librapi=${LOCALBASE} \
+ --with-libsynce=${LOCALBASE}
+
+USE_LDCONFIG= yes
+
+.include <bsd.port.pre.mk>
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,-Werror,," ${WRKSRC}/src/Makefile.in
+
+.include <bsd.port.post.mk>
diff --git a/palm/synce-gnomevfs/distinfo b/palm/synce-gnomevfs/distinfo
new file mode 100644
index 000000000..06b48fe7e
--- /dev/null
+++ b/palm/synce-gnomevfs/distinfo
@@ -0,0 +1,3 @@
+MD5 (synce-gnomevfs-0.9.0.tar.gz) = 1fa8d653297331479edcd5d983a0f75e
+SHA256 (synce-gnomevfs-0.9.0.tar.gz) = 2dc8d4905b81e4303e9131dd8f737e7facae9ca7065ec7f9faba15238774b5cd
+SIZE (synce-gnomevfs-0.9.0.tar.gz) = 303885
diff --git a/palm/synce-gnomevfs/files/patch-src-libsyncevfs.c b/palm/synce-gnomevfs/files/patch-src-libsyncevfs.c
new file mode 100644
index 000000000..6995549fc
--- /dev/null
+++ b/palm/synce-gnomevfs/files/patch-src-libsyncevfs.c
@@ -0,0 +1,26 @@
+--- src/libsyncevfs.c.orig Sun Aug 22 21:06:29 2004
++++ src/libsyncevfs.c Sat Jan 8 18:40:37 2005
+@@ -126,8 +126,9 @@
+ {
+ if (!initialized_rapi)
+ {
++ HRESULT hr;
+ MUTEX_LOCK (mutex);
+- HRESULT hr = CeRapiInit();
++ hr = CeRapiInit();
+ MUTEX_UNLOCK (mutex);
+
+ if (FAILED(hr))
+@@ -145,9 +146,10 @@
+
+ static int get_location(GnomeVFSURI *uri, gchar **location)/*{{{*/
+ {
+- int result = INDEX_INVALID;
+- *location = NULL;
++ int result;
+ gchar **path = NULL;
++ *location = NULL;
++ result = INDEX_INVALID;
+
+ path = g_strsplit(gnome_vfs_unescape_string(gnome_vfs_uri_get_path(uri),"\\"), "/", 0);
+
diff --git a/palm/synce-gnomevfs/pkg-descr b/palm/synce-gnomevfs/pkg-descr
new file mode 100644
index 000000000..f1da757ca
--- /dev/null
+++ b/palm/synce-gnomevfs/pkg-descr
@@ -0,0 +1,5 @@
+SynCE is a project for connecting to devices running Windows CE or Pocket PC.
+Gnomevfs gives Gnome applications like Nautilus the ability to access the file
+system on a Windows CE device via gnomevfs.
+
+WWW: http://synce.sourceforge.net/
diff --git a/palm/synce-gnomevfs/pkg-plist b/palm/synce-gnomevfs/pkg-plist
new file mode 100644
index 000000000..7f0dff7e1
--- /dev/null
+++ b/palm/synce-gnomevfs/pkg-plist
@@ -0,0 +1,9 @@
+bin/synce-in-computer-folder
+etc/gnome-vfs-2.0/modules/synce-module.conf
+share/pixmaps/synce/synce-color.png
+share/synce/synce-in-computer-folder.sh
+lib/gnome-vfs-2.0/modules/libsyncevfs.a
+lib/gnome-vfs-2.0/modules/libsyncevfs.la
+lib/gnome-vfs-2.0/modules/libsyncevfs.so
+@dirrmtry share/pixmaps/synce
+@dirrmtry share/synce