mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Update to 0.3
- Add USES dos2unix - Remove obsolete patches, changed by upstream and fix usage
This commit is contained in:
parent
2f2db0bc52
commit
02285b530b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351596
@ -2,13 +2,11 @@
|
|||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
|
|
||||||
PORTNAME= traingame
|
PORTNAME= traingame
|
||||||
PORTVERSION= 0.2.2
|
PORTVERSION= 0.3
|
||||||
PORTREVISION= 5
|
|
||||||
CATEGORIES= games
|
CATEGORIES= games
|
||||||
MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/:icons
|
MASTER_SITES= SF/nemysisfreebsdp/${CATEGORIES}/:icons
|
||||||
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
|
||||||
${PORTNAME}_icons${EXTRACT_SUFX}:icons
|
${PORTNAME}_icons${EXTRACT_SUFX}:icons
|
||||||
DIST_SUBDIR= ${PORTNAME}
|
|
||||||
|
|
||||||
MAINTAINER= nemysis@FreeBSD.org
|
MAINTAINER= nemysis@FreeBSD.org
|
||||||
COMMENT= Game about Trains
|
COMMENT= Game about Trains
|
||||||
@ -19,13 +17,14 @@ USE_GITHUB= yes
|
|||||||
GH_ACCOUNT= nickg
|
GH_ACCOUNT= nickg
|
||||||
GH_PROJECT= traingame
|
GH_PROJECT= traingame
|
||||||
GH_TAGNAME= ${GH_COMMIT}
|
GH_TAGNAME= ${GH_COMMIT}
|
||||||
GH_COMMIT= 83abcc9
|
GH_COMMIT= eacfbc3
|
||||||
|
|
||||||
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
|
LIB_DEPENDS= libfreetype.so:${PORTSDIR}/print/freetype2 \
|
||||||
libxerces-c.so:${PORTSDIR}/textproc/xerces-c3 \
|
libxerces-c.so:${PORTSDIR}/textproc/xerces-c3 \
|
||||||
libboost_filesystem.so:${PORTSDIR}/devel/boost-libs
|
libboost_filesystem.so:${PORTSDIR}/devel/boost-libs
|
||||||
|
|
||||||
USES= cmake compiler:c++11-lib pkgconfig
|
USES= cmake compiler:c++11-lib dos2unix pkgconfig
|
||||||
|
DOS2UNIX_GLOB= *.mtl *.obj
|
||||||
USE_CXXSTD= c++11
|
USE_CXXSTD= c++11
|
||||||
USE_SDL= sdl image
|
USE_SDL= sdl image
|
||||||
USE_GL= glew
|
USE_GL= glew
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
SHA256 (traingame/traingame-0.2.2.tar.gz) = 32bba6c133250649e6a6372a0a77cd9144fde7557e2e141c930bf1ae2bf4c695
|
SHA256 (traingame-0.3.tar.gz) = 321d6b524835dd5527df696b8aba07c5cdf48bac87995420d886af9dee2e32d4
|
||||||
SIZE (traingame/traingame-0.2.2.tar.gz) = 1057378
|
SIZE (traingame-0.3.tar.gz) = 1057438
|
||||||
SHA256 (traingame/traingame_icons.tar.gz) = f35937ac4893a4d803888fc2d8d3890a769bda77548a1dc45c09b95738f3dbb7
|
SHA256 (traingame_icons.tar.gz) = f35937ac4893a4d803888fc2d8d3890a769bda77548a1dc45c09b95738f3dbb7
|
||||||
SIZE (traingame/traingame_icons.tar.gz) = 25088
|
SIZE (traingame_icons.tar.gz) = 25088
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
--- ./src/CrossoverTrack.cpp.orig 2013-12-21 13:18:27.000000000 +0100
|
|
||||||
+++ ./src/CrossoverTrack.cpp 2014-03-15 19:51:31.988732983 +0100
|
|
||||||
@@ -215,5 +215,5 @@
|
|
||||||
|
|
||||||
ITrackSegmentPtr make_crossover_track()
|
|
||||||
{
|
|
||||||
- return ITrackSegmentPtr(new CrossoverTrack);
|
|
||||||
+ return ITrackSegmentPtr(static_cast<ITrackSegment *>(new CrossoverTrack));
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
--- ./src/SDLWindow.cpp.orig 2013-12-21 13:18:27.000000000 +0100
|
|
||||||
+++ ./src/SDLWindow.cpp 2014-03-15 19:52:52.290284158 +0100
|
|
||||||
@@ -406,5 +406,5 @@
|
|
||||||
// Construct and initialise an OpenGL SDL window
|
|
||||||
IWindowPtr make_sdl_window()
|
|
||||||
{
|
|
||||||
- return shared_ptr<IWindow>(new SDLWindow);
|
|
||||||
+ return shared_ptr<IWindow>(static_cast<IWindow *>(new SDLWindow));
|
|
||||||
}
|
|
@ -1,9 +0,0 @@
|
|||||||
--- ./src/StraightTrack.cpp.orig 2013-12-21 13:18:27.000000000 +0100
|
|
||||||
+++ ./src/StraightTrack.cpp 2014-03-15 19:53:57.938221605 +0100
|
|
||||||
@@ -259,5 +259,5 @@
|
|
||||||
throw runtime_error("Illegal straight track direction: "
|
|
||||||
+ lexical_cast<string>(a_direction));
|
|
||||||
|
|
||||||
- return ITrackSegmentPtr(new StraightTrack(real_dir));
|
|
||||||
+ return ITrackSegmentPtr(static_cast<ITrackSegment *>(new StraightTrack(real_dir)));
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user