2013-07-12 15:01:45 +00:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
2011-09-26 00:49:38 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= motogt
|
|
|
|
PORTVERSION= 20110505
|
2017-05-23 05:03:14 +00:00
|
|
|
PORTREVISION= 7
|
2011-09-26 00:49:38 +00:00
|
|
|
CATEGORIES= games
|
2015-12-14 01:21:52 +00:00
|
|
|
MASTER_SITES= SF/motogt/MotoGT1/
|
2011-09-26 00:49:38 +00:00
|
|
|
DISTNAME= MotoGT-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= 2D top-viewed motorcycle racing game
|
|
|
|
|
2016-04-01 14:00:51 +00:00
|
|
|
LIB_DEPENDS= libsfml1-system.so:devel/sfml1 \
|
|
|
|
libpng.so:graphics/png
|
2011-09-26 00:49:38 +00:00
|
|
|
|
2016-09-13 16:11:28 +00:00
|
|
|
LICENSE= GPLv2 CC-BY-SA-3.0
|
2011-09-26 00:49:38 +00:00
|
|
|
LICENSE_COMB= multi
|
2016-09-13 16:11:28 +00:00
|
|
|
LICENSE_FILE_GPLv20= ${WRKSRC}/doc/gpl.txt
|
|
|
|
LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/doc/cc-by-sa.txt
|
2011-09-26 00:49:38 +00:00
|
|
|
|
2016-09-30 19:24:30 +00:00
|
|
|
USES= localbase:ldflags zip
|
2014-08-26 14:06:08 +00:00
|
|
|
USE_GL= gl
|
2011-09-26 00:49:38 +00:00
|
|
|
BUILD_WRKSRC= ${WRKSRC}/src
|
|
|
|
MAKEFILE= Makefile.lnx
|
2011-10-02 19:58:13 +00:00
|
|
|
MAKE_JOBS_UNSAFE= yes
|
2011-09-26 00:49:38 +00:00
|
|
|
SUB_FILES= motogt
|
|
|
|
|
|
|
|
PLIST_FILES= bin/${PORTNAME} libexec/MotoGT.bin
|
|
|
|
PORTDATA= *
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/MotoGT
|
|
|
|
|
2014-08-18 13:38:18 +00:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e '/#include/ s|SFML|&1|' ${WRKSRC}/data/src/editor.cpp ${WRKSRC}/src/*.h
|
|
|
|
@${REINPLACE_CMD} -e 's|-lsfml|&1|g' ${WRKSRC}/src/Makefile.lnx
|
|
|
|
|
2011-09-26 00:49:38 +00:00
|
|
|
do-install:
|
2014-02-02 18:07:42 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/MotoGT.bin ${STAGEDIR}${PREFIX}/libexec/
|
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/motogt ${STAGEDIR}${PREFIX}/bin/
|
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/
|
2011-09-26 00:49:38 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|