aboutsummaryrefslogtreecommitdiffstats
path: root/games/diameter
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2006-06-28 22:20:44 +0800
committerehaupt <ehaupt@FreeBSD.org>2006-06-28 22:20:44 +0800
commit7f07ec3f5907c53753e0e3416248aa925e49a551 (patch)
tree33ccf9930715b986d18ce58e3e6c3edb5d881a97 /games/diameter
parent9789147efc56e08da9d7f223bd8a5d904161ea5b (diff)
downloadfreebsd-ports-gnome-7f07ec3f5907c53753e0e3416248aa925e49a551.tar.gz
freebsd-ports-gnome-7f07ec3f5907c53753e0e3416248aa925e49a551.tar.zst
freebsd-ports-gnome-7f07ec3f5907c53753e0e3416248aa925e49a551.zip
Add diameter, an arcade-style game with elements of economy and adventure.
PR: 99329 Submitted by: Dmitry Marakasov <amdmi3@mail.ru>
Diffstat (limited to 'games/diameter')
-rw-r--r--games/diameter/Makefile47
-rw-r--r--games/diameter/distinfo3
-rw-r--r--games/diameter/files/patch-configure19
-rw-r--r--games/diameter/pkg-descr7
-rw-r--r--games/diameter/pkg-plist114
5 files changed, 190 insertions, 0 deletions
diff --git a/games/diameter/Makefile b/games/diameter/Makefile
new file mode 100644
index 000000000000..3a42987d0bf2
--- /dev/null
+++ b/games/diameter/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: diameter
+# Date created: 15 Jun 2006
+# Whom: Dmitry Marakasov <amdmi3@mail.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= diameter
+DISTVERSION= 0.3.5-r1
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= gamediameter
+DISTNAME= ${PORTNAME}-${DISTVERSION}src
+
+MAINTAINER= amdmi3@mail.ru
+COMMENT= Arcade-style game with elements of economy and adventure
+
+LIB_DEPENDS= guichan.0:${PORTSDIR}/devel/guichan
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_GL= yes
+USE_SDL= sdl mixer image
+USE_GCC= 3.4+
+
+CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags` -I${X11BASE}/include" \
+ LDFLAGS="`${SDL_CONFIG} --libs` -L${X11BASE}/lib"
+
+DATADIR= ${PREFIX}/share/gamediameter
+
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 500000
+BROKEN= Does not build on FreeBSD 4.x
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/snd/snd.h
+ @${REINPLACE_CMD} -e '/PKG_CONFIG/ s|libpng|libpng12|' \
+ -e 's|sdl-config|$$SDL_CONFIG|' \
+ -e '/LIBS/ s|-lSDL |`$$SDL_CONFIG --libs` |' \
+ -e '/^CFLAGS=.*march/ d' \
+ -e '/PKG_CHECK_MODULES/ s|^|#|' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/games/diameter/distinfo b/games/diameter/distinfo
new file mode 100644
index 000000000000..36bf61653acd
--- /dev/null
+++ b/games/diameter/distinfo
@@ -0,0 +1,3 @@
+MD5 (diameter-0.3.5-r1src.tar.bz2) = da29296f99dc7bb9d0350b469bb8830c
+SHA256 (diameter-0.3.5-r1src.tar.bz2) = 0db31e344de11fa245eb7b9882918535db3e87f0c8cc6229765f8dafb45ae4d3
+SIZE (diameter-0.3.5-r1src.tar.bz2) = 4775031
diff --git a/games/diameter/files/patch-configure b/games/diameter/files/patch-configure
new file mode 100644
index 000000000000..cc97adac71f4
--- /dev/null
+++ b/games/diameter/files/patch-configure
@@ -0,0 +1,19 @@
+--- configure.orig Fri Jun 16 07:19:13 2006
++++ configure Fri Jun 16 07:20:05 2006
+@@ -3171,11 +3171,11 @@
+ echo '#endif' >>confdefs.h
+ fi
+
+-ac_ext=c
+-ac_cpp='$CPP $CPPFLAGS'
+-ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+-ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+-ac_compiler_gnu=$ac_cv_c_compiler_gnu
++#ac_ext=c
++#ac_cpp='$CPP $CPPFLAGS'
++#ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
++#ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
++#ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
+ depcc="$CXX" am_compiler_list=
+
diff --git a/games/diameter/pkg-descr b/games/diameter/pkg-descr
new file mode 100644
index 000000000000..d5b040bf1696
--- /dev/null
+++ b/games/diameter/pkg-descr
@@ -0,0 +1,7 @@
+"Diameter" - is an arcade-style game with elements of economy and
+adventure.
+
+Project's main objective is to make a distinctive game with a storm
+gameplay and simultaneously alluring with its world.
+
+WWW: http://gamediameter.sourceforge.net/
diff --git a/games/diameter/pkg-plist b/games/diameter/pkg-plist
new file mode 100644
index 000000000000..3381f6b810ff
--- /dev/null
+++ b/games/diameter/pkg-plist
@@ -0,0 +1,114 @@
+bin/diameter
+%%DATADIR%%/fonts/font-blue-test.png
+%%DATADIR%%/fonts/font-gold-test.png
+%%DATADIR%%/fonts/rpgfont_thinner_noshadow.png
+%%DATADIR%%/models/Rockets/r01_88.3DS
+%%DATADIR%%/models/Rockets/r02_88.3DS
+%%DATADIR%%/models/Ships/1_406.3DS
+%%DATADIR%%/models/Ships/ship2/2_628.3DS
+%%DATADIR%%/models/Ships/ship3/3_436.3DS
+%%DATADIR%%/models/Ships/ship4/4_724.3DS
+%%DATADIR%%/models/models.xml
+%%DATADIR%%/music/AmbDune.ogg
+%%DATADIR%%/music/sample/explode_06.wav
+%%DATADIR%%/music/sample/explode_07.wav
+%%DATADIR%%/music/sample/s1.wav
+%%DATADIR%%/sprites/sprites.xml
+%%DATADIR%%/texture/Argon.jpg
+%%DATADIR%%/texture/Brat.jpg
+%%DATADIR%%/texture/Cloud1.png
+%%DATADIR%%/texture/Cloud2.png
+%%DATADIR%%/texture/Cloud3.png
+%%DATADIR%%/texture/Cloud4.jpg
+%%DATADIR%%/texture/Liser1.jpg
+%%DATADIR%%/texture/Rockets/R01.jpg
+%%DATADIR%%/texture/Rockets/R01s.jpg
+%%DATADIR%%/texture/Rockets/R02.jpg
+%%DATADIR%%/texture/Rockets/R02s.jpg
+%%DATADIR%%/texture/back.png
+%%DATADIR%%/texture/blue_sphere.jpg
+%%DATADIR%%/texture/blue_sphere.png
+%%DATADIR%%/texture/flame.jpg
+%%DATADIR%%/texture/flame2.jpg
+%%DATADIR%%/texture/gui/curs/center.png
+%%DATADIR%%/texture/gui/curs/center2.png
+%%DATADIR%%/texture/gui/curs/ring-damage.png
+%%DATADIR%%/texture/gui/curs/ring-in.png
+%%DATADIR%%/texture/gui/curs/ring.png
+%%DATADIR%%/texture/gui/curs/weapons/laser.png
+%%DATADIR%%/texture/gui/curs/weapons/plasma.png
+%%DATADIR%%/texture/gui/curs/weapons/rocket.png
+%%DATADIR%%/texture/gui/diameter.png
+%%DATADIR%%/texture/gui/eng/main/credits-.png
+%%DATADIR%%/texture/gui/eng/main/credits.png
+%%DATADIR%%/texture/gui/eng/main/logo-.png
+%%DATADIR%%/texture/gui/eng/main/logo.png
+%%DATADIR%%/texture/gui/eng/main/new-.png
+%%DATADIR%%/texture/gui/eng/main/new.png
+%%DATADIR%%/texture/gui/eng/main/options-.png
+%%DATADIR%%/texture/gui/eng/main/options.png
+%%DATADIR%%/texture/gui/eng/main/quit-.png
+%%DATADIR%%/texture/gui/eng/main/quit.png
+%%DATADIR%%/texture/gui/eng/main/resume-.png
+%%DATADIR%%/texture/gui/eng/main/resume.png
+%%DATADIR%%/texture/gui/eng/main/return-.png
+%%DATADIR%%/texture/gui/eng/main/return.png
+%%DATADIR%%/texture/gui/eng/main/start-.png
+%%DATADIR%%/texture/gui/eng/main/start.png
+%%DATADIR%%/texture/gui/logo.png
+%%DATADIR%%/texture/gui/rus/main/credits-.png
+%%DATADIR%%/texture/gui/rus/main/credits.png
+%%DATADIR%%/texture/gui/rus/main/logo-.png
+%%DATADIR%%/texture/gui/rus/main/logo.png
+%%DATADIR%%/texture/gui/rus/main/new-.png
+%%DATADIR%%/texture/gui/rus/main/new.png
+%%DATADIR%%/texture/gui/rus/main/options-.png
+%%DATADIR%%/texture/gui/rus/main/options.png
+%%DATADIR%%/texture/gui/rus/main/quit-.png
+%%DATADIR%%/texture/gui/rus/main/quit.png
+%%DATADIR%%/texture/gui/rus/main/resume-.png
+%%DATADIR%%/texture/gui/rus/main/resume.png
+%%DATADIR%%/texture/gui/rus/main/return-.png
+%%DATADIR%%/texture/gui/rus/main/return.png
+%%DATADIR%%/texture/gui/rus/main/start-.png
+%%DATADIR%%/texture/gui/rus/main/start.png
+%%DATADIR%%/texture/lav1.jpg
+%%DATADIR%%/texture/nebular3.gif
+%%DATADIR%%/texture/nebular3.jpg
+%%DATADIR%%/texture/null.jpg
+%%DATADIR%%/texture/p1.png
+%%DATADIR%%/texture/s_n1.jpg
+%%DATADIR%%/texture/ship1/S1.jpg
+%%DATADIR%%/texture/ship2/S2.jpg
+%%DATADIR%%/texture/ship3/S3.jpg
+%%DATADIR%%/texture/ship4/S4.jpg
+%%DATADIR%%/texture/spaceshiptexture.jpg
+%%DATADIR%%/texture/test.png
+%%DATADIR%%/texture/textures.xml
+%%DATADIR%%/world/test_decor1.xml
+%%DATADIR%%/world/test_level.xml
+@dirrm %%DATADIR%%/world
+@dirrm %%DATADIR%%/texture/ship4
+@dirrm %%DATADIR%%/texture/ship3
+@dirrm %%DATADIR%%/texture/ship2
+@dirrm %%DATADIR%%/texture/ship1
+@dirrm %%DATADIR%%/texture/gui/rus/main
+@dirrm %%DATADIR%%/texture/gui/rus
+@dirrm %%DATADIR%%/texture/gui/eng/main
+@dirrm %%DATADIR%%/texture/gui/eng
+@dirrm %%DATADIR%%/texture/gui/curs/weapons
+@dirrm %%DATADIR%%/texture/gui/curs
+@dirrm %%DATADIR%%/texture/gui
+@dirrm %%DATADIR%%/texture/Rockets
+@dirrm %%DATADIR%%/texture
+@dirrm %%DATADIR%%/sprites
+@dirrm %%DATADIR%%/music/sample
+@dirrm %%DATADIR%%/music
+@dirrm %%DATADIR%%/models/Ships/ship4
+@dirrm %%DATADIR%%/models/Ships/ship3
+@dirrm %%DATADIR%%/models/Ships/ship2
+@dirrm %%DATADIR%%/models/Ships
+@dirrm %%DATADIR%%/models/Rockets
+@dirrm %%DATADIR%%/models
+@dirrm %%DATADIR%%/fonts
+@dirrm %%DATADIR%%