diff -urN /usr/ports/games/simsu/Makefile games/simsu/Makefile --- /usr/ports/games/simsu/Makefile 2014-11-01 02:31:31.000000000 +0900 +++ games/simsu/Makefile 2015-02-09 00:00:00.000000000 +0900 @@ -2,43 +2,32 @@ # $FreeBSD: head/games/simsu/Makefile 371872 2014-10-31 16:11:33Z amdmi3 $ PORTNAME= simsu -PORTVERSION= 1.2.3 -PORTREVISION= 1 +PORTVERSION= 1.3.1 +DISTVERSIONSUFFIX= -src CATEGORIES= games -MASTER_SITES= http://gottcode.org/${PORTNAME}/ -EXTRACT_SUFX= -src.tar.bz2 +MASTER_SITES= http://gottcode.org/simsu/ MAINTAINER= ports@FreeBSD.org COMMENT= Basic Sudoku game -LICENSE= GPLv3 # or later -LICENSE_FILE= ${WRKSRC}/COPYING +LICENSE= GPLv3 # (or later) -USES= qmake tar:bzip2 -USE_QT4= moc_build rcc_build uic_build iconengines_run imageformats_run \ - gui -INSTALLS_ICONS= yes - -PORTDOCS= CREDITS ChangeLog +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 +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|c++0x|c++11| ; \ + s|share/man|man|' ${WRKSRC}/simsu.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} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_DATA} CREDITS ChangeLog NEWS README \ + ${STAGEDIR}${DOCSDIR}) .include diff -urN /usr/ports/games/simsu/distinfo games/simsu/distinfo --- /usr/ports/games/simsu/distinfo 2014-06-21 17:43:46.000000000 +0900 +++ games/simsu/distinfo 2015-02-09 00:00:00.000000000 +0900 @@ -1,2 +1,2 @@ -SHA256 (simsu-1.2.3-src.tar.bz2) = 623a27e487bd360bee58430b6530f3371f915a868910615572559a3e055a5da4 -SIZE (simsu-1.2.3-src.tar.bz2) = 328020 +SHA256 (simsu-1.3.1-src.tar.bz2) = 94cd1728a3bd1743b65c2636cb7ecb739ba7b1b31660fca4b5318908f000e9b7 +SIZE (simsu-1.3.1-src.tar.bz2) = 480585 diff -urN /usr/ports/games/simsu/pkg-descr games/simsu/pkg-descr --- /usr/ports/games/simsu/pkg-descr 2014-06-21 17:43:46.000000000 +0900 +++ games/simsu/pkg-descr 2015-02-09 00:00:00.000000000 +0900 @@ -1,8 +1,10 @@ Simsu is a basic Sudoku game. You can switch between filling in notes (pencil mode), or filling in answers (pen mode). + To make it easier to see where to place numbers, you can highlight all instances of a number. You can also check your answers for -correctness while playing. The game stores your current notes and answers, -so that you can pick up where you left off the next time you play. +correctness while playing. The game stores your current notes and +answers, so that you can pick up where you left off the next time you +play. WWW: http://gottcode.org/simsu/ diff -urN /usr/ports/games/simsu/pkg-plist games/simsu/pkg-plist --- /usr/ports/games/simsu/pkg-plist 2014-10-11 23:10:08.000000000 +0900 +++ games/simsu/pkg-plist 2015-02-09 00:00:00.000000000 +0900 @@ -1,5 +1,12 @@ bin/simsu +man/man6/simsu.6.gz +share/appdata/simsu.appdata.xml share/applications/simsu.desktop +%%PORTDOCS%%%%DOCSDIR%%/CREDITS +%%PORTDOCS%%%%DOCSDIR%%/ChangeLog +%%PORTDOCS%%%%DOCSDIR%%/NEWS +%%PORTDOCS%%%%DOCSDIR%%/README +share/icons/hicolor/1024x1024/apps/simsu.png share/icons/hicolor/128x128/apps/simsu.png share/icons/hicolor/16x16/apps/simsu.png share/icons/hicolor/22x22/apps/simsu.png @@ -7,19 +14,26 @@ share/icons/hicolor/256x256/apps/simsu.png share/icons/hicolor/32x32/apps/simsu.png share/icons/hicolor/48x48/apps/simsu.png +share/icons/hicolor/512x512/apps/simsu.png share/icons/hicolor/64x64/apps/simsu.png share/icons/hicolor/scalable/apps/simsu.svg -share/pixmaps/simsu.png share/pixmaps/simsu.xpm -%%NLS%%%%DATADIR%%/translations/simsu_ca.qm -%%NLS%%%%DATADIR%%/translations/simsu_cs.qm -%%NLS%%%%DATADIR%%/translations/simsu_el.qm -%%NLS%%%%DATADIR%%/translations/simsu_en.qm -%%NLS%%%%DATADIR%%/translations/simsu_es.qm -%%NLS%%%%DATADIR%%/translations/simsu_es_CL.qm -%%NLS%%%%DATADIR%%/translations/simsu_fr.qm -%%NLS%%%%DATADIR%%/translations/simsu_he.qm -%%NLS%%%%DATADIR%%/translations/simsu_hu.qm -%%NLS%%%%DATADIR%%/translations/simsu_ro.qm -%%NLS%%%%DATADIR%%/translations/simsu_ru.qm -%%NLS%%%%DATADIR%%/translations/simsu_uk.qm +%%DATADIR%%/translations/simsu_bg.qm +%%DATADIR%%/translations/simsu_ca.qm +%%DATADIR%%/translations/simsu_cs.qm +%%DATADIR%%/translations/simsu_de.qm +%%DATADIR%%/translations/simsu_el.qm +%%DATADIR%%/translations/simsu_en.qm +%%DATADIR%%/translations/simsu_es.qm +%%DATADIR%%/translations/simsu_es_CL.qm +%%DATADIR%%/translations/simsu_fr.qm +%%DATADIR%%/translations/simsu_he.qm +%%DATADIR%%/translations/simsu_hu.qm +%%DATADIR%%/translations/simsu_lt.qm +%%DATADIR%%/translations/simsu_ms.qm +%%DATADIR%%/translations/simsu_nl.qm +%%DATADIR%%/translations/simsu_pl.qm +%%DATADIR%%/translations/simsu_ro.qm +%%DATADIR%%/translations/simsu_ru.qm +%%DATADIR%%/translations/simsu_tr.qm +%%DATADIR%%/translations/simsu_uk.qm