aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-07-02 21:47:31 +0800
committerijliao <ijliao@FreeBSD.org>2002-07-02 21:47:31 +0800
commitee79706e611b50949d5e5148a4111b2748578e6a (patch)
treee9963cb8169f17136da40e24c99573a655cb1518
parent053822d3b95fc4035bc83015beb5cbba4d5e6de4 (diff)
downloadfreebsd-ports-gnome-ee79706e611b50949d5e5148a4111b2748578e6a.tar.gz
freebsd-ports-gnome-ee79706e611b50949d5e5148a4111b2748578e6a.tar.zst
freebsd-ports-gnome-ee79706e611b50949d5e5148a4111b2748578e6a.zip
upgrade to 0.4.1
PR: 40083 Submitted by: maintainer
-rw-r--r--devel/libuta/Makefile44
-rw-r--r--devel/libuta/distinfo2
-rw-r--r--devel/libuta/files/patch-aa60
-rw-r--r--devel/libuta/files/patch-ab11
-rw-r--r--devel/libuta/files/patch-ac11
-rw-r--r--devel/libuta/files/patch-ad11
-rw-r--r--devel/libuta/files/patch-ae11
-rw-r--r--devel/libuta/files/patch-af11
-rw-r--r--devel/libuta/files/patch-ag14
-rw-r--r--devel/libuta/files/patch-ah11
-rw-r--r--devel/libuta/files/patch-ai11
-rw-r--r--devel/libuta/files/patch-aj11
-rw-r--r--devel/libuta/files/patch-ak11
-rw-r--r--devel/libuta/files/patch-al11
-rw-r--r--devel/libuta/files/patch-am11
-rw-r--r--devel/libuta/files/patch-an11
-rw-r--r--devel/libuta/files/patch-ao11
-rw-r--r--devel/libuta/files/patch-ap62
-rw-r--r--devel/libuta/files/patch-aq11
-rw-r--r--devel/libuta/files/patch-ar56
-rw-r--r--devel/libuta/pkg-plist4
-rw-r--r--devel/wftk/Makefile44
-rw-r--r--devel/wftk/distinfo2
-rw-r--r--devel/wftk/files/patch-aa60
-rw-r--r--devel/wftk/files/patch-ab11
-rw-r--r--devel/wftk/files/patch-ac11
-rw-r--r--devel/wftk/files/patch-ad11
-rw-r--r--devel/wftk/files/patch-ae11
-rw-r--r--devel/wftk/files/patch-af11
-rw-r--r--devel/wftk/files/patch-ag14
-rw-r--r--devel/wftk/files/patch-ah11
-rw-r--r--devel/wftk/files/patch-ai11
-rw-r--r--devel/wftk/files/patch-aj11
-rw-r--r--devel/wftk/files/patch-ak11
-rw-r--r--devel/wftk/files/patch-al11
-rw-r--r--devel/wftk/files/patch-am11
-rw-r--r--devel/wftk/files/patch-an11
-rw-r--r--devel/wftk/files/patch-ao11
-rw-r--r--devel/wftk/files/patch-ap62
-rw-r--r--devel/wftk/files/patch-aq11
-rw-r--r--devel/wftk/files/patch-ar56
-rw-r--r--devel/wftk/pkg-plist4
42 files changed, 82 insertions, 710 deletions
diff --git a/devel/libuta/Makefile b/devel/libuta/Makefile
index 3814e11514e1..f9392bdd1c29 100644
--- a/devel/libuta/Makefile
+++ b/devel/libuta/Makefile
@@ -6,21 +6,51 @@
#
PORTNAME= libuta
-PORTVERSION= 0.3.38
+PORTVERSION= 0.4.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lehmann@ans-netz.de
-LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
sigc.1:${PORTSDIR}/devel/libsigc++ \
- SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
- SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
+ SDL-1.1.4:${PORTSDIR}/devel/sdl12
USE_FREETYPE= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype1"
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
-.include <bsd.port.mk>
+CONFIGURE_ENV= SDL_CONFIG="${LOCALBASE}/bin/sdl11-config" \
+ LIBS="-L${LOCALBASE}/lib"
+
+SDL11_FILES= configure uta/color.h uta/event.h uta/keysym.h uta/mutex.h \
+ uta/pixelformat.h uta/rect.h uta/sge_blib.cc uta/sge_blib.h \
+ uta/sge_draw.cc uta/sge_draw.h uta/sound.h uta/surface_io.cc \
+ uta/surface.h uta/timer.cc
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libSDL_mixer.so.2)
+WITH_SDL_MIXER= yes
+.endif
+
+.if defined(WITH_SDL_MIXER)
+LIB_DEPENDS+= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
+.endif
+
+
+pre-everything::
+ @${ECHO} ""
+ @${ECHO} "You may use the following build options:"
+ @${ECHO} ""
+ @${ECHO} " WITH_SDL_MIXER=yes Enable music and sound support"
+ @${ECHO} ""
+
+post-patch:
+.for i in ${SDL11_FILES}
+ ${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/$i
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/devel/libuta/distinfo b/devel/libuta/distinfo
index 9052a4b188c6..e3d9d5d6105e 100644
--- a/devel/libuta/distinfo
+++ b/devel/libuta/distinfo
@@ -1 +1 @@
-MD5 (libuta-0.3.38.tar.gz) = 19e9b692fa046fb7c8e16c5cceaea232
+MD5 (libuta-0.4.1.tar.gz) = 102eebdf70941cd11ed36af9ba8726d6
diff --git a/devel/libuta/files/patch-aa b/devel/libuta/files/patch-aa
deleted file mode 100644
index cf5ad2bb912d..000000000000
--- a/devel/libuta/files/patch-aa
+++ /dev/null
@@ -1,60 +0,0 @@
-
-$FreeBSD$
-
---- configure.orig Thu Apr 12 12:21:35 2001
-+++ configure Thu Mar 14 13:09:31 2002
-@@ -7,6 +7,9 @@
- # This configure script is free software; the Free Software Foundation
- # gives unlimited permission to copy, distribute and modify it.
-
-+LIBS="$LIBS -L/usr/local/lib"
-+SDL_CONFIG="/usr/local/bin/sdl11-config"
-+
- # Defaults:
- ac_help=
- ac_default_prefix=/usr/local
-@@ -3573,7 +3576,7 @@
-
- CFLAGS=
- CXXFLAGS=
--CPPFLAGS=-Wall
-+CPPFLAGS="$CPPFLAGS -Wall"
-
- case $win32 in
- true)
-@@ -4603,7 +4606,7 @@
- no_sdl=yes
- else
- SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
-- SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
-+ SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs | sed 's/-lXxf86vm -lXxf86dga -lXv //g'`
-
- sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
-@@ -4627,7 +4630,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- char*
- my_strdup (char *str)
-@@ -4717,7 +4720,7 @@
- #include "confdefs.h"
-
- #include <stdio.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- int main() {
- return 0;
-@@ -5042,7 +5045,7 @@
- cat > conftest.$ac_ext <<EOF
- #line 5044 "configure"
- #include "confdefs.h"
--#include <SDL/SDL_mixer.h>
-+#include <SDL11/SDL_mixer.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- { (eval echo configure:5049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
diff --git a/devel/libuta/files/patch-ab b/devel/libuta/files/patch-ab
deleted file mode 100644
index d9bd2f27161b..000000000000
--- a/devel/libuta/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/color.h.orig Sat Mar 31 05:24:37 2001
-+++ uta/color.h Sat Mar 31 05:26:10 2001
-@@ -22,7 +22,7 @@
- #define _COLOR_H
-
- #include <iostream>
--#include <SDL/SDL_version.h>
-+#include <SDL11/SDL_version.h>
-
- namespace uta {
- ///
diff --git a/devel/libuta/files/patch-ac b/devel/libuta/files/patch-ac
deleted file mode 100644
index 5bde56c9bf9f..000000000000
--- a/devel/libuta/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/event.h.orig Sat Mar 31 05:24:44 2001
-+++ uta/event.h Sat Mar 31 05:26:20 2001
-@@ -21,7 +21,7 @@
- #ifndef _EVENT_H
- #define _EVENT_H
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include "keysym.h"
- #include "point.h"
-
diff --git a/devel/libuta/files/patch-ad b/devel/libuta/files/patch-ad
deleted file mode 100644
index f4a8342115de..000000000000
--- a/devel/libuta/files/patch-ad
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/keysym.h.orig Sat Mar 31 05:24:56 2001
-+++ uta/keysym.h Sat Mar 31 05:26:32 2001
-@@ -20,7 +20,7 @@
- #ifndef KEYSYM_H
- #define KEYSYM_H
-
--#include <SDL/SDL_keysym.h>
-+#include <SDL11/SDL_keysym.h>
-
- namespace uta {
-
diff --git a/devel/libuta/files/patch-ae b/devel/libuta/files/patch-ae
deleted file mode 100644
index c41014f200ee..000000000000
--- a/devel/libuta/files/patch-ae
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/mutex.h.orig Sat Mar 31 05:25:05 2001
-+++ uta/mutex.h Sat Mar 31 05:26:54 2001
-@@ -22,7 +22,7 @@
- #ifndef _MUTEX_H_
- #define _MUTEX_H_
-
--#include <SDL/SDL_mutex.h>
-+#include <SDL11/SDL_mutex.h>
-
- namespace uta {
-
diff --git a/devel/libuta/files/patch-af b/devel/libuta/files/patch-af
deleted file mode 100644
index f96ea5049ee6..000000000000
--- a/devel/libuta/files/patch-af
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/rect.h.orig Sat Mar 31 05:25:30 2001
-+++ uta/rect.h Sat Mar 31 05:27:27 2001
-@@ -21,7 +21,7 @@
- #ifndef _RECT_H
- #define _RECT_H
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- #include "point.h"
-
diff --git a/devel/libuta/files/patch-ag b/devel/libuta/files/patch-ag
deleted file mode 100644
index 01a860651720..000000000000
--- a/devel/libuta/files/patch-ag
+++ /dev/null
@@ -1,14 +0,0 @@
---- uta/sound.h.orig Sat Mar 31 05:25:38 2001
-+++ uta/sound.h Sat Mar 31 05:27:39 2001
-@@ -36,9 +36,9 @@
- #endif
-
- #ifdef HAVE_MIXER
--#include <SDL/SDL_mixer.h>
-+#include <SDL11/SDL_mixer.h>
- #else
--#include <SDL/SDL_types.h>
-+#include <SDL11/SDL_types.h>
- #endif
-
- namespace uta {
diff --git a/devel/libuta/files/patch-ah b/devel/libuta/files/patch-ah
deleted file mode 100644
index 0c8413e05f6b..000000000000
--- a/devel/libuta/files/patch-ah
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/surface.h.orig Sat Mar 31 05:25:49 2001
-+++ uta/surface.h Sat Mar 31 05:27:49 2001
-@@ -22,7 +22,7 @@
- #ifndef _SURFACE_H_
- #define _SURFACE_H_
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- #include "color.h"
- #include "point.h"
diff --git a/devel/libuta/files/patch-ai b/devel/libuta/files/patch-ai
deleted file mode 100644
index 6a8aa18704d6..000000000000
--- a/devel/libuta/files/patch-ai
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/sge_blib.h.orig Sat Mar 31 05:44:18 2001
-+++ uta/sge_blib.h Sat Mar 31 05:38:40 2001
-@@ -18,7 +18,7 @@
- #ifndef sge_blib_H
- #define sge_blib_H
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include "sge_internal.h"
-
-
diff --git a/devel/libuta/files/patch-aj b/devel/libuta/files/patch-aj
deleted file mode 100644
index cced0c73a97f..000000000000
--- a/devel/libuta/files/patch-aj
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/sge_blib.cc.orig Sat Mar 31 05:40:36 2001
-+++ uta/sge_blib.cc Sat Mar 31 05:40:51 2001
-@@ -19,7 +19,7 @@
- * This is written by Johan E. Thélin and is slightly modified by me.
- */
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include "sge_draw.h"
- #include "sge_blib.h"
-
diff --git a/devel/libuta/files/patch-ak b/devel/libuta/files/patch-ak
deleted file mode 100644
index a94ac45c9566..000000000000
--- a/devel/libuta/files/patch-ak
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/sge_draw.cc.orig Sat Mar 31 05:41:03 2001
-+++ uta/sge_draw.cc Sat Mar 31 05:41:56 2001
-@@ -20,7 +20,7 @@
- * John Garrison's PowerPak
- */
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include <math.h>
- #include <string.h>
- #include <stdarg.h>
diff --git a/devel/libuta/files/patch-al b/devel/libuta/files/patch-al
deleted file mode 100644
index 898f8f2407cf..000000000000
--- a/devel/libuta/files/patch-al
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/surface_io.cc.orig Sat Mar 31 05:41:28 2001
-+++ uta/surface_io.cc Sat Mar 31 05:42:29 2001
-@@ -79,7 +79,7 @@
- #include <assert.h>
-
- #include <png.h>
--#include <SDL/SDL_endian.h>
-+#include <SDL11/SDL_endian.h>
-
- namespace uta {
-
diff --git a/devel/libuta/files/patch-am b/devel/libuta/files/patch-am
deleted file mode 100644
index fe90bd1267f8..000000000000
--- a/devel/libuta/files/patch-am
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/timer.cc.orig Sat Mar 31 05:41:43 2001
-+++ uta/timer.cc Sat Mar 31 05:42:38 2001
-@@ -18,7 +18,7 @@
- Boston, MA 02111-1307, SA.
- */
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include "timer.h"
-
- #include <stl.h>
diff --git a/devel/libuta/files/patch-an b/devel/libuta/files/patch-an
deleted file mode 100644
index 58c087291bcf..000000000000
--- a/devel/libuta/files/patch-an
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/pixelformat.h.orig Sat Mar 31 05:51:51 2001
-+++ uta/pixelformat.h Sat Mar 31 05:52:22 2001
-@@ -27,7 +27,7 @@
-
-
- //just for typedefs ...
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- #include <string>
- #include <stl.h>
diff --git a/devel/libuta/files/patch-ao b/devel/libuta/files/patch-ao
deleted file mode 100644
index 4c45fe4118d3..000000000000
--- a/devel/libuta/files/patch-ao
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/sge_draw.h.orig Sat Mar 31 05:52:07 2001
-+++ uta/sge_draw.h Sat Mar 31 05:52:34 2001
-@@ -18,7 +18,7 @@
- #ifndef sge_draw_H
- #define sge_draw_H
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include "sge_internal.h"
-
-
diff --git a/devel/libuta/files/patch-ap b/devel/libuta/files/patch-ap
deleted file mode 100644
index 586c7f79bf3e..000000000000
--- a/devel/libuta/files/patch-ap
+++ /dev/null
@@ -1,62 +0,0 @@
---- acinclude.m4.orig Tue Nov 21 11:10:07 2000
-+++ acinclude.m4 Sat Mar 31 06:08:52 2001
-@@ -606,8 +606,8 @@
- CHECK_LIB_HEADER_VERSION(
- SDL,
- SDL_Init,
-- SDL/SDL.h,
-- SDL/SDL_version.h,
-+ SDL11/SDL.h,
-+ SDL11/SDL_version.h,
- SDL_MAJOR_VERSION.SDL_MINOR_VERSION.SDL_PATCHLEVEL,
- $1,
- http://www.devolution.com/~slouken/SDL/SDL-0.10/src/SDL-$1.tar.gz)
-@@ -618,7 +618,7 @@
- [
- TEST_SKIP(
- [
-- AC_CHECK_HEADER(SDL/SDL_mixer.h,
-+ AC_CHECK_HEADER(SDL11/SDL_mixer.h,
- [
- AC_DEFINE(HAVE_MIXER))
- AC_CHECK_LIB([
-@@ -1027,13 +1027,13 @@
- if test x$sdl_exec_prefix != x ; then
- sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
- if test x${SDL_CONFIG+set} != xset ; then
-- SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
-+ SDL_CONFIG=$sdl_exec_prefix/bin/sdl11-config
- fi
- fi
- if test x$sdl_prefix != x ; then
- sdl_args="$sdl_args --prefix=$sdl_prefix"
- if test x${SDL_CONFIG+set} != xset ; then
-- SDL_CONFIG=$sdl_prefix/bin/sdl-config
-+ SDL_CONFIG=$sdl_prefix/bin/sdl11-config
- fi
- fi
-
-@@ -1067,7 +1067,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- char*
- my_strdup (char *str)
-@@ -1141,7 +1141,7 @@
- LIBS="$LIBS $SDL_LIBS"
- AC_TRY_LINK([
- #include <stdio.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- ], [ return 0; ],
- [ echo "*** The test program compiled, but did not run. This usually means"
- echo "*** that the run-time linker is not finding SDL or finding the wrong"
-@@ -1292,4 +1292,4 @@
- AC_SUBST(SIGC_CFLAGS)
- AC_SUBST(SIGC_LIBS)
-
--])
-+])
diff --git a/devel/libuta/files/patch-aq b/devel/libuta/files/patch-aq
deleted file mode 100644
index cdae7ba7b1aa..000000000000
--- a/devel/libuta/files/patch-aq
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.in.orig Sat Mar 31 06:01:00 2001
-+++ configure.in Sat Mar 31 06:01:12 2001
-@@ -186,7 +186,7 @@
- ])
- AM_CONDITIONAL(SMPEG_AVAILABLE, test x$have_smpeg = xyes)
-
--AC_CHECK_HEADER(SDL/SDL_mixer.h,AC_CHECK_LIB(SDL_mixer, Mix_SetPostMix, [
-+AC_CHECK_HEADER(SDL11/SDL_mixer.h,AC_CHECK_LIB(SDL_mixer, Mix_SetPostMix, [
- MIXLIBS=-lSDL_mixer
- AC_DEFINE(HAVE_MIXER)
- ]))
diff --git a/devel/libuta/files/patch-ar b/devel/libuta/files/patch-ar
deleted file mode 100644
index 62d81deb50a6..000000000000
--- a/devel/libuta/files/patch-ar
+++ /dev/null
@@ -1,56 +0,0 @@
---- aclocal.m4.orig Wed Mar 21 13:44:06 2001
-+++ aclocal.m4 Sat Mar 31 06:09:47 2001
-@@ -618,8 +618,8 @@
- CHECK_LIB_HEADER_VERSION(
- SDL,
- SDL_Init,
-- SDL/SDL.h,
-- SDL/SDL_version.h,
-+ SDL11/SDL.h,
-+ SDL11/SDL_version.h,
- SDL_MAJOR_VERSION.SDL_MINOR_VERSION.SDL_PATCHLEVEL,
- $1,
- http://www.devolution.com/~slouken/SDL/SDL-0.10/src/SDL-$1.tar.gz)
-@@ -630,7 +630,7 @@
- [
- TEST_SKIP(
- [
-- AC_CHECK_HEADER(SDL/SDL_mixer.h,
-+ AC_CHECK_HEADER(SDL11/SDL_mixer.h,
- [
- AC_DEFINE(HAVE_MIXER))
- AC_CHECK_LIB([
-@@ -1039,13 +1039,13 @@
- if test x$sdl_exec_prefix != x ; then
- sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
- if test x${SDL_CONFIG+set} != xset ; then
-- SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
-+ SDL_CONFIG=$sdl_exec_prefix/bin/sdl11-config
- fi
- fi
- if test x$sdl_prefix != x ; then
- sdl_args="$sdl_args --prefix=$sdl_prefix"
- if test x${SDL_CONFIG+set} != xset ; then
-- SDL_CONFIG=$sdl_prefix/bin/sdl-config
-+ SDL_CONFIG=$sdl_prefix/bin/sdl11-config
- fi
- fi
-
-@@ -1079,7 +1079,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- char*
- my_strdup (char *str)
-@@ -1153,7 +1153,7 @@
- LIBS="$LIBS $SDL_LIBS"
- AC_TRY_LINK([
- #include <stdio.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- ], [ return 0; ],
- [ echo "*** The test program compiled, but did not run. This usually means"
- echo "*** that the run-time linker is not finding SDL or finding the wrong"
diff --git a/devel/libuta/pkg-plist b/devel/libuta/pkg-plist
index 888041df69ed..9ee82c09a856 100644
--- a/devel/libuta/pkg-plist
+++ b/devel/libuta/pkg-plist
@@ -1,6 +1,8 @@
bin/uta-config
+lib/libuta.la
lib/libuta.so
-lib/libuta-0.3.so.38
+lib/libuta-0.4.so
+lib/libuta-0.4.so.0
lib/libuta.a
include/uta/debug.h
include/uta/color.h
diff --git a/devel/wftk/Makefile b/devel/wftk/Makefile
index 3814e11514e1..f9392bdd1c29 100644
--- a/devel/wftk/Makefile
+++ b/devel/wftk/Makefile
@@ -6,21 +6,51 @@
#
PORTNAME= libuta
-PORTVERSION= 0.3.38
+PORTVERSION= 0.4.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lehmann@ans-netz.de
-LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
sigc.1:${PORTSDIR}/devel/libsigc++ \
- SDL-1.1.4:${PORTSDIR}/devel/sdl12 \
- SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
+ SDL-1.1.4:${PORTSDIR}/devel/sdl12
USE_FREETYPE= yes
USE_LIBTOOL= yes
-CONFIGURE_ARGS= --prefix=${PREFIX}
-CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/freetype1"
+GNU_CONFIGURE= yes
+USE_REINPLACE= yes
-.include <bsd.port.mk>
+CONFIGURE_ENV= SDL_CONFIG="${LOCALBASE}/bin/sdl11-config" \
+ LIBS="-L${LOCALBASE}/lib"
+
+SDL11_FILES= configure uta/color.h uta/event.h uta/keysym.h uta/mutex.h \
+ uta/pixelformat.h uta/rect.h uta/sge_blib.cc uta/sge_blib.h \
+ uta/sge_draw.cc uta/sge_draw.h uta/sound.h uta/surface_io.cc \
+ uta/surface.h uta/timer.cc
+
+.include <bsd.port.pre.mk>
+
+.if exists(${LOCALBASE}/lib/libSDL_mixer.so.2)
+WITH_SDL_MIXER= yes
+.endif
+
+.if defined(WITH_SDL_MIXER)
+LIB_DEPENDS+= SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer
+.endif
+
+
+pre-everything::
+ @${ECHO} ""
+ @${ECHO} "You may use the following build options:"
+ @${ECHO} ""
+ @${ECHO} " WITH_SDL_MIXER=yes Enable music and sound support"
+ @${ECHO} ""
+
+post-patch:
+.for i in ${SDL11_FILES}
+ ${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/$i
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/devel/wftk/distinfo b/devel/wftk/distinfo
index 9052a4b188c6..e3d9d5d6105e 100644
--- a/devel/wftk/distinfo
+++ b/devel/wftk/distinfo
@@ -1 +1 @@
-MD5 (libuta-0.3.38.tar.gz) = 19e9b692fa046fb7c8e16c5cceaea232
+MD5 (libuta-0.4.1.tar.gz) = 102eebdf70941cd11ed36af9ba8726d6
diff --git a/devel/wftk/files/patch-aa b/devel/wftk/files/patch-aa
deleted file mode 100644
index cf5ad2bb912d..000000000000
--- a/devel/wftk/files/patch-aa
+++ /dev/null
@@ -1,60 +0,0 @@
-
-$FreeBSD$
-
---- configure.orig Thu Apr 12 12:21:35 2001
-+++ configure Thu Mar 14 13:09:31 2002
-@@ -7,6 +7,9 @@
- # This configure script is free software; the Free Software Foundation
- # gives unlimited permission to copy, distribute and modify it.
-
-+LIBS="$LIBS -L/usr/local/lib"
-+SDL_CONFIG="/usr/local/bin/sdl11-config"
-+
- # Defaults:
- ac_help=
- ac_default_prefix=/usr/local
-@@ -3573,7 +3576,7 @@
-
- CFLAGS=
- CXXFLAGS=
--CPPFLAGS=-Wall
-+CPPFLAGS="$CPPFLAGS -Wall"
-
- case $win32 in
- true)
-@@ -4603,7 +4606,7 @@
- no_sdl=yes
- else
- SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
-- SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
-+ SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs | sed 's/-lXxf86vm -lXxf86dga -lXv //g'`
-
- sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
- sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
-@@ -4627,7 +4630,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- char*
- my_strdup (char *str)
-@@ -4717,7 +4720,7 @@
- #include "confdefs.h"
-
- #include <stdio.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- int main() {
- return 0;
-@@ -5042,7 +5045,7 @@
- cat > conftest.$ac_ext <<EOF
- #line 5044 "configure"
- #include "confdefs.h"
--#include <SDL/SDL_mixer.h>
-+#include <SDL11/SDL_mixer.h>
- EOF
- ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
- { (eval echo configure:5049: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
diff --git a/devel/wftk/files/patch-ab b/devel/wftk/files/patch-ab
deleted file mode 100644
index d9bd2f27161b..000000000000
--- a/devel/wftk/files/patch-ab
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/color.h.orig Sat Mar 31 05:24:37 2001
-+++ uta/color.h Sat Mar 31 05:26:10 2001
-@@ -22,7 +22,7 @@
- #define _COLOR_H
-
- #include <iostream>
--#include <SDL/SDL_version.h>
-+#include <SDL11/SDL_version.h>
-
- namespace uta {
- ///
diff --git a/devel/wftk/files/patch-ac b/devel/wftk/files/patch-ac
deleted file mode 100644
index 5bde56c9bf9f..000000000000
--- a/devel/wftk/files/patch-ac
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/event.h.orig Sat Mar 31 05:24:44 2001
-+++ uta/event.h Sat Mar 31 05:26:20 2001
-@@ -21,7 +21,7 @@
- #ifndef _EVENT_H
- #define _EVENT_H
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include "keysym.h"
- #include "point.h"
-
diff --git a/devel/wftk/files/patch-ad b/devel/wftk/files/patch-ad
deleted file mode 100644
index f4a8342115de..000000000000
--- a/devel/wftk/files/patch-ad
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/keysym.h.orig Sat Mar 31 05:24:56 2001
-+++ uta/keysym.h Sat Mar 31 05:26:32 2001
-@@ -20,7 +20,7 @@
- #ifndef KEYSYM_H
- #define KEYSYM_H
-
--#include <SDL/SDL_keysym.h>
-+#include <SDL11/SDL_keysym.h>
-
- namespace uta {
-
diff --git a/devel/wftk/files/patch-ae b/devel/wftk/files/patch-ae
deleted file mode 100644
index c41014f200ee..000000000000
--- a/devel/wftk/files/patch-ae
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/mutex.h.orig Sat Mar 31 05:25:05 2001
-+++ uta/mutex.h Sat Mar 31 05:26:54 2001
-@@ -22,7 +22,7 @@
- #ifndef _MUTEX_H_
- #define _MUTEX_H_
-
--#include <SDL/SDL_mutex.h>
-+#include <SDL11/SDL_mutex.h>
-
- namespace uta {
-
diff --git a/devel/wftk/files/patch-af b/devel/wftk/files/patch-af
deleted file mode 100644
index f96ea5049ee6..000000000000
--- a/devel/wftk/files/patch-af
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/rect.h.orig Sat Mar 31 05:25:30 2001
-+++ uta/rect.h Sat Mar 31 05:27:27 2001
-@@ -21,7 +21,7 @@
- #ifndef _RECT_H
- #define _RECT_H
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- #include "point.h"
-
diff --git a/devel/wftk/files/patch-ag b/devel/wftk/files/patch-ag
deleted file mode 100644
index 01a860651720..000000000000
--- a/devel/wftk/files/patch-ag
+++ /dev/null
@@ -1,14 +0,0 @@
---- uta/sound.h.orig Sat Mar 31 05:25:38 2001
-+++ uta/sound.h Sat Mar 31 05:27:39 2001
-@@ -36,9 +36,9 @@
- #endif
-
- #ifdef HAVE_MIXER
--#include <SDL/SDL_mixer.h>
-+#include <SDL11/SDL_mixer.h>
- #else
--#include <SDL/SDL_types.h>
-+#include <SDL11/SDL_types.h>
- #endif
-
- namespace uta {
diff --git a/devel/wftk/files/patch-ah b/devel/wftk/files/patch-ah
deleted file mode 100644
index 0c8413e05f6b..000000000000
--- a/devel/wftk/files/patch-ah
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/surface.h.orig Sat Mar 31 05:25:49 2001
-+++ uta/surface.h Sat Mar 31 05:27:49 2001
-@@ -22,7 +22,7 @@
- #ifndef _SURFACE_H_
- #define _SURFACE_H_
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- #include "color.h"
- #include "point.h"
diff --git a/devel/wftk/files/patch-ai b/devel/wftk/files/patch-ai
deleted file mode 100644
index 6a8aa18704d6..000000000000
--- a/devel/wftk/files/patch-ai
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/sge_blib.h.orig Sat Mar 31 05:44:18 2001
-+++ uta/sge_blib.h Sat Mar 31 05:38:40 2001
-@@ -18,7 +18,7 @@
- #ifndef sge_blib_H
- #define sge_blib_H
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include "sge_internal.h"
-
-
diff --git a/devel/wftk/files/patch-aj b/devel/wftk/files/patch-aj
deleted file mode 100644
index cced0c73a97f..000000000000
--- a/devel/wftk/files/patch-aj
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/sge_blib.cc.orig Sat Mar 31 05:40:36 2001
-+++ uta/sge_blib.cc Sat Mar 31 05:40:51 2001
-@@ -19,7 +19,7 @@
- * This is written by Johan E. Thélin and is slightly modified by me.
- */
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include "sge_draw.h"
- #include "sge_blib.h"
-
diff --git a/devel/wftk/files/patch-ak b/devel/wftk/files/patch-ak
deleted file mode 100644
index a94ac45c9566..000000000000
--- a/devel/wftk/files/patch-ak
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/sge_draw.cc.orig Sat Mar 31 05:41:03 2001
-+++ uta/sge_draw.cc Sat Mar 31 05:41:56 2001
-@@ -20,7 +20,7 @@
- * John Garrison's PowerPak
- */
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include <math.h>
- #include <string.h>
- #include <stdarg.h>
diff --git a/devel/wftk/files/patch-al b/devel/wftk/files/patch-al
deleted file mode 100644
index 898f8f2407cf..000000000000
--- a/devel/wftk/files/patch-al
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/surface_io.cc.orig Sat Mar 31 05:41:28 2001
-+++ uta/surface_io.cc Sat Mar 31 05:42:29 2001
-@@ -79,7 +79,7 @@
- #include <assert.h>
-
- #include <png.h>
--#include <SDL/SDL_endian.h>
-+#include <SDL11/SDL_endian.h>
-
- namespace uta {
-
diff --git a/devel/wftk/files/patch-am b/devel/wftk/files/patch-am
deleted file mode 100644
index fe90bd1267f8..000000000000
--- a/devel/wftk/files/patch-am
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/timer.cc.orig Sat Mar 31 05:41:43 2001
-+++ uta/timer.cc Sat Mar 31 05:42:38 2001
-@@ -18,7 +18,7 @@
- Boston, MA 02111-1307, SA.
- */
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include "timer.h"
-
- #include <stl.h>
diff --git a/devel/wftk/files/patch-an b/devel/wftk/files/patch-an
deleted file mode 100644
index 58c087291bcf..000000000000
--- a/devel/wftk/files/patch-an
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/pixelformat.h.orig Sat Mar 31 05:51:51 2001
-+++ uta/pixelformat.h Sat Mar 31 05:52:22 2001
-@@ -27,7 +27,7 @@
-
-
- //just for typedefs ...
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- #include <string>
- #include <stl.h>
diff --git a/devel/wftk/files/patch-ao b/devel/wftk/files/patch-ao
deleted file mode 100644
index 4c45fe4118d3..000000000000
--- a/devel/wftk/files/patch-ao
+++ /dev/null
@@ -1,11 +0,0 @@
---- uta/sge_draw.h.orig Sat Mar 31 05:52:07 2001
-+++ uta/sge_draw.h Sat Mar 31 05:52:34 2001
-@@ -18,7 +18,7 @@
- #ifndef sge_draw_H
- #define sge_draw_H
-
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- #include "sge_internal.h"
-
-
diff --git a/devel/wftk/files/patch-ap b/devel/wftk/files/patch-ap
deleted file mode 100644
index 586c7f79bf3e..000000000000
--- a/devel/wftk/files/patch-ap
+++ /dev/null
@@ -1,62 +0,0 @@
---- acinclude.m4.orig Tue Nov 21 11:10:07 2000
-+++ acinclude.m4 Sat Mar 31 06:08:52 2001
-@@ -606,8 +606,8 @@
- CHECK_LIB_HEADER_VERSION(
- SDL,
- SDL_Init,
-- SDL/SDL.h,
-- SDL/SDL_version.h,
-+ SDL11/SDL.h,
-+ SDL11/SDL_version.h,
- SDL_MAJOR_VERSION.SDL_MINOR_VERSION.SDL_PATCHLEVEL,
- $1,
- http://www.devolution.com/~slouken/SDL/SDL-0.10/src/SDL-$1.tar.gz)
-@@ -618,7 +618,7 @@
- [
- TEST_SKIP(
- [
-- AC_CHECK_HEADER(SDL/SDL_mixer.h,
-+ AC_CHECK_HEADER(SDL11/SDL_mixer.h,
- [
- AC_DEFINE(HAVE_MIXER))
- AC_CHECK_LIB([
-@@ -1027,13 +1027,13 @@
- if test x$sdl_exec_prefix != x ; then
- sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
- if test x${SDL_CONFIG+set} != xset ; then
-- SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
-+ SDL_CONFIG=$sdl_exec_prefix/bin/sdl11-config
- fi
- fi
- if test x$sdl_prefix != x ; then
- sdl_args="$sdl_args --prefix=$sdl_prefix"
- if test x${SDL_CONFIG+set} != xset ; then
-- SDL_CONFIG=$sdl_prefix/bin/sdl-config
-+ SDL_CONFIG=$sdl_prefix/bin/sdl11-config
- fi
- fi
-
-@@ -1067,7 +1067,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- char*
- my_strdup (char *str)
-@@ -1141,7 +1141,7 @@
- LIBS="$LIBS $SDL_LIBS"
- AC_TRY_LINK([
- #include <stdio.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- ], [ return 0; ],
- [ echo "*** The test program compiled, but did not run. This usually means"
- echo "*** that the run-time linker is not finding SDL or finding the wrong"
-@@ -1292,4 +1292,4 @@
- AC_SUBST(SIGC_CFLAGS)
- AC_SUBST(SIGC_LIBS)
-
--])
-+])
diff --git a/devel/wftk/files/patch-aq b/devel/wftk/files/patch-aq
deleted file mode 100644
index cdae7ba7b1aa..000000000000
--- a/devel/wftk/files/patch-aq
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.in.orig Sat Mar 31 06:01:00 2001
-+++ configure.in Sat Mar 31 06:01:12 2001
-@@ -186,7 +186,7 @@
- ])
- AM_CONDITIONAL(SMPEG_AVAILABLE, test x$have_smpeg = xyes)
-
--AC_CHECK_HEADER(SDL/SDL_mixer.h,AC_CHECK_LIB(SDL_mixer, Mix_SetPostMix, [
-+AC_CHECK_HEADER(SDL11/SDL_mixer.h,AC_CHECK_LIB(SDL_mixer, Mix_SetPostMix, [
- MIXLIBS=-lSDL_mixer
- AC_DEFINE(HAVE_MIXER)
- ]))
diff --git a/devel/wftk/files/patch-ar b/devel/wftk/files/patch-ar
deleted file mode 100644
index 62d81deb50a6..000000000000
--- a/devel/wftk/files/patch-ar
+++ /dev/null
@@ -1,56 +0,0 @@
---- aclocal.m4.orig Wed Mar 21 13:44:06 2001
-+++ aclocal.m4 Sat Mar 31 06:09:47 2001
-@@ -618,8 +618,8 @@
- CHECK_LIB_HEADER_VERSION(
- SDL,
- SDL_Init,
-- SDL/SDL.h,
-- SDL/SDL_version.h,
-+ SDL11/SDL.h,
-+ SDL11/SDL_version.h,
- SDL_MAJOR_VERSION.SDL_MINOR_VERSION.SDL_PATCHLEVEL,
- $1,
- http://www.devolution.com/~slouken/SDL/SDL-0.10/src/SDL-$1.tar.gz)
-@@ -630,7 +630,7 @@
- [
- TEST_SKIP(
- [
-- AC_CHECK_HEADER(SDL/SDL_mixer.h,
-+ AC_CHECK_HEADER(SDL11/SDL_mixer.h,
- [
- AC_DEFINE(HAVE_MIXER))
- AC_CHECK_LIB([
-@@ -1039,13 +1039,13 @@
- if test x$sdl_exec_prefix != x ; then
- sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
- if test x${SDL_CONFIG+set} != xset ; then
-- SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
-+ SDL_CONFIG=$sdl_exec_prefix/bin/sdl11-config
- fi
- fi
- if test x$sdl_prefix != x ; then
- sdl_args="$sdl_args --prefix=$sdl_prefix"
- if test x${SDL_CONFIG+set} != xset ; then
-- SDL_CONFIG=$sdl_prefix/bin/sdl-config
-+ SDL_CONFIG=$sdl_prefix/bin/sdl11-config
- fi
- fi
-
-@@ -1079,7 +1079,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
-
- char*
- my_strdup (char *str)
-@@ -1153,7 +1153,7 @@
- LIBS="$LIBS $SDL_LIBS"
- AC_TRY_LINK([
- #include <stdio.h>
--#include <SDL/SDL.h>
-+#include <SDL11/SDL.h>
- ], [ return 0; ],
- [ echo "*** The test program compiled, but did not run. This usually means"
- echo "*** that the run-time linker is not finding SDL or finding the wrong"
diff --git a/devel/wftk/pkg-plist b/devel/wftk/pkg-plist
index 888041df69ed..9ee82c09a856 100644
--- a/devel/wftk/pkg-plist
+++ b/devel/wftk/pkg-plist
@@ -1,6 +1,8 @@
bin/uta-config
+lib/libuta.la
lib/libuta.so
-lib/libuta-0.3.so.38
+lib/libuta-0.4.so
+lib/libuta-0.4.so.0
lib/libuta.a
include/uta/debug.h
include/uta/color.h