summaryrefslogtreecommitdiffstats
path: root/devel/gvfs
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-11-07 07:48:55 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-11-07 07:48:55 +0800
commit036e84053fa5bd879875854aa31d639fb8ce40de (patch)
tree218b122fdaf9728c5c89cfbf006f2d37e918c63c /devel/gvfs
parent0065ca85de5233ab6faa9b81116e77b72757d91b (diff)
downloadmarcuscom-ports-036e84053fa5bd879875854aa31d639fb8ce40de.tar
marcuscom-ports-036e84053fa5bd879875854aa31d639fb8ce40de.tar.gz
marcuscom-ports-036e84053fa5bd879875854aa31d639fb8ce40de.tar.bz2
marcuscom-ports-036e84053fa5bd879875854aa31d639fb8ce40de.tar.lz
marcuscom-ports-036e84053fa5bd879875854aa31d639fb8ce40de.tar.xz
marcuscom-ports-036e84053fa5bd879875854aa31d639fb8ce40de.tar.zst
marcuscom-ports-036e84053fa5bd879875854aa31d639fb8ce40de.zip
Add gvfs
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@9914 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gvfs')
-rw-r--r--devel/gvfs/Makefile45
-rw-r--r--devel/gvfs/distinfo3
-rw-r--r--devel/gvfs/files/patch-client_Makefile.in11
-rw-r--r--devel/gvfs/files/patch-client_gvfsfusedaemon.c12
-rw-r--r--devel/gvfs/pkg-descr6
-rw-r--r--devel/gvfs/pkg-plist24
6 files changed, 101 insertions, 0 deletions
diff --git a/devel/gvfs/Makefile b/devel/gvfs/Makefile
new file mode 100644
index 000000000..d7f07851c
--- /dev/null
+++ b/devel/gvfs/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: gvfs
+# Date created: 2007-11-06
+# Whom: Michael Johnson <ahze@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gvfs
+PORTVERSION= 0.0.1
+CATEGORIES= devel gnome
+MASTER_SITES= GNOME
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= GNOME virtual file system
+
+LIB_DEPENDS= gio.0:${PORTSDIR}/devel/gio-standalone \
+ dbus-1.3:${PORTSDIR}/devel/dbus
+
+USE_GNOME= glib20 gnomehack gnomeprefix
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib"
+USE_GMAKE= yes
+USE_LDCONFIG= yes
+OPTIONS= FUSE "Enable fuse" on \
+ SAMBA "Enable Samba" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_FUSE)
+LIB_DEPENDS+= fuse.2:${PORTSDIR}/sysutils/fusefs-libs
+PLIST_SUB+= FUSE=""
+.else
+CONFIGURE_ARGS+= --disable-fuse
+PLIST_SUB+= FUSE="@comment "
+.endif
+
+.if defined(WITH_SAMBA)
+LIB_DEPENDS+= smbclient.0:${PORTSDIR}/net/samba-libsmbclient
+PLIST_SUB+= SMB=""
+.else
+CONFIGURE_ARGS+= --disable-samba
+PLIST_SUB+= SMB=""
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/gvfs/distinfo b/devel/gvfs/distinfo
new file mode 100644
index 000000000..d0744a832
--- /dev/null
+++ b/devel/gvfs/distinfo
@@ -0,0 +1,3 @@
+MD5 (gvfs-0.0.1.tar.gz) = 4c5d2bc31389b772a92ca1045e2be63e
+SHA256 (gvfs-0.0.1.tar.gz) = 963526ab59aa015c62e7adf333df0157596cf24ecc45f4994c3dcabe8c0e9574
+SIZE (gvfs-0.0.1.tar.gz) = 561109
diff --git a/devel/gvfs/files/patch-client_Makefile.in b/devel/gvfs/files/patch-client_Makefile.in
new file mode 100644
index 000000000..acca997a4
--- /dev/null
+++ b/devel/gvfs/files/patch-client_Makefile.in
@@ -0,0 +1,11 @@
+--- client/Makefile.in.orig 2007-11-06 18:14:31.000000000 -0500
++++ client/Makefile.in 2007-11-06 18:14:43.000000000 -0500
+@@ -144,7 +144,7 @@
+ F77 = @F77@
+ FFLAGS = @FFLAGS@
+ FUSE_CFLAGS = @FUSE_CFLAGS@
+-FUSE_LIBS = @FUSE_LIBS@
++FUSE_LIBS = @FUSE_LIBS@ -lfuse
+ GETTEXT_PACKAGE = @GETTEXT_PACKAGE@
+ GLIB_CFLAGS = @GLIB_CFLAGS@
+ GLIB_GENMARSHAL = @GLIB_GENMARSHAL@
diff --git a/devel/gvfs/files/patch-client_gvfsfusedaemon.c b/devel/gvfs/files/patch-client_gvfsfusedaemon.c
new file mode 100644
index 000000000..3733aa7e3
--- /dev/null
+++ b/devel/gvfs/files/patch-client_gvfsfusedaemon.c
@@ -0,0 +1,12 @@
+--- client/gvfsfusedaemon.c.orig 2007-11-06 18:06:41.000000000 -0500
++++ client/gvfsfusedaemon.c 2007-11-06 18:07:30.000000000 -0500
+@@ -28,7 +28,9 @@
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
++#ifdef __linux__
+ #include <sys/vfs.h>
++#endif
+ #include <sys/time.h>
+ #include <unistd.h>
+ #include <stdlib.h>
diff --git a/devel/gvfs/pkg-descr b/devel/gvfs/pkg-descr
new file mode 100644
index 000000000..f6ea31130
--- /dev/null
+++ b/devel/gvfs/pkg-descr
@@ -0,0 +1,6 @@
+GVFS allows applications and users to treat any number of file system
+concepts as a part of the local filesystem. With GVFS, filesystems across
+the internet, on connected devices, and in multiple formats are as simple
+to access (and write code for) as any directory on the local machine.
+
+WWW: http://www.gnome.org/
diff --git a/devel/gvfs/pkg-plist b/devel/gvfs/pkg-plist
new file mode 100644
index 000000000..e1dfb01b5
--- /dev/null
+++ b/devel/gvfs/pkg-plist
@@ -0,0 +1,24 @@
+etc/gvfs/mounts/ftp.mount
+etc/gvfs/mounts/sftp.mount
+%%SMB%%etc/gvfs/mounts/smb-browse.mount
+%%SMB%%etc/gvfs/mounts/smb.mount
+etc/gvfs/mounts/trash.mount
+lib/gio/modules/libgvfsdbus.la
+lib/gio/modules/libgvfsdbus.so
+%%SMB%%lib/gvfs/modules/libsmb.la
+%%SMB%%lib/gvfs/modules/libsmb.so
+lib/libgvfscommon.la
+lib/libgvfscommon.so
+lib/libgvfscommon.so.0
+libexec/gvfs-daemon
+libexec/gvfs-daemon-ftp
+libexec/gvfs-daemon-sftp
+%%SMB%%libexec/gvfs-daemon-smb
+%%SMB%%libexec/gvfs-daemon-smb-browse
+libexec/gvfs-daemon-trash
+%%FUSE%%libexec/gvfs-fuse-daemon
+share/dbus-1/services/gvfs-daemon.service
+@dirrm lib/gvfs/modules
+@dirrm lib/gvfs
+@dirrm etc/gvfs/mounts
+@dirrm etc/gvfs