diff -ruN --exclude=CVS /usr/ports/games/ceferino/Makefile ./Makefile --- /usr/ports/games/ceferino/Makefile 2013-03-24 10:14:01.000000000 +0100 +++ ./Makefile 2013-03-24 11:40:49.000000000 +0100 @@ -1,19 +1,17 @@ -# New ports collection makefile for: ceferino -# Date created: 2006-01-11 -# Whom: Jose Alonso Cardenas Marquez -# +# Created by: Jose Alonso Cardenas Marquez # $FreeBSD: head/games/ceferino/Makefile 315098 2013-03-24 05:32:19Z acm $ -# PORTNAME= ceferino PORTVERSION= 0.97.8 -PORTREVISION= 12 +PORTREVISION= 13 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 USE_GMAKE= yes @@ -22,17 +20,23 @@ CEFEDIRS= ima music levels sounds -OPTIONS= NLS "Native Language Support" on +PORTDOCS= AUTHORS ChangeLog README + +DESKTOP_ENTRIES="Don Ceferino HazaƱa" "${COMMENT}" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" false + +OPTIONS_DEFINE= NLS +OPTIONS_DEFAULT= NLS .include -.if defined(WITHOUT_NLS) -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.else +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" FLAG_NLS= true +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " .endif post-extract: @@ -47,7 +51,9 @@ @cd ${WRKSRC}/data && \ ${FIND} ${CEFEDIRS} -type d -exec ${MKDIR} "${DATADIR}/{}" \; && \ ${FIND} -E ${CEFEDIRS} -type f -iregex ".*\.(png|jpg|xm|map|wav)" -exec ${INSTALL_DATA} "{}" "${DATADIR}/{}" \; -.if defined(FLAG_NLS) + ${LN} -sf ${DATADIR}/ima/icono.png ${PREFIX}/share/pixmaps/${PORTNAME}.png + +.if ${PORT_OPTIONS:MNLS} .for f in es ca fr ${MKDIR} ${PREFIX}/share/locale/${f}/LC_MESSAGES && \ ${INSTALL_DATA} ${WRKSRC}/po/${f}.gmo ${PREFIX}/share/locale/${f}/LC_MESSAGES/${PORTNAME}.mo @@ -55,10 +61,9 @@ .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} - @cd ${WRKSRC} && \ - ${INSTALL_DATA} AUTHORS ChangeLog README ${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR} .endif .include diff -ruN --exclude=CVS /usr/ports/games/ceferino/pkg-descr ./pkg-descr --- /usr/ports/games/ceferino/pkg-descr 2013-01-14 17:55:23.000000000 +0100 +++ ./pkg-descr 2013-03-24 11:05:23.000000000 +0100 @@ -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.loosersjuegos.com.ar/juegos/ceferino diff -ruN --exclude=CVS /usr/ports/games/ceferino/pkg-plist ./pkg-plist --- /usr/ports/games/ceferino/pkg-plist 2013-01-14 17:55:23.000000000 +0100 +++ ./pkg-plist 2013-03-24 11:36:26.000000000 +0100 @@ -1,9 +1,6 @@ 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 @@ -59,7 +56,7 @@ %%DATADIR%%/sounds/tic.wav %%DATADIR%%/sounds/tiro.wav %%DATADIR%%/sounds/toc.wav -%%PORTDOCS%%@dirrm %%DOCSDIR%% +share/pixmaps/ceferino.png @dirrm %%DATADIR%%/ima @dirrm %%DATADIR%%/music @dirrm %%DATADIR%%/levels