1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/games/motogt/Makefile
Rodrigo Osorio 06df180a9e */*: Update WWW to use HTTPS for sourceforge.net projects
Homepage link is permanent redirected to its HTTPS counterpart
Issue reported by repology : https://repology.org/repository/freebsd/problems

Approved by:	portmgr (blanket)
PR:		274888
2023-11-06 11:03:47 +01:00

45 lines
1.1 KiB
Makefile

PORTNAME= motogt
PORTVERSION= 20110505
PORTREVISION= 9
CATEGORIES= games
MASTER_SITES= SF/motogt/MotoGT1/
DISTNAME= MotoGT-${PORTVERSION}
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= 2D top-viewed motorcycle racing game
WWW= https://motogt.sourceforge.net/
LICENSE= GPLv2 CC-BY-SA-3.0
LICENSE_COMB= multi
LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/doc/cc-by-sa.txt
LICENSE_FILE_GPLv2= ${WRKSRC}/doc/gpl.txt
LIB_DEPENDS= libsfml1-system.so:devel/sfml1 \
libpng.so:graphics/png
USES= gl localbase:ldflags zip
USE_CXXSTD= c++14
USE_GL= gl
MAKEFILE= Makefile.lnx
MAKE_JOBS_UNSAFE= yes
SUB_FILES= motogt
BUILD_WRKSRC= ${WRKSRC}/src
WRKSRC= ${WRKDIR}/MotoGT
PLIST_FILES= bin/${PORTNAME} libexec/MotoGT.bin
PORTDATA= *
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
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/MotoGT.bin ${STAGEDIR}${PREFIX}/libexec/
${INSTALL_SCRIPT} ${WRKDIR}/motogt ${STAGEDIR}${PREFIX}/bin/
cd ${WRKSRC} && ${COPYTREE_SHARE} data ${STAGEDIR}${DATADIR}/
.include <bsd.port.mk>