diff options
author | robak <robak@FreeBSD.org> | 2015-04-02 03:53:52 +0800 |
---|---|---|
committer | robak <robak@FreeBSD.org> | 2015-04-02 03:53:52 +0800 |
commit | 937e0cc44cb80097e287a7e59da0c44b3d69a4cf (patch) | |
tree | 792b178b342ecfc9d126f46bcc2a0168131614d8 /games/gottet | |
parent | 76834d98bb2594368317a71d999aaf31b1f74d17 (diff) | |
download | freebsd-ports-gnome-937e0cc44cb80097e287a7e59da0c44b3d69a4cf.tar.gz freebsd-ports-gnome-937e0cc44cb80097e287a7e59da0c44b3d69a4cf.tar.zst freebsd-ports-gnome-937e0cc44cb80097e287a7e59da0c44b3d69a4cf.zip |
games/gottet: update 1.0.6 -> 1.1.1
- Switch to QT5
PR: 197432
Submitted by: Kato Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'games/gottet')
-rw-r--r-- | games/gottet/Makefile | 37 | ||||
-rw-r--r-- | games/gottet/distinfo | 4 | ||||
-rw-r--r-- | games/gottet/pkg-plist | 39 |
3 files changed, 40 insertions, 40 deletions
diff --git a/games/gottet/Makefile b/games/gottet/Makefile index 2c0d866c15d0..a909715344bc 100644 --- a/games/gottet/Makefile +++ b/games/gottet/Makefile @@ -2,42 +2,31 @@ # $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 -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 <bsd.port.options.mk> +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 <bsd.port.mk> diff --git a/games/gottet/distinfo b/games/gottet/distinfo index 65aa50e1725b..0c6bbb7f0c57 100644 --- a/games/gottet/distinfo +++ b/games/gottet/distinfo @@ -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 --git a/games/gottet/pkg-plist b/games/gottet/pkg-plist index de443391b4a9..e9d005eb6534 100644 --- a/games/gottet/pkg-plist +++ b/games/gottet/pkg-plist @@ -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/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 |