From owner-svn-ports-head@FreeBSD.ORG Sun Nov 23 10:02:05 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8D04F8C9; Sun, 23 Nov 2014 10:02:05 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6E8E58E; Sun, 23 Nov 2014 10:02:05 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id sANA25LL069334; Sun, 23 Nov 2014 10:02:05 GMT (envelope-from nemysis@FreeBSD.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id sANA24vl069328; Sun, 23 Nov 2014 10:02:04 GMT (envelope-from nemysis@FreeBSD.org) Message-Id: <201411231002.sANA24vl069328@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: nemysis set sender to nemysis@FreeBSD.org using -f From: Rusmir Dusko Date: Sun, 23 Nov 2014 10:02:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r373138 - head/games/ceferino X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Nov 2014 10:02:05 -0000 Author: nemysis Date: Sun Nov 23 10:02:04 2014 New Revision: 373138 URL: https://svnweb.freebsd.org/changeset/ports/373138 QAT: https://qat.redports.org/buildarchive/r373138/ Log: - 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) Modified: head/games/ceferino/Makefile head/games/ceferino/pkg-descr head/games/ceferino/pkg-plist Modified: head/games/ceferino/Makefile ============================================================================== --- head/games/ceferino/Makefile Sun Nov 23 09:40:52 2014 (r373137) +++ head/games/ceferino/Makefile Sun Nov 23 10:02:04 2014 (r373138) @@ -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,18 +20,17 @@ LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD} CEFEDIRS= ima music levels sounds +PORTDOCS= AUTHORS ChangeLog README OPTIONS_DEFINE= NLS DOCS +OPTIONS_SUB= yes -.include +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext -.if ${PORT_OPTIONS:MNLS} -USES+= gettext -PLIST_SUB+= NLS="" -FLAG_NLS= true -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +DESKTOP_ENTRIES="Don Ceferino HazaƱa" "" "${PORTNAME}" \ + "${PORTNAME}" "Game;ArcadeGame;" "" + +.include 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 Modified: head/games/ceferino/pkg-descr ============================================================================== --- head/games/ceferino/pkg-descr Sun Nov 23 09:40:52 2014 (r373137) +++ head/games/ceferino/pkg-descr Sun Nov 23 10:02:04 2014 (r373138) @@ -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 Modified: head/games/ceferino/pkg-plist ============================================================================== --- head/games/ceferino/pkg-plist Sun Nov 23 09:40:52 2014 (r373137) +++ head/games/ceferino/pkg-plist Sun Nov 23 10:02:04 2014 (r373138) @@ -1,51 +1,45 @@ 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/final1.jpg +%%DATADIR%%/ima/final2.jpg +%%DATADIR%%/ima/final3.jpg +%%DATADIR%%/ima/final4.jpg +%%DATADIR%%/ima/final5.jpg +%%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.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/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 -%%DATADIR%%/ima/final4.jpg -%%DATADIR%%/ima/final5.jpg -%%DATADIR%%/ima/final6.jpg -%%DATADIR%%/ima/fondo.jpg -%%DATADIR%%/ima/fondos.jpg -%%DATADIR%%/ima/menu.jpg %%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