aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/Makefile1
-rw-r--r--devel/tclvfs/Makefile20
-rw-r--r--devel/tclvfs/distinfo2
-rw-r--r--devel/tclvfs/files/patch-Makefile.in12
-rw-r--r--devel/tclvfs/files/patch-generic_vfs.c14
-rw-r--r--devel/tclvfs/pkg-descr6
-rw-r--r--devel/tclvfs/pkg-plist29
7 files changed, 84 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 4f95c0954679..68d7d7a55135 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4431,6 +4431,7 @@
SUBDIR += tclreadline
SUBDIR += tclthread
SUBDIR += tcltls
+ SUBDIR += tclvfs
SUBDIR += tclxml
SUBDIR += tdl
SUBDIR += terminality
diff --git a/devel/tclvfs/Makefile b/devel/tclvfs/Makefile
new file mode 100644
index 000000000000..804c69c029ef
--- /dev/null
+++ b/devel/tclvfs/Makefile
@@ -0,0 +1,20 @@
+# Created by: gahr@FreeBSD.org
+# $FreeBSD$
+
+PORTNAME= tclvfs
+PORTVERSION= 20080503
+CATEGORIES= devel
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
+
+MAINTAINER= tcltk@FreeBSD.org
+COMMENT= Tcl VirtualFileSystem layer
+
+LIB_DEPENDS= libTrf2.1.4.so:${PORTSDIR}/devel/tcl-trf
+
+USES+= gmake tcl
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS+=--with-tcl=${TCL_LIBDIR} \
+ --prefix=${PREFIX} \
+ -exec-prefix=${PREFIX}
+
+.include <bsd.port.mk>
diff --git a/devel/tclvfs/distinfo b/devel/tclvfs/distinfo
new file mode 100644
index 000000000000..2e2c73fc23d7
--- /dev/null
+++ b/devel/tclvfs/distinfo
@@ -0,0 +1,2 @@
+SHA256 (tclvfs-20080503.tar.gz) = 0d90362078c8f59347b14be377e9306336b6d25d147397f845e705a6fa1d38f2
+SIZE (tclvfs-20080503.tar.gz) = 258723
diff --git a/devel/tclvfs/files/patch-Makefile.in b/devel/tclvfs/files/patch-Makefile.in
new file mode 100644
index 000000000000..f14d9d60f5a4
--- /dev/null
+++ b/devel/tclvfs/files/patch-Makefile.in
@@ -0,0 +1,12 @@
+--- Makefile.in.orig 2013-04-30 12:23:15.000000000 +0200
++++ Makefile.in 2013-04-30 12:23:54.000000000 +0200
+@@ -256,7 +256,8 @@
+
+ VPATH = $(srcdir)/generic:$(srcdir)/unix:$(srcdir)/win
+
+-.c.@OBJEXT@:
++
++vfs.@OBJEXT@: $(srcdir)/generic/vfs.c
+ $(COMPILE) -c `@CYGPATH@ $<` -o $@
+
+ #========================================================================
diff --git a/devel/tclvfs/files/patch-generic_vfs.c b/devel/tclvfs/files/patch-generic_vfs.c
new file mode 100644
index 000000000000..1c52b734021d
--- /dev/null
+++ b/devel/tclvfs/files/patch-generic_vfs.c
@@ -0,0 +1,14 @@
+--- generic/vfs.c.orig 2006-08-30 21:38:03.000000000 +0200
++++ generic/vfs.c 2013-09-24 10:26:34.000000000 +0200
+@@ -1656,7 +1656,10 @@
+ return returnVal;
+ }
+
+-static CONST char**
++#ifndef CONST86
++#define CONST86
++#endif
++static CONST char*CONST86 *
+ VfsFileAttrStrings(pathPtr, objPtrRef)
+ Tcl_Obj* pathPtr;
+ Tcl_Obj** objPtrRef;
diff --git a/devel/tclvfs/pkg-descr b/devel/tclvfs/pkg-descr
new file mode 100644
index 000000000000..6823b7bb5e80
--- /dev/null
+++ b/devel/tclvfs/pkg-descr
@@ -0,0 +1,6 @@
+The TclVfs project aims to provide an extension to the Tcl language which
+allows Virtual Filesystems to be built using Tcl scripts only. It is also a
+repository of such Tcl-implemented filesystems (metakit, zip, ftp, tar, http,
+webdav, namespace, url)
+
+WWW: http://sourceforge.net/projects/tclvfs/
diff --git a/devel/tclvfs/pkg-plist b/devel/tclvfs/pkg-plist
new file mode 100644
index 000000000000..c4ec11027a5e
--- /dev/null
+++ b/devel/tclvfs/pkg-plist
@@ -0,0 +1,29 @@
+lib/vfs1.3/ftpvfs.tcl
+lib/vfs1.3/httpvfs.tcl
+lib/vfs1.3/libvfs1.3.so
+lib/vfs1.3/mk4vfs.tcl
+lib/vfs1.3/mk4vfscompat.tcl
+lib/vfs1.3/pkgIndex.tcl
+lib/vfs1.3/starkit.tcl
+lib/vfs1.3/tarvfs.tcl
+lib/vfs1.3/tclIndex
+lib/vfs1.3/tclprocvfs.tcl
+lib/vfs1.3/template/collatevfs.tcl
+lib/vfs1.3/template/deltavfs.tcl
+lib/vfs1.3/template/fishvfs.tcl
+lib/vfs1.3/template/globfind.tcl
+lib/vfs1.3/template/quotavfs.tcl
+lib/vfs1.3/template/tdelta.tcl
+lib/vfs1.3/template/templatevfs.tcl
+lib/vfs1.3/template/versionvfs.tcl
+lib/vfs1.3/testvfs.tcl
+lib/vfs1.3/tkvfs.tcl
+lib/vfs1.3/vfsUrl.tcl
+lib/vfs1.3/vfsUtils.tcl
+lib/vfs1.3/vfslib.tcl
+lib/vfs1.3/webdavvfs.tcl
+lib/vfs1.3/zipvfs.tcl
+lib/vfs1.3/zipvfscompat.tcl
+man/mann/vfs.n.gz
+man/mann/vfslib.n.gz
+@dirrm lib/vfs1.3