Index: head/games/gottet/Makefile =================================================================== --- head/games/gottet/Makefile (revision 382945) +++ head/games/gottet/Makefile (revision 382946) @@ -1,43 +1,32 @@ # Created by: Rusmir Dusko # $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 +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} + +USES= compiler:c++11-lib qmake tar:bzip2 +USE_QT5= buildtools_build widgets INSTALLS_ICONS= yes -PORTDOCS= CREDITS ChangeLog NEWS README +OPTIONS_DEFINE= DOCS -OPTIONS_DEFINE= DOCS NLS -OPTIONS_SUB= yes - -.include - 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 Index: head/games/gottet/distinfo =================================================================== --- head/games/gottet/distinfo (revision 382945) +++ head/games/gottet/distinfo (revision 382946) @@ -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 Index: head/games/gottet/pkg-plist =================================================================== --- head/games/gottet/pkg-plist (revision 382945) +++ head/games/gottet/pkg-plist (revision 382946) @@ -1,26 +1,37 @@ 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 share/icons/hicolor/24x24/apps/gottet.png 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