summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-01-14 18:25:07 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-01-14 18:25:07 +0000
commita8d1ad19f14f9b6a0ebbb2d26feff2f761589963 (patch)
tree739068f6dcf62063cb20642e11b0c5f847f027d2 /games
parentUpdate to 0.24. (diff)
Ceferino is a fun game similar to super pang developed using the SDL library.
PR: ports/91700 Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
Notes
Notes: svn path=/head/; revision=153487
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/ceferino/Makefile53
-rw-r--r--games/ceferino/distinfo3
-rw-r--r--games/ceferino/pkg-descr3
-rw-r--r--games/ceferino/pkg-plist69
5 files changed, 129 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index 3eda101503ee..89f63ab06667 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -82,6 +82,7 @@
SUBDIR += cake
SUBDIR += cardpics
SUBDIR += cavezofphear
+ SUBDIR += ceferino
SUBDIR += cgoban
SUBDIR += cgoban2
SUBDIR += childsplay
diff --git a/games/ceferino/Makefile b/games/ceferino/Makefile
new file mode 100644
index 000000000000..38975f03ff5d
--- /dev/null
+++ b/games/ceferino/Makefile
@@ -0,0 +1,53 @@
+# New ports collection makefile for: ceferino
+# Date created: 2006-01-11
+# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
+#
+# $FreeBSD$
+#
+
+PORTNAME= ceferino
+PORTVERSION= 0.96
+CATEGORIES= games
+MASTER_SITES= http://www.losersjuegos.com.ar/juegos/ceferino/descargas/
+
+MAINTAINER= acardenas@bsd.org.pe
+COMMENT= Game similar to Super Pang
+
+USE_X_PREFIX= yes
+USE_SDL= sdl mixer image
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_REINPLACE= 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}"
+
+CEFEDIRS= ima musicas niveles sonidos
+
+post-extract:
+ @${FIND} -E ${WRKSRC}/src/ -type f -iregex ".*\.(cpp|h)" \
+ -print0 | ${XARGS} -0 ${REINPLACE_CMD} -e 's/<SDL/<SDL11/'
+
+post-configure:
+ @${REINPLACE_CMD} -e 's/LIBS = -lSDL -lSDL_image -lSDL_mixer/LIBS = \
+ -lSDL-1.1 -lSDL_image -lSDL_mixer -pthread -lintl/g' ${WRKSRC}/src/Makefile
+
+do-install:
+ @cd ${WRKSRC}/src && \
+ ${INSTALL_PROGRAM} ceferino ceferinoeditor ceferinosetup ${PREFIX}/bin && \
+ ${FIND} ${CEFEDIRS} -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \
+ ${FIND} -E ${CEFEDIRS} -type f -iregex ".*\.(png|jpg|xm|map|wav)" -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \;
+.for FILE in es ca fr
+ ${MKDIR} ${PREFIX}/share/locale/${FILE}/LC_MESSAGES && \
+ ${INSTALL_DATA} ${WRKSRC}/po/${FILE}.gmo ${PREFIX}/share/locale/${FILE}/LC_MESSAGES/${PORTNAME}.mo
+.endfor
+
+post-install:
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @cd ${WRKSRC} && \
+ ${INSTALL_DATA} AUTHORS ChangeLog README README_ES ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/games/ceferino/distinfo b/games/ceferino/distinfo
new file mode 100644
index 000000000000..cc5267e23b68
--- /dev/null
+++ b/games/ceferino/distinfo
@@ -0,0 +1,3 @@
+MD5 (ceferino-0.96.tar.gz) = 7c1b797858e08e97d62b83b5b1e44981
+SHA256 (ceferino-0.96.tar.gz) = 68f15eaaff7d183c4d2eaa5b06f8eaa4981db27bff94f674341bc0ac20a218f4
+SIZE (ceferino-0.96.tar.gz) = 1671608
diff --git a/games/ceferino/pkg-descr b/games/ceferino/pkg-descr
new file mode 100644
index 000000000000..b01b13e8d621
--- /dev/null
+++ b/games/ceferino/pkg-descr
@@ -0,0 +1,3 @@
+Ceferino is a fun game similar to super pang developed using the SDL library.
+
+WWW: http://www.losersjuegos.com.ar/
diff --git a/games/ceferino/pkg-plist b/games/ceferino/pkg-plist
new file mode 100644
index 000000000000..616a99c001ee
--- /dev/null
+++ b/games/ceferino/pkg-plist
@@ -0,0 +1,69 @@
+bin/ceferino
+bin/ceferinosetup
+bin/ceferinoeditor
+%%DOCSDIR%%/AUTHORS
+%%DOCSDIR%%/ChangeLog
+%%DOCSDIR%%/README
+%%DOCSDIR%%/README_ES
+share/locale/ca/LC_MESSAGES/ceferino.mo
+share/locale/es/LC_MESSAGES/ceferino.mo
+share/locale/fr/LC_MESSAGES/ceferino.mo
+%%DATADIR%%/ima/barra.png
+%%DATADIR%%/ima/cargando.png
+%%DATADIR%%/ima/editor.png
+%%DATADIR%%/ima/final_1.jpg
+%%DATADIR%%/ima/final_2.jpg
+%%DATADIR%%/ima/final_3.jpg
+%%DATADIR%%/ima/final_4.jpg
+%%DATADIR%%/ima/final_5.jpg
+%%DATADIR%%/ima/final_6.jpg
+%%DATADIR%%/ima/final_7.jpg
+%%DATADIR%%/ima/fondo.jpg
+%%DATADIR%%/ima/fondos.jpg
+%%DATADIR%%/ima/fuente1.png
+%%DATADIR%%/ima/fuente2.png
+%%DATADIR%%/ima/fuente.png
+%%DATADIR%%/ima/gaucho.png
+%%DATADIR%%/ima/icono.png
+%%DATADIR%%/ima/items.png
+%%DATADIR%%/ima/mate.png
+%%DATADIR%%/ima/menu.jpg
+%%DATADIR%%/ima/menu_oscuro.jpg
+%%DATADIR%%/ima/niveles.png
+%%DATADIR%%/ima/op_items.png
+%%DATADIR%%/ima/pelota_1.png
+%%DATADIR%%/ima/pelota_2.png
+%%DATADIR%%/ima/pelota_3.png
+%%DATADIR%%/ima/pelota_4.png
+%%DATADIR%%/ima/pres_casa.jpg
+%%DATADIR%%/ima/pres_lee.jpg
+%%DATADIR%%/ima/pres_losers.jpg
+%%DATADIR%%/ima/pres_rapto.jpg
+%%DATADIR%%/ima/pres_sentado.jpg
+%%DATADIR%%/ima/pres_vs.jpg
+%%DATADIR%%/ima/tiros.png
+%%DATADIR%%/ima/tit_1.png
+%%DATADIR%%/ima/tit_2.png
+%%DATADIR%%/ima/tit_3.png
+%%DATADIR%%/ima/how_to_play.png
+%%DATADIR%%/sonidos/alarma.wav
+%%DATADIR%%/sonidos/explo.wav
+%%DATADIR%%/sonidos/gancho.wav
+%%DATADIR%%/sonidos/item.wav
+%%DATADIR%%/sonidos/mata.wav
+%%DATADIR%%/sonidos/pierde.wav
+%%DATADIR%%/sonidos/romper.wav
+%%DATADIR%%/sonidos/tecla1.wav
+%%DATADIR%%/sonidos/tecla2.wav
+%%DATADIR%%/sonidos/tic.wav
+%%DATADIR%%/sonidos/tiro.wav
+%%DATADIR%%/sonidos/toc.wav
+%%DATADIR%%/sonidos/boom.wav
+%%DATADIR%%/niveles/base.map
+%%DATADIR%%/musicas/menu.xm
+@dirrm %%DOCSDIR%%
+@dirrm %%DATADIR%%/ima
+@dirrm %%DATADIR%%/sonidos
+@dirrm %%DATADIR%%/niveles
+@dirrm %%DATADIR%%/musicas
+@dirrm %%DATADIR%%