summaryrefslogtreecommitdiff
path: root/games/aqbubble
diff options
context:
space:
mode:
authorIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-06 18:36:28 +0000
committerIon-Mihai Tetcu <itetcu@FreeBSD.org>2006-06-06 18:36:28 +0000
commit3dd79ab08a2237ef04a0f623586c453987eb10fc (patch)
treeafa007616fa1dea6abe795f8719f1c638948e059 /games/aqbubble
parent- Add support for firefox-devel (diff)
Aquatic Bubble is a game where you have to catch all enemies for each level,
the way similar to snow bros game. WWW: http://www.losersjuegos.com.ar PR: ports/95388 Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe> Approved by: lawrance (mentor, implicit)
Notes
Notes: svn path=/head/; revision=164634
Diffstat (limited to 'games/aqbubble')
-rw-r--r--games/aqbubble/Makefile69
-rw-r--r--games/aqbubble/distinfo3
-rw-r--r--games/aqbubble/pkg-descr4
-rw-r--r--games/aqbubble/pkg-plist26
4 files changed, 102 insertions, 0 deletions
diff --git a/games/aqbubble/Makefile b/games/aqbubble/Makefile
new file mode 100644
index 000000000000..f7d74c75390b
--- /dev/null
+++ b/games/aqbubble/Makefile
@@ -0,0 +1,69 @@
+# New ports collection makefile for: aqbubble
+# Date created: 2006-04-01
+# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
+#
+# $FreeBSD$
+#
+
+PORTNAME= aqbubble
+PORTVERSION= 0.3
+CATEGORIES= games
+MASTER_SITES= http://www.losersjuegos.com.ar/juegos/aqbubble/descargas/
+
+MAINTAINER= acardenas@bsd.org.pe
+COMMENT= Game similar to snow bros
+
+USE_X_PREFIX= yes
+USE_SDL= sdl mixer image
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib ${PTHREAD}
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+
+AQBUBBLEDIRS= ima sonidos
+
+OPTIONS= NLS "Native Language Support" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_NLS)
+CONFIGURE_ARGS+= --disable-nls
+PLIST_SUB+= NLS="@comment "
+.else
+USE_GETTEXT= yes
+PLIST_SUB+= NLS=""
+.endif
+
+post-extract:
+ @${FIND} -E ${WRKSRC}/src/ -type f -iregex ".*\.(cpp|h)" \
+ -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e 's/<SDL/<SDL11/'
+ @${REINPLACE_CMD} -e 's/-lSDL /`sdl11-config --libs`/g' ${WRKSRC}/configure
+
+post-configure:
+ @${REINPLACE_CMD} -e 's/-lSDL /`sdl11-config --libs` -lintl /g' ${WRKSRC}/src/Makefile
+
+do-install:
+ ${MKDIR} ${DATADIR}
+ @cd ${WRKSRC}/src && \
+ ${INSTALL_PROGRAM} aqbubble ${PREFIX}/bin && \
+ ${FIND} ${AQBUBBLEDIRS} -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
+ ${FIND} -E ${AQBUBBLEDIRS} -type f -iregex ".*\.(png|jpg|wav)" \
+ -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
+
+.if !defined(WITHOUT_NLS)
+.for FILE in es
+ ${MKDIR} ${PREFIX}/share/locale/${FILE}/LC_MESSAGES && \
+ ${INSTALL_DATA} ${WRKSRC}/po/${FILE}.gmo ${PREFIX}/share/locale/${FILE}/LC_MESSAGES/${PORTNAME}.mo
+.endfor
+.endif
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC} && \
+ ${INSTALL_DATA} AUTHORS ChangeLog README ${DOCSDIR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/games/aqbubble/distinfo b/games/aqbubble/distinfo
new file mode 100644
index 000000000000..794f3c3df1be
--- /dev/null
+++ b/games/aqbubble/distinfo
@@ -0,0 +1,3 @@
+MD5 (aqbubble-0.3.tar.gz) = 09bfc7bcb0e7b4fe41423d51ae9b9ce2
+SHA256 (aqbubble-0.3.tar.gz) = 7a8308a3c9432cc9018ed6e6e7acb4a0f47239560e155cc5cb8c3527036a0601
+SIZE (aqbubble-0.3.tar.gz) = 698443
diff --git a/games/aqbubble/pkg-descr b/games/aqbubble/pkg-descr
new file mode 100644
index 000000000000..4882aae56115
--- /dev/null
+++ b/games/aqbubble/pkg-descr
@@ -0,0 +1,4 @@
+Aquatic Bubble is a game where you have to catch all enemies for each level,
+the way similar to snow bros game.
+
+WWW: http://www.losersjuegos.com.ar
diff --git a/games/aqbubble/pkg-plist b/games/aqbubble/pkg-plist
new file mode 100644
index 000000000000..58bc1da2d030
--- /dev/null
+++ b/games/aqbubble/pkg-plist
@@ -0,0 +1,26 @@
+bin/aqbubble
+%%DATADIR%%/ima/burbuja.png
+%%DATADIR%%/ima/fuente1.png
+%%DATADIR%%/ima/fuente2.png
+%%DATADIR%%/ima/icono.png
+%%DATADIR%%/ima/items.png
+%%DATADIR%%/ima/logos.png
+%%DATADIR%%/ima/menu.jpg
+%%DATADIR%%/ima/nivel.png
+%%DATADIR%%/ima/otro.jpg
+%%DATADIR%%/ima/paco.png
+%%DATADIR%%/ima/particulas.png
+%%DATADIR%%/ima/pez.png
+%%DATADIR%%/ima/silvio.png
+%%DATADIR%%/sonidos/burbuja1.wav
+%%DATADIR%%/sonidos/pierde.wav
+%%DATADIR%%/sonidos/tic.wav
+%%DATADIR%%/sonidos/toc.wav
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/README
+share/locale/es/LC_MESSAGES/aqbubble.mo
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm %%DATADIR%%/ima
+@dirrm %%DATADIR%%/sonidos
+@dirrm %%DATADIR%%