Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 Feb 2017 14:30:44 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433994 - in head/games/cutemaze: . files
Message-ID:  <201702131430.v1DEUiAi081759@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Mon Feb 13 14:30:43 2017
New Revision: 433994
URL: https://svnweb.freebsd.org/changeset/ports/433994

Log:
  1: Update to 1.2.0.
  2: move to QT5.

Added:
  head/games/cutemaze/files/
  head/games/cutemaze/files/patch-cutemaze.pro   (contents, props changed)
Modified:
  head/games/cutemaze/Makefile
  head/games/cutemaze/distinfo
  head/games/cutemaze/pkg-plist

Modified: head/games/cutemaze/Makefile
==============================================================================
--- head/games/cutemaze/Makefile	Mon Feb 13 14:28:19 2017	(r433993)
+++ head/games/cutemaze/Makefile	Mon Feb 13 14:30:43 2017	(r433994)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	cutemaze
-PORTVERSION=	1.1.1
+PORTVERSION=	1.2.0
 CATEGORIES=	games
 MASTER_SITES=	http://gottcode.org/${PORTNAME}/
 DISTNAME=	${PORTNAME}-${DISTVERSION}-src
@@ -11,12 +11,13 @@ MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Simple, top-down game in which mazes are randomly generated
 
 LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/COPYING
 
 WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
 
 USES=		qmake tar:bzip2
-USE_QT4=	moc_build rcc_build uic_build iconengines_run imageformats_run \
-		corelib gui svg
+USE_QT5=	buildtools core gui svg imageformats_run linguisttools \
+		widgets
 INSTALLS_ICONS=	yes
 
 PORTDOCS=	ChangeLog NEWS README
@@ -24,25 +25,20 @@ PORTDOCS=	ChangeLog NEWS README
 OPTIONS_DEFINE=	DOCS NLS
 OPTIONS_SUB=	yes
 
-.include <bsd.port.options.mk>
-
-post-patch:
-.if ! ${PORT_OPTIONS:MNLS}
+post-patch-NLS-off:
 	@${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)
 .endfor
-
 	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
 
+post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 

Modified: head/games/cutemaze/distinfo
==============================================================================
--- head/games/cutemaze/distinfo	Mon Feb 13 14:28:19 2017	(r433993)
+++ head/games/cutemaze/distinfo	Mon Feb 13 14:30:43 2017	(r433994)
@@ -1,2 +1,3 @@
-SHA256 (cutemaze-1.1.1-src.tar.bz2) = 3236d012af36a8390b86524e84d38baa40a12203a1e991c653203f3a23a7445d
-SIZE (cutemaze-1.1.1-src.tar.bz2) = 370854
+TIMESTAMP = 1486992704
+SHA256 (cutemaze-1.2.0-src.tar.bz2) = d23a0d11a237f53d6b8da9234b5b475bbca8d67abbdd124cfa7c0cb4da70349b
+SIZE (cutemaze-1.2.0-src.tar.bz2) = 800890

Added: head/games/cutemaze/files/patch-cutemaze.pro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/cutemaze/files/patch-cutemaze.pro	Mon Feb 13 14:30:43 2017	(r433994)
@@ -0,0 +1,11 @@
+--- cutemaze.pro.orig	2017-02-13 13:47:42 UTC
++++ cutemaze.pro
+@@ -94,7 +94,7 @@ macx {
+ 	qm.CONFIG += no_check_exist
+ 
+ 	man.files = doc/cutemaze.6
+-	man.path = $$PREFIX/share/man/man6
++	man.path = $$PREFIX/man/man6
+ 
+ 	INSTALLS += target pixmap icon desktop appdata qm man
+ }

Modified: head/games/cutemaze/pkg-plist
==============================================================================
--- head/games/cutemaze/pkg-plist	Mon Feb 13 14:28:19 2017	(r433993)
+++ head/games/cutemaze/pkg-plist	Mon Feb 13 14:30:43 2017	(r433994)
@@ -1,16 +1,33 @@
 bin/cutemaze
+man/man6/cutemaze.6.gz
+share/appdata/cutemaze.appdata.xml
 share/applications/cutemaze.desktop
+%%NLS%%%%DATADIR%%/translations/cutemaze_cs.qm
 %%NLS%%%%DATADIR%%/translations/cutemaze_de.qm
 %%NLS%%%%DATADIR%%/translations/cutemaze_en.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_eo.qm
 %%NLS%%%%DATADIR%%/translations/cutemaze_es.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_fi.qm
 %%NLS%%%%DATADIR%%/translations/cutemaze_fr.qm
 %%NLS%%%%DATADIR%%/translations/cutemaze_he.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_lt.qm
+%%NLS%%%%DATADIR%%/translations/cutemaze_nl.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/1024x1024/apps/cutemaze.png
+share/icons/hicolor/128x128/apps/cutemaze.png
+share/icons/hicolor/16x16/apps/cutemaze.png
+share/icons/hicolor/22x22/apps/cutemaze.png
+share/icons/hicolor/24x24/apps/cutemaze.png
+share/icons/hicolor/256x256/apps/cutemaze.png
+share/icons/hicolor/32x32/apps/cutemaze.png
 share/icons/hicolor/48x48/apps/cutemaze.png
+share/icons/hicolor/512x512/apps/cutemaze.png
+share/icons/hicolor/64x64/apps/cutemaze.png
+share/icons/hicolor/scalable/apps/cutemaze.svg
 share/icons/oxygen/16x16/application-exit.png
 share/icons/oxygen/16x16/document-new.png
 share/icons/oxygen/16x16/games-config-options.png
@@ -42,3 +59,4 @@ share/icons/oxygen/scalable/preferences-
 share/icons/oxygen/scalable/zoom-in.svgz
 share/icons/oxygen/scalable/zoom-out.svgz
 share/pixmaps/cutemaze.png
+share/pixmaps/cutemaze.xpm



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