Date: Wed, 4 Dec 2013 10:19:49 +0000 (UTC) From: Rusmir Dusko <nemysis@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335611 - in head/games/traingame: . files Message-ID: <201312041019.rB4AJnii064418@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: nemysis Date: Wed Dec 4 10:19:48 2013 New Revision: 335611 URL: http://svnweb.freebsd.org/changeset/ports/335611 Log: - Bump PORTREVISION - Change master sites - Remove dependency for x11/xterm - Switch to USE_GCC=yes - Add DOCS Option - Add files/traingame.desktop Approved by: pawel / wg (mentors, implicit) Added: head/games/traingame/files/traingame.desktop (contents, props changed) Modified: head/games/traingame/Makefile head/games/traingame/pkg-plist (contents, props changed) Modified: head/games/traingame/Makefile ============================================================================== --- head/games/traingame/Makefile Wed Dec 4 10:19:11 2013 (r335610) +++ head/games/traingame/Makefile Wed Dec 4 10:19:48 2013 (r335611) @@ -3,10 +3,10 @@ PORTNAME= traingame PORTVERSION= 0.2.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= http://www.nickg.me.uk/files/:game \ - SF/nemysisfreebsdp/:icons + SF/nemysisfreebsdp/${CATEGORIES}/:icons DISTFILES= TrainGame-${DISTVERSION}${EXTRACT_SUFX}:game \ ${PORTNAME}_icons.tar.gz:icons DIST_SUBDIR= ${PORTNAME} @@ -19,14 +19,13 @@ LICENSE= GPLv3 LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \ libxerces-c.so:${PORTSDIR}/textproc/xerces-c3 \ libboost_filesystem.so:${PORTSDIR}/devel/boost-libs -RUN_DEPENDS= xterm:${PORTSDIR}/x11/xterm WRKSRC= ${WRKDIR}/TrainGame-${PORTVERSION} USES= cmake pkgconfig USE_SDL= sdl image USE_GL= glew -USE_GCC= 4.6+ +USE_GCC= yes PORTDOCS= model_notes.txt models.gnuplot @@ -37,8 +36,7 @@ SUB_FILES= ${PORTNAME} \ ${PORTNAME}-map \ pkg-message -DESKTOP_ENTRIES="Train Game" "${COMMENT}" ${PORTNAME} \ - "xterm -e ${PORTNAME}-map" "Game;ArcadeGame;" false +OPTIONS_DEFINE= DOCS post-patch: @${REINPLACE_CMD} -e 's|shared_ptr|std::shared_ptr|' \ @@ -52,6 +50,7 @@ do-install: @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor ${INSTALL_PROGRAM} ${WRKSRC}/bin/TrainGame ${STAGEDIR}${DATADIR}/${PORTNAME} + ${INSTALL_DATA} ${FILESDIR}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR} .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/ Added: head/games/traingame/files/traingame.desktop ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/traingame/files/traingame.desktop Wed Dec 4 10:19:48 2013 (r335611) @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Version=1.0 +Name=Train Game +GenericName=Train Game +Comment=Game about Trains +Icon=traingame +Exec=traingame-map +Categories=Game;ArcadeGame; +Terminal=true Modified: head/games/traingame/pkg-plist ============================================================================== --- head/games/traingame/pkg-plist Wed Dec 4 10:19:11 2013 (r335610) +++ head/games/traingame/pkg-plist Wed Dec 4 10:19:48 2013 (r335611) @@ -1,5 +1,6 @@ bin/traingame bin/traingame-map +share/applications/traingame.desktop share/icons/hicolor/32x32/apps/traingame.png share/icons/hicolor/48x48/apps/traingame.png share/icons/hicolor/64x64/apps/traingame.png
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312041019.rB4AJnii064418>