From 22d8d01d044ec4edf35e0158913e5d61cbecffcd Mon Sep 17 00:00:00 2001 From: Alexander Langer Date: Thu, 5 Apr 2001 19:01:48 +0000 Subject: Add libuta 0.3.36, a Graphical User Interface library for C++. PR: 26250 Submitted by: Oliver Lehmann --- devel/Makefile | 1 + devel/libuta/Makefile | 25 ++++++++++++++++++ devel/libuta/distinfo | 1 + devel/libuta/files/patch-aa | 21 +++++++++++++++ devel/libuta/files/patch-ab | 11 ++++++++ devel/libuta/files/patch-ac | 11 ++++++++ devel/libuta/files/patch-ad | 11 ++++++++ devel/libuta/files/patch-ae | 11 ++++++++ devel/libuta/files/patch-af | 11 ++++++++ devel/libuta/files/patch-ag | 14 ++++++++++ devel/libuta/files/patch-ah | 11 ++++++++ devel/libuta/files/patch-ai | 11 ++++++++ devel/libuta/files/patch-aj | 11 ++++++++ devel/libuta/files/patch-ak | 11 ++++++++ devel/libuta/files/patch-al | 11 ++++++++ devel/libuta/files/patch-am | 11 ++++++++ devel/libuta/files/patch-an | 11 ++++++++ devel/libuta/files/patch-ao | 11 ++++++++ devel/libuta/files/patch-ap | 62 +++++++++++++++++++++++++++++++++++++++++++++ devel/libuta/files/patch-aq | 11 ++++++++ devel/libuta/files/patch-ar | 56 ++++++++++++++++++++++++++++++++++++++++ devel/libuta/pkg-comment | 1 + devel/libuta/pkg-descr | 6 +++++ devel/libuta/pkg-plist | 55 ++++++++++++++++++++++++++++++++++++++++ devel/wftk/Makefile | 25 ++++++++++++++++++ devel/wftk/distinfo | 1 + devel/wftk/files/patch-aa | 21 +++++++++++++++ devel/wftk/files/patch-ab | 11 ++++++++ devel/wftk/files/patch-ac | 11 ++++++++ devel/wftk/files/patch-ad | 11 ++++++++ devel/wftk/files/patch-ae | 11 ++++++++ devel/wftk/files/patch-af | 11 ++++++++ devel/wftk/files/patch-ag | 14 ++++++++++ devel/wftk/files/patch-ah | 11 ++++++++ devel/wftk/files/patch-ai | 11 ++++++++ devel/wftk/files/patch-aj | 11 ++++++++ devel/wftk/files/patch-ak | 11 ++++++++ devel/wftk/files/patch-al | 11 ++++++++ devel/wftk/files/patch-am | 11 ++++++++ devel/wftk/files/patch-an | 11 ++++++++ devel/wftk/files/patch-ao | 11 ++++++++ devel/wftk/files/patch-ap | 62 +++++++++++++++++++++++++++++++++++++++++++++ devel/wftk/files/patch-aq | 11 ++++++++ devel/wftk/files/patch-ar | 56 ++++++++++++++++++++++++++++++++++++++++ devel/wftk/pkg-comment | 1 + devel/wftk/pkg-descr | 6 +++++ devel/wftk/pkg-plist | 55 ++++++++++++++++++++++++++++++++++++++++ 47 files changed, 791 insertions(+) create mode 100644 devel/libuta/Makefile create mode 100644 devel/libuta/distinfo create mode 100644 devel/libuta/files/patch-aa create mode 100644 devel/libuta/files/patch-ab create mode 100644 devel/libuta/files/patch-ac create mode 100644 devel/libuta/files/patch-ad create mode 100644 devel/libuta/files/patch-ae create mode 100644 devel/libuta/files/patch-af create mode 100644 devel/libuta/files/patch-ag create mode 100644 devel/libuta/files/patch-ah create mode 100644 devel/libuta/files/patch-ai create mode 100644 devel/libuta/files/patch-aj create mode 100644 devel/libuta/files/patch-ak create mode 100644 devel/libuta/files/patch-al create mode 100644 devel/libuta/files/patch-am create mode 100644 devel/libuta/files/patch-an create mode 100644 devel/libuta/files/patch-ao create mode 100644 devel/libuta/files/patch-ap create mode 100644 devel/libuta/files/patch-aq create mode 100644 devel/libuta/files/patch-ar create mode 100644 devel/libuta/pkg-comment create mode 100644 devel/libuta/pkg-descr create mode 100644 devel/libuta/pkg-plist create mode 100644 devel/wftk/Makefile create mode 100644 devel/wftk/distinfo create mode 100644 devel/wftk/files/patch-aa create mode 100644 devel/wftk/files/patch-ab create mode 100644 devel/wftk/files/patch-ac create mode 100644 devel/wftk/files/patch-ad create mode 100644 devel/wftk/files/patch-ae create mode 100644 devel/wftk/files/patch-af create mode 100644 devel/wftk/files/patch-ag create mode 100644 devel/wftk/files/patch-ah create mode 100644 devel/wftk/files/patch-ai create mode 100644 devel/wftk/files/patch-aj create mode 100644 devel/wftk/files/patch-ak create mode 100644 devel/wftk/files/patch-al create mode 100644 devel/wftk/files/patch-am create mode 100644 devel/wftk/files/patch-an create mode 100644 devel/wftk/files/patch-ao create mode 100644 devel/wftk/files/patch-ap create mode 100644 devel/wftk/files/patch-aq create mode 100644 devel/wftk/files/patch-ar create mode 100644 devel/wftk/pkg-comment create mode 100644 devel/wftk/pkg-descr create mode 100644 devel/wftk/pkg-plist (limited to 'devel') diff --git a/devel/Makefile b/devel/Makefile index 7742551dfc18..2b1fb845f8db 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -193,6 +193,7 @@ SUBDIR += libtool SUBDIR += libunicode SUBDIR += libusb + SUBDIR += libuta SUBDIR += libxalloc SUBDIR += lincvs SUBDIR += linguist diff --git a/devel/libuta/Makefile b/devel/libuta/Makefile new file mode 100644 index 000000000000..f5b66f492b24 --- /dev/null +++ b/devel/libuta/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: libuta +# Date created: 29 March 2001 +# Whom: Oliver Lehmann +# +# $FreeBSD$ +# + +PORTNAME= libuta +PORTVERSION= 0.3.36 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lehmann@ans-netz.de + +LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \ + ttf.4:${PORTSDIR}/print/freetype \ + sigc.1:${PORTSDIR}/devel/libsigc++ \ + SDL-1.1.3:${PORTSDIR}/devel/sdl-devel \ + SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer + +USE_LIBTOOL= YES +CONFIGURE_ARGS= --prefix=${PREFIX} + +.include diff --git a/devel/libuta/distinfo b/devel/libuta/distinfo new file mode 100644 index 000000000000..6982dd63c0e6 --- /dev/null +++ b/devel/libuta/distinfo @@ -0,0 +1 @@ +MD5 (libuta-0.3.36.tar.gz) = 7237fb067884745cde01f290f35932f4 diff --git a/devel/libuta/files/patch-aa b/devel/libuta/files/patch-aa new file mode 100644 index 000000000000..91ce1147b866 --- /dev/null +++ b/devel/libuta/files/patch-aa @@ -0,0 +1,21 @@ +--- configure.orig Thu Apr 5 17:21:15 2001 ++++ configure Thu Apr 5 17:23:51 2001 +@@ -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" ++ ++ + # Defaults: + ac_help= + ac_default_prefix=/usr/local +@@ -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/'` diff --git a/devel/libuta/files/patch-ab b/devel/libuta/files/patch-ab new file mode 100644 index 000000000000..d9bd2f27161b --- /dev/null +++ b/devel/libuta/files/patch-ab @@ -0,0 +1,11 @@ +--- 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 +-#include ++#include + + namespace uta { + /// diff --git a/devel/libuta/files/patch-ac b/devel/libuta/files/patch-ac new file mode 100644 index 000000000000..5bde56c9bf9f --- /dev/null +++ b/devel/libuta/files/patch-ac @@ -0,0 +1,11 @@ +--- 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 ++#include + #include "keysym.h" + #include "point.h" + diff --git a/devel/libuta/files/patch-ad b/devel/libuta/files/patch-ad new file mode 100644 index 000000000000..f4a8342115de --- /dev/null +++ b/devel/libuta/files/patch-ad @@ -0,0 +1,11 @@ +--- 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 ++#include + + namespace uta { + diff --git a/devel/libuta/files/patch-ae b/devel/libuta/files/patch-ae new file mode 100644 index 000000000000..c41014f200ee --- /dev/null +++ b/devel/libuta/files/patch-ae @@ -0,0 +1,11 @@ +--- 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 ++#include + + namespace uta { + diff --git a/devel/libuta/files/patch-af b/devel/libuta/files/patch-af new file mode 100644 index 000000000000..f96ea5049ee6 --- /dev/null +++ b/devel/libuta/files/patch-af @@ -0,0 +1,11 @@ +--- 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 ++#include + + #include "point.h" + diff --git a/devel/libuta/files/patch-ag b/devel/libuta/files/patch-ag new file mode 100644 index 000000000000..01a860651720 --- /dev/null +++ b/devel/libuta/files/patch-ag @@ -0,0 +1,14 @@ +--- 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 ++#include + #else +-#include ++#include + #endif + + namespace uta { diff --git a/devel/libuta/files/patch-ah b/devel/libuta/files/patch-ah new file mode 100644 index 000000000000..0c8413e05f6b --- /dev/null +++ b/devel/libuta/files/patch-ah @@ -0,0 +1,11 @@ +--- 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 ++#include + + #include "color.h" + #include "point.h" diff --git a/devel/libuta/files/patch-ai b/devel/libuta/files/patch-ai new file mode 100644 index 000000000000..6a8aa18704d6 --- /dev/null +++ b/devel/libuta/files/patch-ai @@ -0,0 +1,11 @@ +--- 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 ++#include + #include "sge_internal.h" + + diff --git a/devel/libuta/files/patch-aj b/devel/libuta/files/patch-aj new file mode 100644 index 000000000000..cced0c73a97f --- /dev/null +++ b/devel/libuta/files/patch-aj @@ -0,0 +1,11 @@ +--- 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 ++#include + #include "sge_draw.h" + #include "sge_blib.h" + diff --git a/devel/libuta/files/patch-ak b/devel/libuta/files/patch-ak new file mode 100644 index 000000000000..a94ac45c9566 --- /dev/null +++ b/devel/libuta/files/patch-ak @@ -0,0 +1,11 @@ +--- 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 ++#include + #include + #include + #include diff --git a/devel/libuta/files/patch-al b/devel/libuta/files/patch-al new file mode 100644 index 000000000000..898f8f2407cf --- /dev/null +++ b/devel/libuta/files/patch-al @@ -0,0 +1,11 @@ +--- 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 + + #include +-#include ++#include + + namespace uta { + diff --git a/devel/libuta/files/patch-am b/devel/libuta/files/patch-am new file mode 100644 index 000000000000..fe90bd1267f8 --- /dev/null +++ b/devel/libuta/files/patch-am @@ -0,0 +1,11 @@ +--- 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 ++#include + #include "timer.h" + + #include diff --git a/devel/libuta/files/patch-an b/devel/libuta/files/patch-an new file mode 100644 index 000000000000..58c087291bcf --- /dev/null +++ b/devel/libuta/files/patch-an @@ -0,0 +1,11 @@ +--- 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 ++#include + + #include + #include diff --git a/devel/libuta/files/patch-ao b/devel/libuta/files/patch-ao new file mode 100644 index 000000000000..4c45fe4118d3 --- /dev/null +++ b/devel/libuta/files/patch-ao @@ -0,0 +1,11 @@ +--- 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 ++#include + #include "sge_internal.h" + + diff --git a/devel/libuta/files/patch-ap b/devel/libuta/files/patch-ap new file mode 100644 index 000000000000..586c7f79bf3e --- /dev/null +++ b/devel/libuta/files/patch-ap @@ -0,0 +1,62 @@ +--- 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 + #include + #include +-#include ++#include + + char* + my_strdup (char *str) +@@ -1141,7 +1141,7 @@ + LIBS="$LIBS $SDL_LIBS" + AC_TRY_LINK([ + #include +-#include ++#include + ], [ 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 new file mode 100644 index 000000000000..cdae7ba7b1aa --- /dev/null +++ b/devel/libuta/files/patch-aq @@ -0,0 +1,11 @@ +--- 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 new file mode 100644 index 000000000000..62d81deb50a6 --- /dev/null +++ b/devel/libuta/files/patch-ar @@ -0,0 +1,56 @@ +--- 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 + #include + #include +-#include ++#include + + char* + my_strdup (char *str) +@@ -1153,7 +1153,7 @@ + LIBS="$LIBS $SDL_LIBS" + AC_TRY_LINK([ + #include +-#include ++#include + ], [ 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-comment b/devel/libuta/pkg-comment new file mode 100644 index 000000000000..5d7d6d9c011e --- /dev/null +++ b/devel/libuta/pkg-comment @@ -0,0 +1 @@ +A Graphical User Interface library for C++ diff --git a/devel/libuta/pkg-descr b/devel/libuta/pkg-descr new file mode 100644 index 000000000000..6333d6de5fb8 --- /dev/null +++ b/devel/libuta/pkg-descr @@ -0,0 +1,6 @@ +libuta is a Graphical User Interface library for C++ that uses SDL +as its output layer. It allows application and game programmers to +put together portable graphical applications easily. libuta has a +range of already implemented widgets and uses libsigc++ as a signal +dispatching system. It also performs resource management and has a +sound system. diff --git a/devel/libuta/pkg-plist b/devel/libuta/pkg-plist new file mode 100644 index 000000000000..7cea88ae695b --- /dev/null +++ b/devel/libuta/pkg-plist @@ -0,0 +1,55 @@ +bin/uta-config +lib/libuta.so +lib/libuta-0.3.so.36 +lib/libuta.a +include/uta/debug.h +include/uta/color.h +include/uta/point.h +include/uta/rect.h +include/uta/keysym.h +include/uta/event.h +include/uta/shared.h +include/uta/pixelformat.h +include/uta/painter.h +include/uta/progressdialog.h +include/uta/logo.h +include/uta/logo_data.h +include/uta/terminal.h +include/uta/directsurface.h +include/uta/mutex.h +include/uta/version.h +include/uta/uta.h +include/uta/timer.h +include/uta/dialogbox.h +include/uta/messagebox.h +include/uta/questionbox.h +include/uta/blitters.h +include/uta/mmx.h +include/uta/application.h +include/uta/button.h +include/uta/dialog.h +include/uta/focus.h +include/uta/font.h +include/uta/label.h +include/uta/lineedit.h +include/uta/listbox.h +include/uta/mixer.h +include/uta/mouse.h +include/uta/mouse_data.h +include/uta/movie.h +include/uta/multilineedit.h +include/uta/music.h +include/uta/pushbutton.h +include/uta/resources.h +include/uta/rootwindow.h +include/uta/sample.h +include/uta/screensurface.h +include/uta/slider.h +include/uta/sound.h +include/uta/soundmapper.h +include/uta/surface.h +include/uta/togglebutton.h +include/uta/widget.h +share/aclocal/uta.m4 +@dirrm include/uta + diff --git a/devel/wftk/Makefile b/devel/wftk/Makefile new file mode 100644 index 000000000000..f5b66f492b24 --- /dev/null +++ b/devel/wftk/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: libuta +# Date created: 29 March 2001 +# Whom: Oliver Lehmann +# +# $FreeBSD$ +# + +PORTNAME= libuta +PORTVERSION= 0.3.36 +CATEGORIES= devel +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= lehmann@ans-netz.de + +LIB_DEPENDS= png.4:${PORTSDIR}/graphics/png \ + ttf.4:${PORTSDIR}/print/freetype \ + sigc.1:${PORTSDIR}/devel/libsigc++ \ + SDL-1.1.3:${PORTSDIR}/devel/sdl-devel \ + SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer + +USE_LIBTOOL= YES +CONFIGURE_ARGS= --prefix=${PREFIX} + +.include diff --git a/devel/wftk/distinfo b/devel/wftk/distinfo new file mode 100644 index 000000000000..6982dd63c0e6 --- /dev/null +++ b/devel/wftk/distinfo @@ -0,0 +1 @@ +MD5 (libuta-0.3.36.tar.gz) = 7237fb067884745cde01f290f35932f4 diff --git a/devel/wftk/files/patch-aa b/devel/wftk/files/patch-aa new file mode 100644 index 000000000000..91ce1147b866 --- /dev/null +++ b/devel/wftk/files/patch-aa @@ -0,0 +1,21 @@ +--- configure.orig Thu Apr 5 17:21:15 2001 ++++ configure Thu Apr 5 17:23:51 2001 +@@ -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" ++ ++ + # Defaults: + ac_help= + ac_default_prefix=/usr/local +@@ -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/'` diff --git a/devel/wftk/files/patch-ab b/devel/wftk/files/patch-ab new file mode 100644 index 000000000000..d9bd2f27161b --- /dev/null +++ b/devel/wftk/files/patch-ab @@ -0,0 +1,11 @@ +--- 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 +-#include ++#include + + namespace uta { + /// diff --git a/devel/wftk/files/patch-ac b/devel/wftk/files/patch-ac new file mode 100644 index 000000000000..5bde56c9bf9f --- /dev/null +++ b/devel/wftk/files/patch-ac @@ -0,0 +1,11 @@ +--- 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 ++#include + #include "keysym.h" + #include "point.h" + diff --git a/devel/wftk/files/patch-ad b/devel/wftk/files/patch-ad new file mode 100644 index 000000000000..f4a8342115de --- /dev/null +++ b/devel/wftk/files/patch-ad @@ -0,0 +1,11 @@ +--- 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 ++#include + + namespace uta { + diff --git a/devel/wftk/files/patch-ae b/devel/wftk/files/patch-ae new file mode 100644 index 000000000000..c41014f200ee --- /dev/null +++ b/devel/wftk/files/patch-ae @@ -0,0 +1,11 @@ +--- 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 ++#include + + namespace uta { + diff --git a/devel/wftk/files/patch-af b/devel/wftk/files/patch-af new file mode 100644 index 000000000000..f96ea5049ee6 --- /dev/null +++ b/devel/wftk/files/patch-af @@ -0,0 +1,11 @@ +--- 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 ++#include + + #include "point.h" + diff --git a/devel/wftk/files/patch-ag b/devel/wftk/files/patch-ag new file mode 100644 index 000000000000..01a860651720 --- /dev/null +++ b/devel/wftk/files/patch-ag @@ -0,0 +1,14 @@ +--- 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 ++#include + #else +-#include ++#include + #endif + + namespace uta { diff --git a/devel/wftk/files/patch-ah b/devel/wftk/files/patch-ah new file mode 100644 index 000000000000..0c8413e05f6b --- /dev/null +++ b/devel/wftk/files/patch-ah @@ -0,0 +1,11 @@ +--- 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 ++#include + + #include "color.h" + #include "point.h" diff --git a/devel/wftk/files/patch-ai b/devel/wftk/files/patch-ai new file mode 100644 index 000000000000..6a8aa18704d6 --- /dev/null +++ b/devel/wftk/files/patch-ai @@ -0,0 +1,11 @@ +--- 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 ++#include + #include "sge_internal.h" + + diff --git a/devel/wftk/files/patch-aj b/devel/wftk/files/patch-aj new file mode 100644 index 000000000000..cced0c73a97f --- /dev/null +++ b/devel/wftk/files/patch-aj @@ -0,0 +1,11 @@ +--- 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 ++#include + #include "sge_draw.h" + #include "sge_blib.h" + diff --git a/devel/wftk/files/patch-ak b/devel/wftk/files/patch-ak new file mode 100644 index 000000000000..a94ac45c9566 --- /dev/null +++ b/devel/wftk/files/patch-ak @@ -0,0 +1,11 @@ +--- 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 ++#include + #include + #include + #include diff --git a/devel/wftk/files/patch-al b/devel/wftk/files/patch-al new file mode 100644 index 000000000000..898f8f2407cf --- /dev/null +++ b/devel/wftk/files/patch-al @@ -0,0 +1,11 @@ +--- 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 + + #include +-#include ++#include + + namespace uta { + diff --git a/devel/wftk/files/patch-am b/devel/wftk/files/patch-am new file mode 100644 index 000000000000..fe90bd1267f8 --- /dev/null +++ b/devel/wftk/files/patch-am @@ -0,0 +1,11 @@ +--- 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 ++#include + #include "timer.h" + + #include diff --git a/devel/wftk/files/patch-an b/devel/wftk/files/patch-an new file mode 100644 index 000000000000..58c087291bcf --- /dev/null +++ b/devel/wftk/files/patch-an @@ -0,0 +1,11 @@ +--- 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 ++#include + + #include + #include diff --git a/devel/wftk/files/patch-ao b/devel/wftk/files/patch-ao new file mode 100644 index 000000000000..4c45fe4118d3 --- /dev/null +++ b/devel/wftk/files/patch-ao @@ -0,0 +1,11 @@ +--- 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 ++#include + #include "sge_internal.h" + + diff --git a/devel/wftk/files/patch-ap b/devel/wftk/files/patch-ap new file mode 100644 index 000000000000..586c7f79bf3e --- /dev/null +++ b/devel/wftk/files/patch-ap @@ -0,0 +1,62 @@ +--- 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 + #include + #include +-#include ++#include + + char* + my_strdup (char *str) +@@ -1141,7 +1141,7 @@ + LIBS="$LIBS $SDL_LIBS" + AC_TRY_LINK([ + #include +-#include ++#include + ], [ 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 new file mode 100644 index 000000000000..cdae7ba7b1aa --- /dev/null +++ b/devel/wftk/files/patch-aq @@ -0,0 +1,11 @@ +--- 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 new file mode 100644 index 000000000000..62d81deb50a6 --- /dev/null +++ b/devel/wftk/files/patch-ar @@ -0,0 +1,56 @@ +--- 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 + #include + #include +-#include ++#include + + char* + my_strdup (char *str) +@@ -1153,7 +1153,7 @@ + LIBS="$LIBS $SDL_LIBS" + AC_TRY_LINK([ + #include +-#include ++#include + ], [ 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-comment b/devel/wftk/pkg-comment new file mode 100644 index 000000000000..5d7d6d9c011e --- /dev/null +++ b/devel/wftk/pkg-comment @@ -0,0 +1 @@ +A Graphical User Interface library for C++ diff --git a/devel/wftk/pkg-descr b/devel/wftk/pkg-descr new file mode 100644 index 000000000000..6333d6de5fb8 --- /dev/null +++ b/devel/wftk/pkg-descr @@ -0,0 +1,6 @@ +libuta is a Graphical User Interface library for C++ that uses SDL +as its output layer. It allows application and game programmers to +put together portable graphical applications easily. libuta has a +range of already implemented widgets and uses libsigc++ as a signal +dispatching system. It also performs resource management and has a +sound system. diff --git a/devel/wftk/pkg-plist b/devel/wftk/pkg-plist new file mode 100644 index 000000000000..7cea88ae695b --- /dev/null +++ b/devel/wftk/pkg-plist @@ -0,0 +1,55 @@ +bin/uta-config +lib/libuta.so +lib/libuta-0.3.so.36 +lib/libuta.a +include/uta/debug.h +include/uta/color.h +include/uta/point.h +include/uta/rect.h +include/uta/keysym.h +include/uta/event.h +include/uta/shared.h +include/uta/pixelformat.h +include/uta/painter.h +include/uta/progressdialog.h +include/uta/logo.h +include/uta/logo_data.h +include/uta/terminal.h +include/uta/directsurface.h +include/uta/mutex.h +include/uta/version.h +include/uta/uta.h +include/uta/timer.h +include/uta/dialogbox.h +include/uta/messagebox.h +include/uta/questionbox.h +include/uta/blitters.h +include/uta/mmx.h +include/uta/application.h +include/uta/button.h +include/uta/dialog.h +include/uta/focus.h +include/uta/font.h +include/uta/label.h +include/uta/lineedit.h +include/uta/listbox.h +include/uta/mixer.h +include/uta/mouse.h +include/uta/mouse_data.h +include/uta/movie.h +include/uta/multilineedit.h +include/uta/music.h +include/uta/pushbutton.h +include/uta/resources.h +include/uta/rootwindow.h +include/uta/sample.h +include/uta/screensurface.h +include/uta/slider.h +include/uta/sound.h +include/uta/soundmapper.h +include/uta/surface.h +include/uta/togglebutton.h +include/uta/widget.h +share/aclocal/uta.m4 +@dirrm include/uta + -- cgit v1.2.3