diff -urN /usr/ports/games/gottet/Makefile games/gottet/Makefile --- /usr/ports/games/gottet/Makefile 2014-12-05 22:29:09.000000000 +0900 +++ games/gottet/Makefile 2015-02-09 00:00:00.000000000 +0900 @@ -2,42 +2,31 @@ # $FreeBSD: head/games/gottet/Makefile 374016 2014-12-05 13:12:29Z amdmi3 $ 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 +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 diff -urN /usr/ports/games/gottet/distinfo games/gottet/distinfo --- /usr/ports/games/gottet/distinfo 2014-06-21 17:44:20.000000000 +0900 +++ games/gottet/distinfo 2015-02-09 00:00:00.000000000 +0900 @@ -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 diff -urN /usr/ports/games/gottet/pkg-plist games/gottet/pkg-plist --- /usr/ports/games/gottet/pkg-plist 2014-12-05 22:29:09.000000000 +0900 +++ games/gottet/pkg-plist 2015-02-09 00:00:00.000000000 +0900 @@ -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/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