aboutsummaryrefslogtreecommitdiff
path: root/games/gottet
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2017-01-19 02:50:46 +0000
committerJason E. Hale <jhale@FreeBSD.org>2017-01-19 02:50:46 +0000
commit6ef963e95758cd97051d24ed6752cf5142326202 (patch)
treeb85bbe80b330749e0b51a47fdbb66f5492e4da01 /games/gottet
parentc2e9c2738a18f690b7936ec2601d9cf6013278da (diff)
downloadports-6ef963e95758cd97051d24ed6752cf5142326202.tar.gz
ports-6ef963e95758cd97051d24ed6752cf5142326202.zip
Update to 1.1.3
Add NLS option Add missing dependencies reported by stage-qa Remove useless INSTALLS_ICONS
Notes
Notes: svn path=/head/; revision=431834
Diffstat (limited to 'games/gottet')
-rw-r--r--games/gottet/Makefile14
-rw-r--r--games/gottet/distinfo5
-rw-r--r--games/gottet/pkg-plist35
3 files changed, 31 insertions, 23 deletions
diff --git a/games/gottet/Makefile b/games/gottet/Makefile
index 6802a697df00..c17243ad82d4 100644
--- a/games/gottet/Makefile
+++ b/games/gottet/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gottet
-PORTVERSION= 1.1.1
+PORTVERSION= 1.1.3
DISTVERSIONSUFFIX= -src
CATEGORIES= games
MASTER_SITES= http://gottcode.org/gottet/
@@ -16,15 +16,21 @@ LICENSE_FILE= ${WRKSRC}/COPYING
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= compiler:c++11-lib qmake tar:bzip2
-USE_QT5= buildtools_build widgets
-INSTALLS_ICONS= yes
+USE_GL= gl
+USE_QT5= core gui widgets \
+ buildtools_build linguisttools_build
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS NLS
+OPTIONS_SUB= yes
post-patch:
@${REINPLACE_CMD} -e \
's|share/man|man|' ${WRKSRC}/gottet.pro
+post-patch-NLS-off:
+ @${REINPLACE_CMD} -e \
+ '/INSTALLS/s|qm||' ${WRKSRC}/gottet.pro
+
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog NEWS README \
diff --git a/games/gottet/distinfo b/games/gottet/distinfo
index 0c6bbb7f0c57..e096e0e9072f 100644
--- a/games/gottet/distinfo
+++ b/games/gottet/distinfo
@@ -1,2 +1,3 @@
-SHA256 (gottet-1.1.1-src.tar.bz2) = c276dba1f7d145d74713fdc92fe2b22cf538ace0115026466109857f7b543163
-SIZE (gottet-1.1.1-src.tar.bz2) = 404768
+TIMESTAMP = 1484792778
+SHA256 (gottet-1.1.3-src.tar.bz2) = ff8111c9760091980d12bc116ff75599d231437fea6a9313e7ab1bd0b2a15e1b
+SIZE (gottet-1.1.3-src.tar.bz2) = 395302
diff --git a/games/gottet/pkg-plist b/games/gottet/pkg-plist
index e9d005eb6534..a25ab4378eee 100644
--- a/games/gottet/pkg-plist
+++ b/games/gottet/pkg-plist
@@ -6,23 +6,24 @@ share/applications/gottet.desktop
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
-%%DATADIR%%/translations/gottet_ca.qm
-%%DATADIR%%/translations/gottet_cs.qm
-%%DATADIR%%/translations/gottet_de.qm
-%%DATADIR%%/translations/gottet_en.qm
-%%DATADIR%%/translations/gottet_es.qm
-%%DATADIR%%/translations/gottet_fr.qm
-%%DATADIR%%/translations/gottet_he.qm
-%%DATADIR%%/translations/gottet_ko.qm
-%%DATADIR%%/translations/gottet_lt.qm
-%%DATADIR%%/translations/gottet_ms.qm
-%%DATADIR%%/translations/gottet_nl.qm
-%%DATADIR%%/translations/gottet_pl.qm
-%%DATADIR%%/translations/gottet_ro.qm
-%%DATADIR%%/translations/gottet_ru.qm
-%%DATADIR%%/translations/gottet_tr.qm
-%%DATADIR%%/translations/gottet_vi.qm
-%%DATADIR%%/translations/gottet_zh_TW.qm
+%%NLS%%%%DATADIR%%/translations/gottet_ca.qm
+%%NLS%%%%DATADIR%%/translations/gottet_cs.qm
+%%NLS%%%%DATADIR%%/translations/gottet_de.qm
+%%NLS%%%%DATADIR%%/translations/gottet_el.qm
+%%NLS%%%%DATADIR%%/translations/gottet_en.qm
+%%NLS%%%%DATADIR%%/translations/gottet_es.qm
+%%NLS%%%%DATADIR%%/translations/gottet_fr.qm
+%%NLS%%%%DATADIR%%/translations/gottet_he.qm
+%%NLS%%%%DATADIR%%/translations/gottet_ko.qm
+%%NLS%%%%DATADIR%%/translations/gottet_lt.qm
+%%NLS%%%%DATADIR%%/translations/gottet_ms.qm
+%%NLS%%%%DATADIR%%/translations/gottet_nl.qm
+%%NLS%%%%DATADIR%%/translations/gottet_pl.qm
+%%NLS%%%%DATADIR%%/translations/gottet_ro.qm
+%%NLS%%%%DATADIR%%/translations/gottet_ru.qm
+%%NLS%%%%DATADIR%%/translations/gottet_tr.qm
+%%NLS%%%%DATADIR%%/translations/gottet_vi.qm
+%%NLS%%%%DATADIR%%/translations/gottet_zh_TW.qm
share/icons/hicolor/1024x1024/apps/gottet.png
share/icons/hicolor/128x128/apps/gottet.png
share/icons/hicolor/16x16/apps/gottet.png