From owner-svn-ports-head@FreeBSD.ORG Wed Dec 4 10:19:50 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DD7EB83C; Wed, 4 Dec 2013 10:19:49 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id BE8851457; Wed, 4 Dec 2013 10:19:49 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rB4AJnvx064421; Wed, 4 Dec 2013 10:19:49 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.7/8.14.7/Submit) id rB4AJnii064418; Wed, 4 Dec 2013 10:19:49 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201312041019.rB4AJnii064418@svn.freebsd.org> From: Rusmir Dusko Date: Wed, 4 Dec 2013 10:19:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335611 - in head/games/traingame: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Dec 2013 10:19:50 -0000 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