From owner-svn-ports-all@FreeBSD.ORG Tue Sep 11 06:17:04 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 951311065674; Tue, 11 Sep 2012 06:17:04 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7FD678FC1D; Tue, 11 Sep 2012 06:17:04 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q8B6H4FP089828; Tue, 11 Sep 2012 06:17:04 GMT (envelope-from martymac@svn.freebsd.org) Received: (from martymac@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8B6H4Vo089824; Tue, 11 Sep 2012 06:17:04 GMT (envelope-from martymac@svn.freebsd.org) Message-Id: <201209110617.q8B6H4Vo089824@svn.freebsd.org> From: Ganael LAPLANCHE Date: Tue, 11 Sep 2012 06:17:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r304082 - head/games/trackballs X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Sep 2012 06:17:04 -0000 Author: martymac Date: Tue Sep 11 06:17:03 2012 New Revision: 304082 URL: http://svn.freebsd.org/changeset/ports/304082 Log: - Add MUSIC and NLS options - Add a pixmap PR: ports/171256 Submitted by: nemysis Modified: head/games/trackballs/Makefile head/games/trackballs/distinfo head/games/trackballs/pkg-plist Modified: head/games/trackballs/Makefile ============================================================================== --- head/games/trackballs/Makefile Tue Sep 11 06:14:26 2012 (r304081) +++ head/games/trackballs/Makefile Tue Sep 11 06:17:03 2012 (r304082) @@ -7,9 +7,12 @@ PORTNAME= trackballs PORTVERSION= 1.1.4 -PORTREVISION= 14 +PORTREVISION= 15 CATEGORIES= games -MASTER_SITES= SF +MASTER_SITES= SF \ + SF/${PORTNAME}/music/1.4/:music +DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \ + ${PORTNAME}-music-1.4.tar.bz2:music MAINTAINER= martymac@FreeBSD.org COMMENT= SDL-based Marble Madness clone @@ -34,11 +37,36 @@ MANCOMPRESSED= no CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -lintl +OPTIONS_DEFINE= NLS MUSIC +MUSIC_DESC= Install additional music +OPTIONS_DEFAULT= NLS MUSIC + +.include + +.if ${PORT_OPTIONS:MNLS} +USE_GETTEXT= yes +CONFIGURE_ARGS+= --enable-nls +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " +.endif + +.if ${PORT_OPTIONS:MMUSIC} +PLIST_SUB+= MUSIC="" +.else +PLIST_SUB+= MUSIC="@comment " +.endif + post-patch: @${REINPLACE_CMD} -e 's|install -D|$$(INSTALL)|' \ ${WRKSRC}/share/Makefile.in post-install: +.if ${PORT_OPTIONS:MMUSIC} + @${INSTALL_DATA} ${WRKDIR}/trackballs-music/*.ogg ${DATADIR}/music/ +.endif + @${INSTALL_DATA} ${WRKSRC}/share/icons/${PORTNAME}-48x48.png ${PREFIX}/share/pixmaps/${PORTNAME}.png -@update-desktop-database .include Modified: head/games/trackballs/distinfo ============================================================================== --- head/games/trackballs/distinfo Tue Sep 11 06:14:26 2012 (r304081) +++ head/games/trackballs/distinfo Tue Sep 11 06:17:03 2012 (r304082) @@ -1,2 +1,4 @@ SHA256 (trackballs-1.1.4.tar.gz) = 459dbaec27354fb4afff3d1aa491bc21b4fc2c0769eae86a47aaeb545cb434a6 SIZE (trackballs-1.1.4.tar.gz) = 7229541 +SHA256 (trackballs-music-1.4.tar.bz2) = bf9b793b6fab81e59fb9a373944a5724af279b0faebb2461bb98beb5aa466058 +SIZE (trackballs-music-1.4.tar.bz2) = 18825033 Modified: head/games/trackballs/pkg-plist ============================================================================== --- head/games/trackballs/pkg-plist Tue Sep 11 06:14:26 2012 (r304081) +++ head/games/trackballs/pkg-plist Tue Sep 11 06:17:03 2012 (r304082) @@ -3,12 +3,13 @@ share/applications/trackballs.desktop share/icons/hicolor/32x32/apps/trackballs.png share/icons/hicolor/48x48/apps/trackballs.png share/icons/hicolor/64x64/apps/trackballs.png -share/locale/de/LC_MESSAGES/trackballs.mo -share/locale/fr/LC_MESSAGES/trackballs.mo -share/locale/hu/LC_MESSAGES/trackballs.mo -share/locale/it/LC_MESSAGES/trackballs.mo -share/locale/sk/LC_MESSAGES/trackballs.mo -share/locale/sv/LC_MESSAGES/trackballs.mo +share/pixmaps/trackballs.png +%%NLS%%share/locale/de/LC_MESSAGES/trackballs.mo +%%NLS%%share/locale/fr/LC_MESSAGES/trackballs.mo +%%NLS%%share/locale/hu/LC_MESSAGES/trackballs.mo +%%NLS%%share/locale/it/LC_MESSAGES/trackballs.mo +%%NLS%%share/locale/sk/LC_MESSAGES/trackballs.mo +%%NLS%%share/locale/sv/LC_MESSAGES/trackballs.mo %%DATADIR%%/api.html %%DATADIR%%/customizing.html %%DATADIR%%/examples.html @@ -233,6 +234,13 @@ share/locale/sv/LC_MESSAGES/trackballs.m %%DATADIR%%/levels/tmp.scm %%DATADIR%%/mapeditor.html %%DATADIR%%/scriptingLanguage.html +%%MUSIC%%%%DATADIR%%/music/eurovision.ogg +%%MUSIC%%%%DATADIR%%/music/tb_plinkeplanke.ogg +%%MUSIC%%%%DATADIR%%/music/tb_sorrow.ogg +%%MUSIC%%%%DATADIR%%/music/crazy.ogg +%%MUSIC%%%%DATADIR%%/music/tb_hrluebke.ogg +%%MUSIC%%%%DATADIR%%/music/c64revival.ogg +%%MUSIC%%%%DATADIR%%/music/tb_schizophrenia.ogg %%DATADIR%%/sfx/badpill.wav %%DATADIR%%/sfx/ball_sinks.wav %%DATADIR%%/sfx/ball_sinks2.wav