aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/ri-li/Makefile29
-rw-r--r--games/ri-li/distinfo3
-rw-r--r--games/ri-li/pkg-descr10
-rw-r--r--games/ri-li/pkg-plist22
5 files changed, 65 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 3d3802158b81..c2e8bf45e66c 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -570,6 +570,7 @@
SUBDIR += race
SUBDIR += reminiscence
SUBDIR += rfksay
+ SUBDIR += ri-li
SUBDIR += robocode
SUBDIR += robotfindskitten
SUBDIR += rockdodger
diff --git a/games/ri-li/Makefile b/games/ri-li/Makefile
new file mode 100644
index 000000000000..58a8a5a2dba4
--- /dev/null
+++ b/games/ri-li/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: Ri-li
+# Date created: 03 Jul 2006
+# Whom: Dmitry Marakasov <amdmi3@mail.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Ri-li
+PORTVERSION= 1.0.3
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ri-li
+
+MAINTAINER= amdmi3@mail.ru
+COMMENT= Drive a toy wood train in many levels - snake-like arcade game
+
+USE_BZIP2= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_SDL= sdl mixer
+
+CONFIGURE_ENV= CPPFLAGS="`${SDL_CONFIG} --cflags` -I${X11BASE}/include"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/*.cc ${WRKSRC}/src/*.h
+ @${REINPLACE_CMD} -e 's|-lSDL |`${SDL_CONFIG} --libs`|' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e '/strcpy.*DefPath/ s|.*|strcpy(DefPath,"${DATADIR}/");|' ${WRKSRC}/src/main.cc
+
+.include <bsd.port.mk>
diff --git a/games/ri-li/distinfo b/games/ri-li/distinfo
new file mode 100644
index 000000000000..ae074f75e2fb
--- /dev/null
+++ b/games/ri-li/distinfo
@@ -0,0 +1,3 @@
+MD5 (Ri-li-1.0.3.tar.bz2) = 36f39cf5966fa4bb495eccf69bb87da6
+SHA256 (Ri-li-1.0.3.tar.bz2) = 3fc11715f15a28da3b770ddd324793ec3011be56c4e663e18d1f346c06571ee9
+SIZE (Ri-li-1.0.3.tar.bz2) = 11329321
diff --git a/games/ri-li/pkg-descr b/games/ri-li/pkg-descr
new file mode 100644
index 000000000000..558e6027c866
--- /dev/null
+++ b/games/ri-li/pkg-descr
@@ -0,0 +1,10 @@
+Ri-li is a arcade game on GPL (General Public License). You drive
+a toy wood engine in many levels and you must collect all the coaches
+for win.You can dowload it and play indefinitely. It's Free. You
+can play on Linux, Mac OsX, Windows.
+
+Full-featured, 8 languages: Arabic, Chinese, English, French, German,
+Japanese, Russian, Spanish. Colorful animated wood engine, 40 levels
+in this first version and 3 beautiful musics and many sound effects.
+
+WWW: http://ri-li.sourceforge.net/
diff --git a/games/ri-li/pkg-plist b/games/ri-li/pkg-plist
new file mode 100644
index 000000000000..409958955a79
--- /dev/null
+++ b/games/ri-li/pkg-plist
@@ -0,0 +1,22 @@
+bin/Ri_li
+%%DATADIR%%/Ri-li-1.0.3-r1.ebuild
+%%DATADIR%%/Ri-li-icon-16x16.png
+%%DATADIR%%/Ri-li-icon-32x32.png
+%%DATADIR%%/Ri-li-icon-48x48.png
+%%DATADIR%%/Sounds/clic.wav
+%%DATADIR%%/Sounds/crash.wav
+%%DATADIR%%/Sounds/end.wav
+%%DATADIR%%/Sounds/etire.wav
+%%DATADIR%%/Sounds/jeu1.xm
+%%DATADIR%%/Sounds/jeu2.xm
+%%DATADIR%%/Sounds/live.wav
+%%DATADIR%%/Sounds/lose.wav
+%%DATADIR%%/Sounds/menu.mod
+%%DATADIR%%/Sounds/reduit.wav
+%%DATADIR%%/Sounds/speed.wav
+%%DATADIR%%/Sounds/wagon.wav
+%%DATADIR%%/levels.dat
+%%DATADIR%%/ri-li.ico
+%%DATADIR%%/sprites.dat
+@dirrm %%DATADIR%%/Sounds
+@dirrm %%DATADIR%%