summaryrefslogtreecommitdiff
path: root/filesystems/tclvfs
diff options
context:
space:
mode:
Diffstat (limited to 'filesystems/tclvfs')
-rw-r--r--filesystems/tclvfs/Makefile18
-rw-r--r--filesystems/tclvfs/distinfo3
-rw-r--r--filesystems/tclvfs/files/patch-Makefile.in12
-rw-r--r--filesystems/tclvfs/files/patch-generic_vfs.c14
-rw-r--r--filesystems/tclvfs/pkg-descr4
-rw-r--r--filesystems/tclvfs/pkg-plist28
6 files changed, 79 insertions, 0 deletions
diff --git a/filesystems/tclvfs/Makefile b/filesystems/tclvfs/Makefile
new file mode 100644
index 000000000000..192f2df2af56
--- /dev/null
+++ b/filesystems/tclvfs/Makefile
@@ -0,0 +1,18 @@
+PORTNAME= tclvfs
+PORTVERSION= 20080503
+PORTREVISION= 1
+CATEGORIES= filesystems devel
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/
+
+MAINTAINER= tcltk@FreeBSD.org
+COMMENT= Tcl VirtualFileSystem layer
+WWW= https://sourceforge.net/projects/tclvfs/
+
+LIB_DEPENDS= libTrf2.1.4.so:devel/tcl-trf
+
+USES+= gmake tcl:tea
+TCL_PKG= vfs1.3
+
+GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
+
+.include <bsd.port.mk>
diff --git a/filesystems/tclvfs/distinfo b/filesystems/tclvfs/distinfo
new file mode 100644
index 000000000000..2ec546790727
--- /dev/null
+++ b/filesystems/tclvfs/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1730905188
+SHA256 (tclvfs-20080503.tar.gz) = 0d90362078c8f59347b14be377e9306336b6d25d147397f845e705a6fa1d38f2
+SIZE (tclvfs-20080503.tar.gz) = 258723
diff --git a/filesystems/tclvfs/files/patch-Makefile.in b/filesystems/tclvfs/files/patch-Makefile.in
new file mode 100644
index 000000000000..f14d9d60f5a4
--- /dev/null
+++ b/filesystems/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/filesystems/tclvfs/files/patch-generic_vfs.c b/filesystems/tclvfs/files/patch-generic_vfs.c
new file mode 100644
index 000000000000..1c52b734021d
--- /dev/null
+++ b/filesystems/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/filesystems/tclvfs/pkg-descr b/filesystems/tclvfs/pkg-descr
new file mode 100644
index 000000000000..462b43010f65
--- /dev/null
+++ b/filesystems/tclvfs/pkg-descr
@@ -0,0 +1,4 @@
+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)
diff --git a/filesystems/tclvfs/pkg-plist b/filesystems/tclvfs/pkg-plist
new file mode 100644
index 000000000000..1edebfbba711
--- /dev/null
+++ b/filesystems/tclvfs/pkg-plist
@@ -0,0 +1,28 @@
+lib/%%TCL_PKG%%/ftpvfs.tcl
+lib/%%TCL_PKG%%/httpvfs.tcl
+lib/%%TCL_PKG%%/lib%%TCL_PKG%%.so
+lib/%%TCL_PKG%%/mk4vfs.tcl
+lib/%%TCL_PKG%%/mk4vfscompat.tcl
+lib/%%TCL_PKG%%/pkgIndex.tcl
+lib/%%TCL_PKG%%/starkit.tcl
+lib/%%TCL_PKG%%/tarvfs.tcl
+lib/%%TCL_PKG%%/tclIndex
+lib/%%TCL_PKG%%/tclprocvfs.tcl
+lib/%%TCL_PKG%%/template/collatevfs.tcl
+lib/%%TCL_PKG%%/template/deltavfs.tcl
+lib/%%TCL_PKG%%/template/fishvfs.tcl
+lib/%%TCL_PKG%%/template/globfind.tcl
+lib/%%TCL_PKG%%/template/quotavfs.tcl
+lib/%%TCL_PKG%%/template/tdelta.tcl
+lib/%%TCL_PKG%%/template/templatevfs.tcl
+lib/%%TCL_PKG%%/template/versionvfs.tcl
+lib/%%TCL_PKG%%/testvfs.tcl
+lib/%%TCL_PKG%%/tkvfs.tcl
+lib/%%TCL_PKG%%/vfsUrl.tcl
+lib/%%TCL_PKG%%/vfsUtils.tcl
+lib/%%TCL_PKG%%/vfslib.tcl
+lib/%%TCL_PKG%%/webdavvfs.tcl
+lib/%%TCL_PKG%%/zipvfs.tcl
+lib/%%TCL_PKG%%/zipvfscompat.tcl
+share/man/mann/vfs.n.gz
+share/man/mann/vfslib.n.gz