aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authoroliver <oliver@FreeBSD.org>2009-04-04 20:05:22 +0800
committeroliver <oliver@FreeBSD.org>2009-04-04 20:05:22 +0800
commitbab5c8df021c75954713530f66fd07adc2ee5c4e (patch)
tree2d40c62eb3af1222620acbffb71613961cd8a642 /devel
parent25c65b15fe9994c6bdcc249a0e1381aa61b9a4de (diff)
downloadfreebsd-ports-gnome-bab5c8df021c75954713530f66fd07adc2ee5c4e.tar.gz
freebsd-ports-gnome-bab5c8df021c75954713530f66fd07adc2ee5c4e.tar.zst
freebsd-ports-gnome-bab5c8df021c75954713530f66fd07adc2ee5c4e.zip
update devel/physfs to 2.0.0
bump PORTREVISION on the affected ports
Diffstat (limited to 'devel')
-rw-r--r--devel/love/Makefile4
-rw-r--r--devel/love07/Makefile4
-rw-r--r--devel/love5/Makefile4
-rw-r--r--devel/physfs/Makefile19
-rw-r--r--devel/physfs/distinfo6
-rw-r--r--devel/physfs/files/patch-configure19
-rw-r--r--devel/physfs/pkg-plist5
7 files changed, 27 insertions, 34 deletions
diff --git a/devel/love/Makefile b/devel/love/Makefile
index 914959593ac2..981e4bff8d4f 100644
--- a/devel/love/Makefile
+++ b/devel/love/Makefile
@@ -7,7 +7,7 @@
PORTNAME= love
DISTVERSION= 0.5-0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games devel
MASTER_SITES= SF
@@ -15,7 +15,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Open-source 2D game engine
LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \
- physfs-1.0.1:${PORTSDIR}/devel/physfs \
+ physfs.1:${PORTSDIR}/devel/physfs \
freetype.9:${PORTSDIR}/print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
diff --git a/devel/love07/Makefile b/devel/love07/Makefile
index 914959593ac2..981e4bff8d4f 100644
--- a/devel/love07/Makefile
+++ b/devel/love07/Makefile
@@ -7,7 +7,7 @@
PORTNAME= love
DISTVERSION= 0.5-0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games devel
MASTER_SITES= SF
@@ -15,7 +15,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Open-source 2D game engine
LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \
- physfs-1.0.1:${PORTSDIR}/devel/physfs \
+ physfs.1:${PORTSDIR}/devel/physfs \
freetype.9:${PORTSDIR}/print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
diff --git a/devel/love5/Makefile b/devel/love5/Makefile
index 914959593ac2..981e4bff8d4f 100644
--- a/devel/love5/Makefile
+++ b/devel/love5/Makefile
@@ -7,7 +7,7 @@
PORTNAME= love
DISTVERSION= 0.5-0
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= games devel
MASTER_SITES= SF
@@ -15,7 +15,7 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Open-source 2D game engine
LIB_DEPENDS= IL.2:${PORTSDIR}/graphics/devil \
- physfs-1.0.1:${PORTSDIR}/devel/physfs \
+ physfs.1:${PORTSDIR}/devel/physfs \
freetype.9:${PORTSDIR}/print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
diff --git a/devel/physfs/Makefile b/devel/physfs/Makefile
index 01c85bc83472..df8366be128f 100644
--- a/devel/physfs/Makefile
+++ b/devel/physfs/Makefile
@@ -6,16 +6,29 @@
#
PORTNAME= physfs
-PORTVERSION= 1.0.1
-PORTREVISION= 1
+PORTVERSION= 2.0.0
CATEGORIES= devel
MASTER_SITES= http://offload1.icculus.org:9090/${PORTNAME}/downloads/
MAINTAINER= oliver@FreeBSD.org
COMMENT= A library to provide abstract access to various archives
-USE_GNOME= gnometarget
+USE_CMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
+patch-autotools:
+ @${DO_NADA}
+
+post-patch:
+ @${REINPLACE_CMD} -e \
+ 's|CHECK_INCLUDE_FILE(sys/ucred.h HAVE_UCRED_H|& "-include sys/param.h"|g; \
+ s|CHECK_INCLUDE_FILE(readline/readline.h HAVE_READLINE_H|& "-include stdio.h"|g; \
+ s|CHECK_INCLUDE_FILE(readline/history.h HAVE_HISTORY_H|& "-include stdio.h"|g; \
+ s|CHECK_LIBRARY_EXISTS("readline" "history.*|SET(HAVE_LIBHISTORY TRUE)|g; \
+ s|" " \(readline curses\)|\1|' ${WRKSRC}/CMakeLists.txt
+
+ @${REINPLACE_CMD} -e 's|\(define SIZEOF_INT\) 4|\1 (LONG_BIT/8)|g' \
+ ${WRKSRC}/platform/unix.c
+
.include <bsd.port.mk>
diff --git a/devel/physfs/distinfo b/devel/physfs/distinfo
index 04ee2f451d0c..0293ab144816 100644
--- a/devel/physfs/distinfo
+++ b/devel/physfs/distinfo
@@ -1,3 +1,3 @@
-MD5 (physfs-1.0.1.tar.gz) = d0bd118c6b55fb1e020fe982d6ec6957
-SHA256 (physfs-1.0.1.tar.gz) = cbe80331ca69429231c072f0234791331ed0a9e42e65f3c88f297ec75615869a
-SIZE (physfs-1.0.1.tar.gz) = 539978
+MD5 (physfs-2.0.0.tar.gz) = cfc53e0c193914c9c5ab522e58737373
+SHA256 (physfs-2.0.0.tar.gz) = cbdfaf484d26c2c5d5673aabf8a3f1e0afdcbbd0a99865ba226e9368f3c5501c
+SIZE (physfs-2.0.0.tar.gz) = 671421
diff --git a/devel/physfs/files/patch-configure b/devel/physfs/files/patch-configure
deleted file mode 100644
index 4647a1c1a52e..000000000000
--- a/devel/physfs/files/patch-configure
+++ /dev/null
@@ -1,19 +0,0 @@
---- configure.orig Sat Sep 13 11:29:31 2003
-+++ configure Mon Sep 29 18:37:43 2003
-@@ -7357,6 +7357,7 @@
-
- # This can be used to rebuild libtool when needed
- LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
-
- # Always use our own libtool.
- LIBTOOL='$(SHELL) $(top_builddir)/libtool'
-@@ -7420,7 +7421,7 @@
- EOF
-
- else
-- PHYSFSCFLAGS="-O2"
-+ PHYSFSCFLAGS=""
-
- cat >>confdefs.h <<\EOF
- #define NDEBUG 1
diff --git a/devel/physfs/pkg-plist b/devel/physfs/pkg-plist
index 39c7932d44af..6ccad06cb739 100644
--- a/devel/physfs/pkg-plist
+++ b/devel/physfs/pkg-plist
@@ -1,7 +1,6 @@
bin/test_physfs
include/physfs.h
-lib/libphysfs-1.0.so
-lib/libphysfs-1.0.so.1
+lib/libphysfs.so.1
+lib/libphysfs.so.2.0.0
lib/libphysfs.a
-lib/libphysfs.la
lib/libphysfs.so