games/gottet: update 1.0.6 -> 1.1.1

- Switch to QT5

PR:		197432
Submitted by:	Kato Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Bartek Rutkowski 2015-04-01 19:53:52 +00:00
parent c5ef2d3dad
commit ea72df7291
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382946
3 changed files with 40 additions and 40 deletions

View file

@ -2,42 +2,31 @@
# $FreeBSD$
PORTNAME= gottet
PORTVERSION= 1.0.6
PORTVERSION= 1.1.1
DISTVERSIONSUFFIX= -src
CATEGORIES= games
MASTER_SITES= http://gottcode.org/${PORTNAME}/
EXTRACT_SUFX= -src.tar.bz2
MASTER_SITES= http://gottcode.org/gottet/
MAINTAINER= ports@FreeBSD.org
COMMENT= Tetris clone
LICENSE= GPLv3 # or later
LICENSE_FILE= ${WRKSRC}/COPYING
LICENSE= GPLv3 # (or later)
USES= qmake tar:bzip2
USE_QT4= moc_build rcc_build iconengines_run imageformats_run \
gui
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USES= compiler:c++11-lib qmake tar:bzip2
USE_QT5= buildtools_build widgets
INSTALLS_ICONS= yes
PORTDOCS= CREDITS ChangeLog NEWS README
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
OPTIONS_DEFINE= DOCS
post-patch:
.if ! ${PORT_OPTIONS:MNLS}
@${REINPLACE_CMD} -i '' '/qm.files/,/qm.path/s/^/#/' \
${WRKSRC}/${PORTNAME}.pro
.endif
@${REINPLACE_CMD} -e \
's|share/man|man|' ${WRKSRC}/gottet.pro
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
(cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog NEWS README \
${STAGEDIR}${DOCSDIR})
.include <bsd.port.mk>

View file

@ -1,2 +1,2 @@
SHA256 (gottet-1.0.6-src.tar.bz2) = 66338509e04927b76804cb0a3ebb31989a4c6f2500e8b99bec6d1db1121cd561
SIZE (gottet-1.0.6-src.tar.bz2) = 268854
SHA256 (gottet-1.1.1-src.tar.bz2) = c276dba1f7d145d74713fdc92fe2b22cf538ace0115026466109857f7b543163
SIZE (gottet-1.1.1-src.tar.bz2) = 404768

View file

@ -1,18 +1,29 @@
bin/gottet
man/man6/gottet.6.gz
share/appdata/gottet.appdata.xml
share/applications/gottet.desktop
%%NLS%%%%DATADIR%%/translations/gottet_ca.qm
%%NLS%%%%DATADIR%%/translations/gottet_de.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_ms.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
%%PORTDOCS%%%%DOCSDIR%%/CREDITS
%%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
share/icons/hicolor/1024x1024/apps/gottet.png
share/icons/hicolor/128x128/apps/gottet.png
share/icons/hicolor/16x16/apps/gottet.png
share/icons/hicolor/22x22/apps/gottet.png
@ -20,7 +31,7 @@ share/icons/hicolor/24x24/apps/gottet.png
share/icons/hicolor/256x256/apps/gottet.png
share/icons/hicolor/32x32/apps/gottet.png
share/icons/hicolor/48x48/apps/gottet.png
share/icons/hicolor/512x512/apps/gottet.png
share/icons/hicolor/64x64/apps/gottet.png
share/icons/hicolor/scalable/apps/gottet.svg
share/pixmaps/gottet.png
share/pixmaps/gottet.xpm