Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Feb 2014 11:49:25 +0000 (UTC)
From:      Rusmir Dusko <nemysis@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342510 - head/games/cutemaze
Message-ID:  <201402041149.s14BnPX0031911@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nemysis
Date: Tue Feb  4 11:49:25 2014
New Revision: 342510
URL: http://svnweb.freebsd.org/changeset/ports/342510
QAT: https://qat.redports.org/buildarchive/r342510/

Log:
  - Update to 1.1.1, announce message is here:
  
      http://gottcode.org/cutemaze/#releasenotes
  
  - Add NEWS to DOCS
  - Add NLS Option and REINPLACE
  - Add OPTIONS_SUB
  - Strip executable
  - Change pkg-descr

Modified:
  head/games/cutemaze/Makefile
  head/games/cutemaze/distinfo
  head/games/cutemaze/pkg-descr
  head/games/cutemaze/pkg-plist

Modified: head/games/cutemaze/Makefile
==============================================================================
--- head/games/cutemaze/Makefile	Tue Feb  4 11:41:50 2014	(r342509)
+++ head/games/cutemaze/Makefile	Tue Feb  4 11:49:25 2014	(r342510)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	cutemaze
-PORTVERSION=	1.1.0
-PORTREVISION=	3
+PORTVERSION=	1.1.1
 CATEGORIES=	games
 MASTER_SITES=	http://gottcode.org/${PORTNAME}/
 DISTNAME=	${PORTNAME}-${DISTVERSION}-src
@@ -21,11 +20,22 @@ USE_QT4=	moc_build rcc_build uic_build i
 		corelib gui svg
 INSTALLS_ICONS=	yes
 
-PORTDOCS=	ChangeLog README
+PORTDOCS=	ChangeLog NEWS README
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
+
+.include <bsd.port.options.mk>
+
+post-patch:
+.if ! ${PORT_OPTIONS:MNLS}
+	@${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \
+		${WRKSRC}/cutemaze.pro
+.endif
 
 post-install:
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
+
 .for d in 16x16 22x22 scalable
 	@(cd ${WRKSRC}/icons/oxygen && ${COPYTREE_SHARE} ${d} \
 		${STAGEDIR}${PREFIX}/share/icons/oxygen)

Modified: head/games/cutemaze/distinfo
==============================================================================
--- head/games/cutemaze/distinfo	Tue Feb  4 11:41:50 2014	(r342509)
+++ head/games/cutemaze/distinfo	Tue Feb  4 11:49:25 2014	(r342510)
@@ -1,2 +1,2 @@
-SHA256 (cutemaze-1.1.0-src.tar.bz2) = cc039faf452f8c30fb00a90ba7571d688559c0df822fc213f3e78451921f9bef
-SIZE (cutemaze-1.1.0-src.tar.bz2) = 249290
+SHA256 (cutemaze-1.1.1-src.tar.bz2) = 3236d012af36a8390b86524e84d38baa40a12203a1e991c653203f3a23a7445d
+SIZE (cutemaze-1.1.1-src.tar.bz2) = 370854

Modified: head/games/cutemaze/pkg-descr
==============================================================================
--- head/games/cutemaze/pkg-descr	Tue Feb  4 11:41:50 2014	(r342509)
+++ head/games/cutemaze/pkg-descr	Tue Feb  4 11:49:25 2014	(r342510)
@@ -1,7 +1,6 @@
 CuteMaze is a simple, top-down game in which mazes are randomly generated using
-one of a choice of several different algorithms.
-You move the character through the maze while hunting for targets
-(cheese, by default)
-the game is won once all of these targets have been picked up.
+one of a choice of several different algorithms. You move the character through
+the maze while hunting for targets (cheese, by default) the game is won once
+ all of these targets have been picked up.
 
 WWW: http://gottcode.org/cutemaze/

Modified: head/games/cutemaze/pkg-plist
==============================================================================
--- head/games/cutemaze/pkg-plist	Tue Feb  4 11:41:50 2014	(r342509)
+++ head/games/cutemaze/pkg-plist	Tue Feb  4 11:49:25 2014	(r342510)
@@ -1,5 +1,15 @@
-bin/cutemaze
+%%QT_BINDIR%%/cutemaze
 share/applications/cutemaze.desktop
+%%NLS%%%%DATADIR%%/translations/cutemaze_de.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_en.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_es.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_fr.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_he.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_pl.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_pt_BR.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_ro.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_ru.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_tr.qm
 share/icons/hicolor/48x48/apps/cutemaze.png
 share/icons/oxygen/16x16/application-exit.png
 share/icons/oxygen/16x16/document-new.png
@@ -8,6 +18,7 @@ share/icons/oxygen/16x16/games-highscore
 share/icons/oxygen/16x16/games-hint.png
 share/icons/oxygen/16x16/help-about.png
 share/icons/oxygen/16x16/media-playback-pause.png
+share/icons/oxygen/16x16/preferences-desktop-locale.png
 share/icons/oxygen/16x16/zoom-in.png
 share/icons/oxygen/16x16/zoom-out.png
 share/icons/oxygen/22x22/application-exit.png
@@ -17,6 +28,7 @@ share/icons/oxygen/22x22/games-highscore
 share/icons/oxygen/22x22/games-hint.png
 share/icons/oxygen/22x22/help-about.png
 share/icons/oxygen/22x22/media-playback-pause.png
+share/icons/oxygen/22x22/preferences-desktop-locale.png
 share/icons/oxygen/22x22/zoom-in.png
 share/icons/oxygen/22x22/zoom-out.png
 share/icons/oxygen/scalable/application-exit.svgz
@@ -26,6 +38,9 @@ share/icons/oxygen/scalable/games-highsc
 share/icons/oxygen/scalable/games-hint.svgz
 share/icons/oxygen/scalable/help-about.svgz
 share/icons/oxygen/scalable/media-playback-pause.svgz
+share/icons/oxygen/scalable/preferences-desktop-locale.svgz
 share/icons/oxygen/scalable/zoom-in.svgz
 share/icons/oxygen/scalable/zoom-out.svgz
 share/pixmaps/cutemaze.png
+%%NLS%%@dirrm %%DATADIR%%/translations
+%%NLS%%@dirrm %%DATADIR%%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402041149.s14BnPX0031911>