mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
49 lines
1.0 KiB
Makefile
49 lines
1.0 KiB
Makefile
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= tanks-of-freedom
|
|
PORTVERSION= 0.7.0
|
|
DISTVERSIONSUFFIX=-beta
|
|
CATEGORIES= games
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Indie Turn Based Strategy in Isometric Pixel Art
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
RUN_DEPENDS= godot2:devel/godot2
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= w84death
|
|
GH_PROJECT= Tanks-of-Freedom
|
|
|
|
NO_ARCH= yes
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
PORTDOCS= *
|
|
PORTDATA= *
|
|
|
|
DESKTOP_ENTRIES="Tanks of Freedom" \
|
|
"" \
|
|
"${DATADIR}/assets/icons/icon32.png" \
|
|
"${PORTNAME}" \
|
|
"Game;StrategyGame;" \
|
|
""
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
do-build:
|
|
@${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/${PORTNAME}
|
|
@${ECHO_CMD} "exec \"${LOCALBASE}/bin/godot2\" -path \"${DATADIR}\"" >> ${WRKDIR}/${PORTNAME}
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|