import of physfs-0.1.9:

PhysicsFS is a library to provide abstract access to various archives.

WWW: http://icculus.org/physfs/
This commit is contained in:
jolan 2003-10-26 00:16:28 +00:00
parent c41cff40c5
commit b717ba2f2d
7 changed files with 99 additions and 0 deletions

18
devel/physfs/Makefile Normal file
View File

@ -0,0 +1,18 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/10/26 00:16:28 jolan Exp $
COMMENT= "library to provide abstract access to various archives"
DISTNAME= physfs-0.1.9
CATEGORIES= devel
MASTER_SITES= ${HOMEPAGE}downloads/
HOMEPAGE= http://icculus.org/physfs/
# ZLib
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
CONFIGURE_STYLE=gnu
.include <bsd.port.mk>

3
devel/physfs/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (physfs-0.1.9.tar.gz) = ee61f31d15563a3f785adbd800933631
RMD160 (physfs-0.1.9.tar.gz) = 55f24429f4f4b7be5f8e9b9268886932a9c39da3
SHA1 (physfs-0.1.9.tar.gz) = 955553e3fb4dd2e7dc3e33ab88574f3ba76c5f2f

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1.1.1 2003/10/26 00:16:28 jolan Exp $
--- configure.orig 2003-09-12 21:29:31.000000000 -0500
+++ configure 2003-10-21 02:25:31.000000000 -0500
@@ -7420,7 +7420,7 @@ cat >>confdefs.h <<\EOF
EOF
else
- PHYSFSCFLAGS="-O2"
+ PHYSFSCFLAGS=""
cat >>confdefs.h <<\EOF
#define NDEBUG 1

View File

@ -0,0 +1,55 @@
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/10/26 00:16:28 jolan Exp $
--- ltmain.sh.orig 2003-07-22 23:07:35.000000000 -0500
+++ ltmain.sh 2003-10-21 02:07:22.000000000 -0500
@@ -4191,8 +4191,8 @@ relink_command=\"$relink_command\""
for linkname
do
if test "$linkname" != "$realname"; then
- $show "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
- $run eval "(cd $destdir && $rm $linkname && $LN_S $realname $linkname)"
+ $show "(cd $destdir && $rm $linkname && $mv $realname $linkname)"
+ $run eval "(cd $destdir && $rm $linkname && $mv $realname $linkname)"
fi
done
fi
@@ -4446,40 +4446,6 @@ relink_command=\"$relink_command\""
# Exit here if they wanted silent mode.
test "$show" = ":" && exit 0
- echo "----------------------------------------------------------------------"
- echo "Libraries have been installed in:"
- for libdir in $libdirs; do
- echo " $libdir"
- done
- echo
- echo "If you ever happen to want to link against installed libraries"
- echo "in a given directory, LIBDIR, you must either use libtool, and"
- echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
- echo "flag during linking and do at least one of the following:"
- if test -n "$shlibpath_var"; then
- echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
- echo " during execution"
- fi
- if test -n "$runpath_var"; then
- echo " - add LIBDIR to the \`$runpath_var' environment variable"
- echo " during linking"
- fi
- if test -n "$hardcode_libdir_flag_spec"; then
- libdir=LIBDIR
- eval flag=\"$hardcode_libdir_flag_spec\"
-
- echo " - use the \`$flag' linker flag"
- fi
- if test -n "$admincmds"; then
- echo " - have your system administrator run these commands:$admincmds"
- fi
- if test -f /etc/ld.so.conf; then
- echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
- fi
- echo
- echo "See any operating system documentation about shared libraries for"
- echo "more information, such as the ld(1) and ld.so(8) manual pages."
- echo "----------------------------------------------------------------------"
exit 0
;;

2
devel/physfs/pkg/DESCR Normal file
View File

@ -0,0 +1,2 @@
PhysicsFS is a library to provide abstract access to various archives.
Documentation may be read online at http://icculus.org/physfs/docs/.

View File

@ -0,0 +1,3 @@
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/10/26 00:16:28 jolan Exp $
lib/libphysfs.so.9.0
DYNLIBDIR(%D/lib)

6
devel/physfs/pkg/PLIST Normal file
View File

@ -0,0 +1,6 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/10/26 00:16:28 jolan Exp $
bin/test_physfs
include/physfs.h
lib/libphysfs.a
lib/libphysfs.la
%%SHARED%%