- Bump PORTREVISION for pkg-plist change, LICENSE adding
- Add license - Simplify DOCS installation handling - Add OPTIONS_SUB - Simplify Option NLS handling - Add symlink for the icon and add Desktop entry file - Change WWW - Recreate pkg-plist with make makeplist PR: 177333 Submitted by: nemysis (self) Approved by: maintainer timeout (2 months)
This commit is contained in:
parent
59400fdd78
commit
c50013f8cb
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=373138
3 changed files with 42 additions and 46 deletions
|
@ -3,13 +3,15 @@
|
|||
|
||||
PORTNAME= ceferino
|
||||
PORTVERSION= 0.97.8
|
||||
PORTREVISION= 13
|
||||
PORTREVISION= 14
|
||||
CATEGORIES= games
|
||||
MASTER_SITES= http://www.losersjuegos.com.ar/_media/juegos/ceferino/descargas/
|
||||
|
||||
MAINTAINER= acm@FreeBSD.org
|
||||
COMMENT= Game similar to Super Pang
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
USE_SDL= sdl mixer image
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gmake
|
||||
|
@ -18,19 +20,18 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD}
|
|||
|
||||
CEFEDIRS= ima music levels sounds
|
||||
|
||||
PORTDOCS= AUTHORS ChangeLog README
|
||||
OPTIONS_DEFINE= NLS DOCS
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
NLS_CONFIGURE_ENABLE= nls
|
||||
NLS_USES= gettext
|
||||
|
||||
DESKTOP_ENTRIES="Don Ceferino Hazaña" "" "${PORTNAME}" \
|
||||
"${PORTNAME}" "Game;ArcadeGame;" ""
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
USES+= gettext
|
||||
PLIST_SUB+= NLS=""
|
||||
FLAG_NLS= true
|
||||
.else
|
||||
CONFIGURE_ARGS+= --disable-nls
|
||||
PLIST_SUB+= NLS="@comment "
|
||||
.endif
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e 's/-lSDL /`sdl-config --libs`/g' ${WRKSRC}/configure
|
||||
|
||||
|
@ -43,14 +44,17 @@ do-install:
|
|||
@cd ${WRKSRC}/data && \
|
||||
${FIND} ${CEFEDIRS} -type d -exec ${MKDIR} "${STAGEDIR}${DATADIR}/{}" \; && \
|
||||
${FIND} -E ${CEFEDIRS} -type f -iregex ".*\.(png|jpg|xm|map|wav)" -exec ${INSTALL_DATA} "{}" "${STAGEDIR}${DATADIR}/{}" \;
|
||||
.if defined(FLAG_NLS)
|
||||
${LN} -sf ${DATADIR}/ima/icono.png \
|
||||
${STAGEDIR}${PREFIX}/share/pixmaps/${PORTNAME}.png
|
||||
|
||||
.if ${PORT_OPTIONS:MNLS}
|
||||
.for f in es ca fr
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/share/locale/${f}/LC_MESSAGES && \
|
||||
${INSTALL_DATA} ${WRKSRC}/po/${f}.gmo ${STAGEDIR}${PREFIX}/share/locale/${f}/LC_MESSAGES/${PORTNAME}.mo
|
||||
.endfor
|
||||
.endif
|
||||
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
@cd ${WRKSRC} && \
|
||||
${INSTALL_DATA} AUTHORS ChangeLog README ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
Ceferino is a fun game similar to super pang developed using the SDL library.
|
||||
|
||||
WWW: http://www.losersjuegos.com.ar/
|
||||
WWW: http://www.losersjuegos.com.ar/juegos/ceferino
|
||||
|
|
|
@ -1,33 +1,9 @@
|
|||
bin/ceferino
|
||||
bin/ceferinoeditor
|
||||
bin/ceferinosetup
|
||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%NLS%%share/locale/ca/LC_MESSAGES/ceferino.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/ceferino.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/ceferino.mo
|
||||
%%DATADIR%%/ima/barra.png
|
||||
%%DATADIR%%/ima/cargando.png
|
||||
%%DATADIR%%/ima/editor.png
|
||||
%%DATADIR%%/ima/fuente1.png
|
||||
%%DATADIR%%/ima/fuente2.png
|
||||
%%DATADIR%%/ima/fuente.png
|
||||
%%DATADIR%%/ima/gaucho.png
|
||||
%%DATADIR%%/ima/how_to_play.png
|
||||
%%DATADIR%%/ima/icono.png
|
||||
%%DATADIR%%/ima/items.png
|
||||
%%DATADIR%%/ima/mate.png
|
||||
%%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/tiros.png
|
||||
%%DATADIR%%/ima/tit_1.png
|
||||
%%DATADIR%%/ima/tit_2.png
|
||||
%%DATADIR%%/ima/tit_3.png
|
||||
%%DATADIR%%/ima/final1.jpg
|
||||
%%DATADIR%%/ima/final2.jpg
|
||||
%%DATADIR%%/ima/final3.jpg
|
||||
|
@ -36,16 +12,34 @@ bin/ceferinosetup
|
|||
%%DATADIR%%/ima/final6.jpg
|
||||
%%DATADIR%%/ima/fondo.jpg
|
||||
%%DATADIR%%/ima/fondos.jpg
|
||||
%%DATADIR%%/ima/fuente.png
|
||||
%%DATADIR%%/ima/fuente1.png
|
||||
%%DATADIR%%/ima/fuente2.png
|
||||
%%DATADIR%%/ima/fuente_2.png
|
||||
%%DATADIR%%/ima/gaucho.png
|
||||
%%DATADIR%%/ima/how_to_play.png
|
||||
%%DATADIR%%/ima/icono.png
|
||||
%%DATADIR%%/ima/items.png
|
||||
%%DATADIR%%/ima/mate.png
|
||||
%%DATADIR%%/ima/menu.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/fuente_2.png
|
||||
%%DATADIR%%/music/menu.xm
|
||||
%%DATADIR%%/ima/tiros.png
|
||||
%%DATADIR%%/ima/tit_1.png
|
||||
%%DATADIR%%/ima/tit_2.png
|
||||
%%DATADIR%%/ima/tit_3.png
|
||||
%%DATADIR%%/levels/base.map
|
||||
%%DATADIR%%/music/menu.xm
|
||||
%%DATADIR%%/sounds/alarma.wav
|
||||
%%DATADIR%%/sounds/boom.wav
|
||||
%%DATADIR%%/sounds/explo.wav
|
||||
|
@ -59,9 +53,7 @@ bin/ceferinosetup
|
|||
%%DATADIR%%/sounds/tic.wav
|
||||
%%DATADIR%%/sounds/tiro.wav
|
||||
%%DATADIR%%/sounds/toc.wav
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm %%DATADIR%%/ima
|
||||
@dirrm %%DATADIR%%/music
|
||||
@dirrm %%DATADIR%%/levels
|
||||
@dirrm %%DATADIR%%/sounds
|
||||
@dirrm %%DATADIR%%
|
||||
%%NLS%%share/locale/ca/LC_MESSAGES/ceferino.mo
|
||||
%%NLS%%share/locale/es/LC_MESSAGES/ceferino.mo
|
||||
%%NLS%%share/locale/fr/LC_MESSAGES/ceferino.mo
|
||||
share/pixmaps/ceferino.png
|
||||
|
|
Loading…
Reference in a new issue