diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2011-09-26 00:49:38 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2011-09-26 00:49:38 +0000 |
commit | b671cf2388753d3873dfa21c8d9b1507c1bc17af (patch) | |
tree | 618e6f945b5aed0755ce6d287a614153a21bce7b /games/motogt | |
parent | c5f1322b06eeca4f63fa1c02cc302e52a419088d (diff) |
MotoGT is 2D top-viewed game where you drive a MotoGP bike, and you
want to win races. In career mode you start with a regular bike,
but when you win races you get experience, and experience let's you
improve your bike. If you win championships, you can also unlock
hidden features.
WWW: http://motogt.sourceforge.net/
Notes
Notes:
svn path=/head/; revision=282393
Diffstat (limited to 'games/motogt')
-rw-r--r-- | games/motogt/Makefile | 47 | ||||
-rw-r--r-- | games/motogt/distinfo | 2 | ||||
-rw-r--r-- | games/motogt/files/motogt.in | 4 | ||||
-rw-r--r-- | games/motogt/files/patch-src-Makefile.lnx | 13 | ||||
-rw-r--r-- | games/motogt/pkg-descr | 7 |
5 files changed, 73 insertions, 0 deletions
diff --git a/games/motogt/Makefile b/games/motogt/Makefile new file mode 100644 index 000000000000..42dc1f841fa8 --- /dev/null +++ b/games/motogt/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: motogt +# Date created: 23 Sep 2010 +# Whom: Dmitry Marakasov <amdmi3@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= motogt +PORTVERSION= 20110505 +CATEGORIES= games +MASTER_SITES= SF/motogt/ +DISTNAME= MotoGT-${PORTVERSION} + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= 2D top-viewed motorcycle racing game + +LIB_DEPENDS= sfml-system.1:${PORTSDIR}/devel/sfml \ + png.6:${PORTSDIR}/graphics/png + +LICENSE= GPLv2 CCbySA +LICENSE_COMB= multi +LICENSE_FILE_GPLv2= ${WRKSRC}/doc/gpl.txt +LICENSE_NAME_CCbySA= Creative Commons Attribution-ShareAlike +LICENSE_PERMS_CCbySA= ${_LICENSE_PERMS_DEFAULT} +LICENSE_FILE_CCbySA= ${WRKSRC}/doc/cc-by-sa.txt + +USE_ZIP= yes +BUILD_WRKSRC= ${WRKSRC}/src +MAKEFILE= Makefile.lnx +MAKE_JOBS_SAFE= yes +MAKE_ENV+= PTHREAD_LIBS="${PTHREAD_LIBS}" +SUB_FILES= motogt + +PLIST_FILES= bin/${PORTNAME} libexec/MotoGT.bin +PORTDATA= * + +WRKSRC= ${WRKDIR}/MotoGT + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/MotoGT.bin ${PREFIX}/libexec/ + ${INSTALL_SCRIPT} ${WRKDIR}/motogt ${PREFIX}/bin/ +.if !defined(NOPORTDATA) + ${MKDIR} ${DATADIR} + cd ${WRKSRC} && ${COPYTREE_SHARE} data ${DATADIR}/ +.endif + +.include <bsd.port.mk> diff --git a/games/motogt/distinfo b/games/motogt/distinfo new file mode 100644 index 000000000000..645efcc4ceb3 --- /dev/null +++ b/games/motogt/distinfo @@ -0,0 +1,2 @@ +SHA256 (MotoGT-20110505.zip) = a5d780c048a92e0f68b4cc83ccb9c45ee504772e651d4037468925525c2988a2 +SIZE (MotoGT-20110505.zip) = 87736858 diff --git a/games/motogt/files/motogt.in b/games/motogt/files/motogt.in new file mode 100644 index 000000000000..c3bf7972a061 --- /dev/null +++ b/games/motogt/files/motogt.in @@ -0,0 +1,4 @@ +#!/bin/sh + +cd %%DATADIR%% || exit 1 +exec %%PREFIX%%/libexec/MotoGT.bin "$@" diff --git a/games/motogt/files/patch-src-Makefile.lnx b/games/motogt/files/patch-src-Makefile.lnx new file mode 100644 index 000000000000..3942ae0f5689 --- /dev/null +++ b/games/motogt/files/patch-src-Makefile.lnx @@ -0,0 +1,13 @@ +--- src/Makefile.lnx.orig 2011-01-10 20:54:57.000000000 +0300 ++++ src/Makefile.lnx 2011-09-26 01:57:51.000000000 +0400 +@@ -1,7 +1,6 @@ +-GPP=g++ +-GCC=gcc +-FLAGS= -O2 -ffast-math +-LIBS= -s -lpng -lsfml-window -lsfml-graphics -lsfml-system -lsfml-audio ++GPP=${CXX} ++FLAGS=${CXXFLAGS} -I${LOCALBASE}/include ++LIBS= -L${LOCALBASE}/lib -lpng -lsfml-window -lsfml-graphics -lsfml-system -lsfml-audio ${PTHREAD_LIBS} + TEMP_DIR=../tmp-lnx + + all: ${TEMP_DIR} ../MotoGT.bin diff --git a/games/motogt/pkg-descr b/games/motogt/pkg-descr new file mode 100644 index 000000000000..508276bedb2f --- /dev/null +++ b/games/motogt/pkg-descr @@ -0,0 +1,7 @@ +MotoGT is 2D top-viewed game where you drive a MotoGP bike, and you +want to win races. In career mode you start with a regular bike, +but when you win races you get experience, and experience let's you +improve your bike. If you win championships, you can also unlock +hidden features. + +WWW: http://motogt.sourceforge.net/ |