Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Apr 2015 19:53:53 +0000 (UTC)
From:      Bartek Rutkowski <robak@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382946 - head/games/gottet
Message-ID:  <201504011953.t31JrrBR069299@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: robak
Date: Wed Apr  1 19:53:52 2015
New Revision: 382946
URL: https://svnweb.freebsd.org/changeset/ports/382946

Log:
  games/gottet: update 1.0.6 -> 1.1.1
  
  - Switch to QT5
  
  PR:		197432
  Submitted by:	Kato Tsuguru <tkato432@yahoo.com>

Modified:
  head/games/gottet/Makefile
  head/games/gottet/distinfo
  head/games/gottet/pkg-plist

Modified: head/games/gottet/Makefile
==============================================================================
--- head/games/gottet/Makefile	Wed Apr  1 19:48:37 2015	(r382945)
+++ head/games/gottet/Makefile	Wed Apr  1 19:53:52 2015	(r382946)
@@ -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
-INSTALLS_ICONS=	yes
-
-PORTDOCS=	CREDITS ChangeLog NEWS README
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
-OPTIONS_DEFINE=	DOCS NLS
-OPTIONS_SUB=	yes
+USES=		compiler:c++11-lib qmake tar:bzip2
+USE_QT5=	buildtools_build widgets
+INSTALLS_ICONS=	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>

Modified: head/games/gottet/distinfo
==============================================================================
--- head/games/gottet/distinfo	Wed Apr  1 19:48:37 2015	(r382945)
+++ head/games/gottet/distinfo	Wed Apr  1 19:53:52 2015	(r382946)
@@ -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

Modified: head/games/gottet/pkg-plist
==============================================================================
--- head/games/gottet/pkg-plist	Wed Apr  1 19:48:37 2015	(r382945)
+++ head/games/gottet/pkg-plist	Wed Apr  1 19:53:52 2015	(r382946)
@@ -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.pn
 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



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