Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Feb 2018 15:16:30 +0000 (UTC)
From:      "Jason E. Hale" <jhale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462528 - head/games/connectagram
Message-ID:  <201802211516.w1LFGUis023374@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhale
Date: Wed Feb 21 15:16:30 2018
New Revision: 462528
URL: https://svnweb.freebsd.org/changeset/ports/462528

Log:
  Update to 1.2.6
  Make translations optional
  Fix stage-qa warnings
  Remove INSTALLS_ICONS (Qt apps don't use this)
  Move USES block upward

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

Modified: head/games/connectagram/Makefile
==============================================================================
--- head/games/connectagram/Makefile	Wed Feb 21 15:08:20 2018	(r462527)
+++ head/games/connectagram/Makefile	Wed Feb 21 15:16:30 2018	(r462528)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	connectagram
-PORTVERSION=	1.2.5
+PORTVERSION=	1.2.6
 DISTVERSIONSUFFIX=	-src
-PORTREVISION=	1
 CATEGORIES=	games
 MASTER_SITES=	http://gottcode.org/connectagram/
 
@@ -14,19 +13,24 @@ COMMENT=	Word unscrambling game
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
 USES=		compiler:c++11-lib qmake tar:bzip2
+USE_GL=		gl
 USE_QT5=	buildtools_build core gui linguisttools_build network widgets
-INSTALLS_ICONS=	yes
 
-OPTIONS_DEFINE=	DOCS
+WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
+
 post-patch:
 	@${REINPLACE_CMD} -e \
-		's|share/man|man|;s|metainfo|appdata|' ${WRKSRC}/connectagram.pro
+		's|share/man|man|' ${WRKSRC}/connectagram.pro
 	@${REINPLACE_CMD} -e \
 		's|std::lround|lround|' ${WRKSRC}/src/*.cpp
+
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e \
+		'/INSTALLS/s|qm||' ${WRKSRC}/connectagram.pro
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}

Modified: head/games/connectagram/distinfo
==============================================================================
--- head/games/connectagram/distinfo	Wed Feb 21 15:08:20 2018	(r462527)
+++ head/games/connectagram/distinfo	Wed Feb 21 15:16:30 2018	(r462528)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1501809382
-SHA256 (connectagram-1.2.5-src.tar.bz2) = a4214b55515ce9628945e3f0d46972901ceb9db7eb31e84c63ce3c024078274b
-SIZE (connectagram-1.2.5-src.tar.bz2) = 1625834
+TIMESTAMP = 1519224225
+SHA256 (connectagram-1.2.6-src.tar.bz2) = 79177c962292d20848f124358a2a3445e09ec4eb0b3d8a092f921cf7d8139dae
+SIZE (connectagram-1.2.6-src.tar.bz2) = 1626276

Modified: head/games/connectagram/pkg-plist
==============================================================================
--- head/games/connectagram/pkg-plist	Wed Feb 21 15:08:20 2018	(r462527)
+++ head/games/connectagram/pkg-plist	Wed Feb 21 15:16:30 2018	(r462528)
@@ -1,25 +1,24 @@
 bin/connectagram
 man/man6/connectagram.6.gz
-share/appdata/connectagram.appdata.xml
 share/applications/connectagram.desktop
 %%DATADIR%%/data/en/words
 %%DATADIR%%/data/fr/words
 %%DATADIR%%/data/hu/words
 %%DATADIR%%/data/ru/words
-%%DATADIR%%/translations/connectagram_cs.qm
-%%DATADIR%%/translations/connectagram_de.qm
-%%DATADIR%%/translations/connectagram_el.qm
-%%DATADIR%%/translations/connectagram_en.qm
-%%DATADIR%%/translations/connectagram_es_PE.qm
-%%DATADIR%%/translations/connectagram_fr.qm
-%%DATADIR%%/translations/connectagram_hr.qm
-%%DATADIR%%/translations/connectagram_hu.qm
-%%DATADIR%%/translations/connectagram_lt.qm
-%%DATADIR%%/translations/connectagram_nl.qm
-%%DATADIR%%/translations/connectagram_pl.qm
-%%DATADIR%%/translations/connectagram_ro.qm
-%%DATADIR%%/translations/connectagram_ru.qm
-%%DATADIR%%/translations/connectagram_tr.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_cs.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_de.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_el.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_en.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_es_PE.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_fr.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_hr.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_hu.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_lt.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_nl.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_pl.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_ro.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_ru.qm
+%%NLS%%%%DATADIR%%/translations/connectagram_tr.qm
 %%PORTDOCS%%%%DOCSDIR%%/CREDITS
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/NEWS
@@ -35,4 +34,5 @@ share/icons/hicolor/48x48/apps/connectagram.png
 share/icons/hicolor/512x512/apps/connectagram.png
 share/icons/hicolor/64x64/apps/connectagram.png
 share/icons/hicolor/scalable/apps/connectagram.svg
+share/metainfo/connectagram.appdata.xml
 share/pixmaps/connectagram.xpm



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