diff options
author | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-12-04 10:19:48 +0000 |
---|---|---|
committer | Rusmir Dusko <nemysis@FreeBSD.org> | 2013-12-04 10:19:48 +0000 |
commit | ea673b1fe43a6f2f21e3dde174821b7a9c1181b3 (patch) | |
tree | 67ab34d49dcda94ec39d4cc518c7896c3875e771 /games | |
parent | devel/py-mimeparse: update to 0.1.4 (diff) |
- 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)
Notes
Notes:
svn path=/head/; revision=335611
Diffstat (limited to 'games')
-rw-r--r-- | games/traingame/Makefile | 11 | ||||
-rw-r--r-- | games/traingame/files/traingame.desktop | 10 | ||||
-rw-r--r-- | games/traingame/pkg-plist | 1 |
3 files changed, 16 insertions, 6 deletions
diff --git a/games/traingame/Makefile b/games/traingame/Makefile index 310a5016d58f..702fcb348e40 100644 --- a/games/traingame/Makefile +++ b/games/traingame/Makefile @@ -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/ diff --git a/games/traingame/files/traingame.desktop b/games/traingame/files/traingame.desktop new file mode 100644 index 000000000000..a191749ce677 --- /dev/null +++ b/games/traingame/files/traingame.desktop @@ -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 diff --git a/games/traingame/pkg-plist b/games/traingame/pkg-plist index d0644b14c3ac..83edf3153d8f 100644 --- a/games/traingame/pkg-plist +++ b/games/traingame/pkg-plist @@ -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 |