1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/marblemarcher/Makefile
2023-04-23 09:09:58 +00:00

34 lines
824 B
Makefile

PORTNAME= marblemarcher
DISTVERSION= 1.4.5
PORTREVISION= 2
CATEGORIES= games
MAINTAINER= yuri@FreeBSD.org
COMMENT= Marble Marcher: Community Edition
WWW= https://github.com/WAUthethird/Marble-Marcher-Community-Edition
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= glm>0:math/glm
LIB_DEPENDS= libAntTweakBar.so:graphics/anttweakbar \
libsfml-system.so:devel/sfml
USES= cmake compiler:c++17-lang eigen:3 gl localbase:ldflags
USE_GL= gl glew glu
USE_GITHUB= yes
GH_ACCOUNT= WAUthethird
GH_PROJECT= Marble-Marcher-Community-Edition
CMAKE_ARGS= -DFREEBSD_DATADIR=${DATADIR}
post-install:
@(echo "#!/bin/sh"; \
echo ""; \
echo "cd ${DATADIR} && ./MarbleMarcher \"$$"@"\"" \
) > ${STAGEDIR}${PREFIX}/bin/MarbleMarcher
@${CHMOD} +x ${STAGEDIR}${PREFIX}/bin/MarbleMarcher
.include <bsd.port.mk>