aboutsummaryrefslogtreecommitdiffstats
path: root/devel/physfs
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2003-07-27 00:22:18 +0800
committeroliver <oliver@FreeBSD.org>2003-07-27 00:22:18 +0800
commitfdef2126ff9f3b729c5d175bedd91fd246976ed4 (patch)
tree68d8463b61455511d92749ab1cb470490397ece4 /devel/physfs
parentd6e222ae8b792b4b5d6863227bb1ccdaea3977b9 (diff)
downloadfreebsd-ports-graphics-fdef2126ff9f3b729c5d175bedd91fd246976ed4.tar.gz
freebsd-ports-graphics-fdef2126ff9f3b729c5d175bedd91fd246976ed4.tar.zst
freebsd-ports-graphics-fdef2126ff9f3b729c5d175bedd91fd246976ed4.zip
Add physfs, a library to provide abstract access to various archives
Diffstat (limited to 'devel/physfs')
-rw-r--r--devel/physfs/Makefile21
-rw-r--r--devel/physfs/distinfo1
-rw-r--r--devel/physfs/pkg-descr19
-rw-r--r--devel/physfs/pkg-plist5
4 files changed, 46 insertions, 0 deletions
diff --git a/devel/physfs/Makefile b/devel/physfs/Makefile
new file mode 100644
index 00000000000..7c753a272a6
--- /dev/null
+++ b/devel/physfs/Makefile
@@ -0,0 +1,21 @@
+# New ports collection makefile for: physfs
+# Date Created: 26 July 2003
+# Whom: Oliver Lehmann <oliver@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= physfs
+PORTVERSION= 0.1.8
+CATEGORIES= devel
+MASTER_SITES= http://icculus.org/${PORTNAME}/downloads/
+
+MAINTAINER= oliver@FreeBSD.org
+COMMENT= A library to provide abstract access to various archives
+
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
+CONFIGURE_ARGS= --program-transform-name=''
+
+.include <bsd.port.mk>
diff --git a/devel/physfs/distinfo b/devel/physfs/distinfo
new file mode 100644
index 00000000000..1fd158eb7ef
--- /dev/null
+++ b/devel/physfs/distinfo
@@ -0,0 +1 @@
+MD5 (physfs-0.1.8.tar.gz) = 4993d229d38c0207c00074831fd7b8be
diff --git a/devel/physfs/pkg-descr b/devel/physfs/pkg-descr
new file mode 100644
index 00000000000..c1e07bc80f7
--- /dev/null
+++ b/devel/physfs/pkg-descr
@@ -0,0 +1,19 @@
+PhysicsFS is a library to provide abstract access to various archives.
+It is intended for use in video games, and the design was somewhat
+inspired by Quake 3's file subsystem. The programmer defines a "write
+directory" on the physical filesystem. No file writing done through the
+PhysicsFS API can leave that write directory, for security. For example,
+an embedded scripting language cannot write outside of this path if it
+uses PhysFS for all of its I/O, which means that untrusted scripts can
+run more safely. Symbolic links can be disabled as well, for added
+safety. For file reading, the programmer lists directories and archives
+that form a "search path". Once the search path is defined, it becomes
+a single, transparent hierarchical filesystem. This makes for easy
+access to ZIP files in the same way as you access a file directly on the
+disk, and it makes it easy to ship a new archive that will override a
+previous archive on a per-file basis. Finally, PhysicsFS gives you
+platform-abstracted means to determine if CD-ROMs are available, the
+user's home directory, where in the real filesystem your program is
+running, etc.
+
+WWW: http://icculus.org/physfs/
diff --git a/devel/physfs/pkg-plist b/devel/physfs/pkg-plist
new file mode 100644
index 00000000000..840e41b4082
--- /dev/null
+++ b/devel/physfs/pkg-plist
@@ -0,0 +1,5 @@
+bin/test_physfs
+include/physfs.h
+lib/libphysfs-0.1.so.8
+lib/libphysfs.la
+lib/libphysfs.a