diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-11-08 03:19:45 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2009-11-08 03:19:45 +0000 |
commit | d724fca185a84b3a9e26a0f0c2156752b2183584 (patch) | |
tree | 5736bf8db65f5d505c9d5fda4d76db6592e978c9 /devel/bennugd-modules | |
parent | d0221f9ce41e855b4b8840cf36270dada698df04 (diff) | |
download | ports-d724fca185a84b3a9e26a0f0c2156752b2183584.tar.gz ports-d724fca185a84b3a9e26a0f0c2156752b2183584.zip |
Notes
Diffstat (limited to 'devel/bennugd-modules')
-rw-r--r-- | devel/bennugd-modules/Makefile | 38 | ||||
-rw-r--r-- | devel/bennugd-modules/distinfo | 3 | ||||
-rw-r--r-- | devel/bennugd-modules/files/patch-configure | 60 | ||||
-rw-r--r-- | devel/bennugd-modules/files/patch-include-crypt.h | 11 | ||||
-rw-r--r-- | devel/bennugd-modules/files/patch-mod_mem-mod_mem.c | 20 | ||||
-rw-r--r-- | devel/bennugd-modules/pkg-descr | 13 | ||||
-rw-r--r-- | devel/bennugd-modules/pkg-plist | 139 |
7 files changed, 284 insertions, 0 deletions
diff --git a/devel/bennugd-modules/Makefile b/devel/bennugd-modules/Makefile new file mode 100644 index 000000000000..a54ba2e965a7 --- /dev/null +++ b/devel/bennugd-modules/Makefile @@ -0,0 +1,38 @@ +# New ports collection makefile for: bennugd +# Date created: 06 Nov 2009 +# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= modules +PORTVERSION= r20091106 +CATEGORIES= devel games +MASTER_SITES= http://mirror.amdmi3.ru/distfiles/ +PKGNAMEPREFIX= bennugd- +DISTNAME= bennugd-${PORTVERSION} + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= High level open source game development suite, modules + +BUILD_DEPENDS= ${LOCALBASE}/lib/libbgdrtm.so:${PORTSDIR}/devel/bennugd-core/ +RUN_DEPENDS= ${LOCALBASE}/lib/libbgdrtm.so:${PORTSDIR}/devel/bennugd-core/ +LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png + +USE_SDL= sdl mixer +GNU_CONFIGURE= yes +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ + CPPFLAGS="-I${LOCALBASE}/include" +CONFIGURE_ARGS= --libdir="${PREFIX}/lib/bennugd" +MAKE_JOBS_SAFE= yes + +WRKSRC= ${WRKDIR}/bennugd/${PORTNAME} + +post-extract: + @${CHMOD} a+x ${WRKSRC}/configure ${WRKSRC}/install-sh + +post-patch: + @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|; s|-lpthread|${PTHREAD_LIBS}|' \ + ${WRKSRC}/configure + +.include <bsd.port.mk> diff --git a/devel/bennugd-modules/distinfo b/devel/bennugd-modules/distinfo new file mode 100644 index 000000000000..92edb3ef355b --- /dev/null +++ b/devel/bennugd-modules/distinfo @@ -0,0 +1,3 @@ +MD5 (bennugd-r20091106.tar.gz) = d33e70cb214311ee65217521e3c0ce3c +SHA256 (bennugd-r20091106.tar.gz) = bdef09e9da715b5001411bc8c8276e66120e904596050f2175cca5405c9cec12 +SIZE (bennugd-r20091106.tar.gz) = 1468705 diff --git a/devel/bennugd-modules/files/patch-configure b/devel/bennugd-modules/files/patch-configure new file mode 100644 index 000000000000..e4119a7e6a3c --- /dev/null +++ b/devel/bennugd-modules/files/patch-configure @@ -0,0 +1,60 @@ +--- configure.orig 2009-07-22 06:02:45.000000000 +0400 ++++ configure 2009-11-06 06:10:30.000000000 +0300 +@@ -10946,7 +10946,7 @@ + COMMON_LDFLAGS="-L/usr/i586-mingw32msvc/lib -lshlwapi" + ;; + +- dragonfly*) ++ freebsd* | dragonfly*) + COMMON_CFLAGS="-I/usr/local/include -Wall -DTARGET_BSD" + COMMON_LDFLAGS="-pthread -L/usr/local/lib" + ;; +@@ -13073,13 +13073,13 @@ + { (exit 1); exit 1; }; } + fi + +-{ $as_echo "$as_me:$LINENO: checking for des_ecb_encrypt in -ldes" >&5 +-$as_echo_n "checking for des_ecb_encrypt in -ldes... " >&6; } ++{ $as_echo "$as_me:$LINENO: checking for des_ecb_encrypt in -lcrypto" >&5 ++$as_echo_n "checking for des_ecb_encrypt in -lcrypto... " >&6; } + if test "${ac_cv_lib_des_des_ecb_encrypt+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldes $LIBS" ++LIBS="-lcrypto $LIBS" + cat >conftest.$ac_ext <<_ACEOF + /* confdefs.h. */ + _ACEOF +@@ -13093,11 +13093,11 @@ + #ifdef __cplusplus + extern "C" + #endif +-char des_ecb_encrypt (); ++char DES_ecb_encrypt (); + int + main () + { +-return des_ecb_encrypt (); ++return DES_ecb_encrypt (); + ; + return 0; + } +@@ -13199,7 +13199,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include <des.h> ++#include <openssl/des.h> + _ACEOF + if { (ac_try="$ac_cpp conftest.$ac_ext" + case "(($ac_try" in +@@ -13267,7 +13267,7 @@ + + fi + if test "x$ac_cv_header_des_h" = x""yes; then +- DESLIBS="-ldes" ++ DESLIBS="-lcrypto" + fi + + diff --git a/devel/bennugd-modules/files/patch-include-crypt.h b/devel/bennugd-modules/files/patch-include-crypt.h new file mode 100644 index 000000000000..5203fe4b806e --- /dev/null +++ b/devel/bennugd-modules/files/patch-include-crypt.h @@ -0,0 +1,11 @@ +--- ../core/include/crypt.h.orig 2009-07-02 04:20:53.000000000 +0400 ++++ ../core/include/crypt.h 2009-11-06 05:52:32.000000000 +0300 +@@ -24,7 +24,7 @@ +
+ /* ------------------------------------------------------------------------- */
+
+-#include <des.h>
++#include <openssl/des.h>
+
+ /* ------------------------------------------------------------------------- */
+
diff --git a/devel/bennugd-modules/files/patch-mod_mem-mod_mem.c b/devel/bennugd-modules/files/patch-mod_mem-mod_mem.c new file mode 100644 index 000000000000..bd50f146a618 --- /dev/null +++ b/devel/bennugd-modules/files/patch-mod_mem-mod_mem.c @@ -0,0 +1,20 @@ +--- mod_mem/mod_mem.c.orig 2009-06-15 22:34:24.000000000 +0400 ++++ mod_mem/mod_mem.c 2009-11-06 06:28:55.000000000 +0300 +@@ -128,7 +128,7 @@ + get_system_info( &info );
+ return B_PAGE_SIZE * ( info.max_pages - info.used_pages );
+
+-#elif !defined(TARGET_MAC)
++#elif !defined(TARGET_MAC) && !defined(TARGET_BSD)
+ /* Linux and other Unix (?) */
+ struct sysinfo meminf;
+ int fv;
+@@ -166,7 +166,7 @@ + get_system_info( &info );
+ return B_PAGE_SIZE * ( info.max_pages );
+
+-#elif !defined(TARGET_MAC)
++#elif !defined(TARGET_MAC) && !defined(TARGET_BSD)
+ /* Linux and other Unix (?) */
+ struct sysinfo meminf;
+ int fv;
diff --git a/devel/bennugd-modules/pkg-descr b/devel/bennugd-modules/pkg-descr new file mode 100644 index 000000000000..76462e7bfff9 --- /dev/null +++ b/devel/bennugd-modules/pkg-descr @@ -0,0 +1,13 @@ +Bennu is a high level open source game development suite which +focuses on modularity and portability, making it a perfect choice +for cross-platform game development. + +Although officialy it is only supported on Windows, Linux and GP2X +Wiz (on the right), Bennu can run on multiple other platforms, +including *BSD, MacOSX and other consoles such as the Wii, Dingoo +A320, GP2X, or the classic Xbox. + +This makes it really fun to code in Bennu: the game can be played +on you computer AND your console! + +WWW: http://www.bennugd.org/ diff --git a/devel/bennugd-modules/pkg-plist b/devel/bennugd-modules/pkg-plist new file mode 100644 index 000000000000..98cd4f7d813d --- /dev/null +++ b/devel/bennugd-modules/pkg-plist @@ -0,0 +1,139 @@ +lib/bennugd/libblit.a +lib/bennugd/libblit.la +lib/bennugd/libblit.so +lib/bennugd/libdraw.a +lib/bennugd/libdraw.la +lib/bennugd/libdraw.so +lib/bennugd/libfont.a +lib/bennugd/libfont.la +lib/bennugd/libfont.so +lib/bennugd/libgrbase.a +lib/bennugd/libgrbase.la +lib/bennugd/libgrbase.so +lib/bennugd/libjoy.a +lib/bennugd/libjoy.la +lib/bennugd/libjoy.so +lib/bennugd/libkey.a +lib/bennugd/libkey.la +lib/bennugd/libkey.so +lib/bennugd/libmouse.a +lib/bennugd/libmouse.la +lib/bennugd/libmouse.so +lib/bennugd/librender.a +lib/bennugd/librender.la +lib/bennugd/librender.so +lib/bennugd/libscroll.a +lib/bennugd/libscroll.la +lib/bennugd/libscroll.so +lib/bennugd/libsdlhandler.a +lib/bennugd/libsdlhandler.la +lib/bennugd/libsdlhandler.so +lib/bennugd/libtext.a +lib/bennugd/libtext.la +lib/bennugd/libtext.so +lib/bennugd/libvideo.a +lib/bennugd/libvideo.la +lib/bennugd/libvideo.so +lib/bennugd/libwm.a +lib/bennugd/libwm.la +lib/bennugd/libwm.so +lib/bennugd/mod_blendop.a +lib/bennugd/mod_blendop.la +lib/bennugd/mod_blendop.so +lib/bennugd/mod_cd.a +lib/bennugd/mod_cd.la +lib/bennugd/mod_cd.so +lib/bennugd/mod_crypt.a +lib/bennugd/mod_crypt.la +lib/bennugd/mod_crypt.so +lib/bennugd/mod_debug.a +lib/bennugd/mod_debug.la +lib/bennugd/mod_debug.so +lib/bennugd/mod_dir.a +lib/bennugd/mod_dir.la +lib/bennugd/mod_dir.so +lib/bennugd/mod_draw.a +lib/bennugd/mod_draw.la +lib/bennugd/mod_draw.so +lib/bennugd/mod_effects.a +lib/bennugd/mod_effects.la +lib/bennugd/mod_effects.so +lib/bennugd/mod_file.a +lib/bennugd/mod_file.la +lib/bennugd/mod_file.so +lib/bennugd/mod_flic.a +lib/bennugd/mod_flic.la +lib/bennugd/mod_flic.so +lib/bennugd/mod_grproc.a +lib/bennugd/mod_grproc.la +lib/bennugd/mod_grproc.so +lib/bennugd/mod_joy.a +lib/bennugd/mod_joy.la +lib/bennugd/mod_joy.so +lib/bennugd/mod_key.a +lib/bennugd/mod_key.la +lib/bennugd/mod_key.so +lib/bennugd/mod_m7.a +lib/bennugd/mod_m7.la +lib/bennugd/mod_m7.so +lib/bennugd/mod_map.a +lib/bennugd/mod_map.la +lib/bennugd/mod_map.so +lib/bennugd/mod_math.a +lib/bennugd/mod_math.la +lib/bennugd/mod_math.so +lib/bennugd/mod_mem.a +lib/bennugd/mod_mem.la +lib/bennugd/mod_mem.so +lib/bennugd/mod_mouse.a +lib/bennugd/mod_mouse.la +lib/bennugd/mod_mouse.so +lib/bennugd/mod_path.a +lib/bennugd/mod_path.la +lib/bennugd/mod_path.so +lib/bennugd/mod_proc.a +lib/bennugd/mod_proc.la +lib/bennugd/mod_proc.so +lib/bennugd/mod_rand.a +lib/bennugd/mod_rand.la +lib/bennugd/mod_rand.so +lib/bennugd/mod_regex.a +lib/bennugd/mod_regex.la +lib/bennugd/mod_regex.so +lib/bennugd/mod_say.a +lib/bennugd/mod_say.la +lib/bennugd/mod_say.so +lib/bennugd/mod_screen.a +lib/bennugd/mod_screen.la +lib/bennugd/mod_screen.so +lib/bennugd/mod_scroll.a +lib/bennugd/mod_scroll.la +lib/bennugd/mod_scroll.so +lib/bennugd/mod_sort.a +lib/bennugd/mod_sort.la +lib/bennugd/mod_sort.so +lib/bennugd/mod_sound.a +lib/bennugd/mod_sound.la +lib/bennugd/mod_sound.so +lib/bennugd/mod_string.a +lib/bennugd/mod_string.la +lib/bennugd/mod_string.so +lib/bennugd/mod_sys.a +lib/bennugd/mod_sys.la +lib/bennugd/mod_sys.so +lib/bennugd/mod_text.a +lib/bennugd/mod_text.la +lib/bennugd/mod_text.so +lib/bennugd/mod_time.a +lib/bennugd/mod_time.la +lib/bennugd/mod_time.so +lib/bennugd/mod_timers.a +lib/bennugd/mod_timers.la +lib/bennugd/mod_timers.so +lib/bennugd/mod_video.a +lib/bennugd/mod_video.la +lib/bennugd/mod_video.so +lib/bennugd/mod_wm.a +lib/bennugd/mod_wm.la +lib/bennugd/mod_wm.so +@dirrm lib/bennugd |