aboutsummaryrefslogtreecommitdiff
path: root/games/cutemaze
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-02-04 11:49:25 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-02-04 11:49:25 +0000
commit81ef1384acfbc8f113c0846a034ce4a935af8a13 (patch)
tree6bf7e457823cc7190f4503a7052776ade0ca53c6 /games/cutemaze
parentd131528bbdf4259621b4c95e95cc79ad2dcac660 (diff)
downloadports-81ef1384acfbc8f113c0846a034ce4a935af8a13.tar.gz
ports-81ef1384acfbc8f113c0846a034ce4a935af8a13.zip
Notes
Diffstat (limited to 'games/cutemaze')
-rw-r--r--games/cutemaze/Makefile18
-rw-r--r--games/cutemaze/distinfo4
-rw-r--r--games/cutemaze/pkg-descr7
-rw-r--r--games/cutemaze/pkg-plist17
4 files changed, 35 insertions, 11 deletions
diff --git a/games/cutemaze/Makefile b/games/cutemaze/Makefile
index d007095fafbf..c41e0e5d7007 100644
--- a/games/cutemaze/Makefile
+++ b/games/cutemaze/Makefile
@@ -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 iconengines_run imageformats_run \
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)
diff --git a/games/cutemaze/distinfo b/games/cutemaze/distinfo
index aa0bcba95368..bbec066b021d 100644
--- a/games/cutemaze/distinfo
+++ b/games/cutemaze/distinfo
@@ -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
diff --git a/games/cutemaze/pkg-descr b/games/cutemaze/pkg-descr
index ee419869e0be..87a54911cbc0 100644
--- a/games/cutemaze/pkg-descr
+++ b/games/cutemaze/pkg-descr
@@ -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/
diff --git a/games/cutemaze/pkg-plist b/games/cutemaze/pkg-plist
index 0754fd065303..c6c36f67918b 100644
--- a/games/cutemaze/pkg-plist
+++ b/games/cutemaze/pkg-plist
@@ -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-highscores.png
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-highscores.png
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-highscores.svgz
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%%