2015-03-03 05:29:34 +00:00
|
|
|
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= tanks-of-freedom
|
2018-06-07 19:34:49 +00:00
|
|
|
PORTVERSION= 0.7.0
|
2015-06-02 01:39:20 +00:00
|
|
|
DISTVERSIONSUFFIX=-beta
|
2015-03-03 05:29:34 +00:00
|
|
|
CATEGORIES= games
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
|
|
COMMENT= Indie Turn Based Strategy in Isometric Pixel Art
|
|
|
|
|
|
|
|
LICENSE= MIT
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE.md
|
|
|
|
|
2018-03-16 17:27:57 +00:00
|
|
|
RUN_DEPENDS= godot2:devel/godot2
|
2015-03-03 05:29:34 +00:00
|
|
|
|
|
|
|
USE_GITHUB= yes
|
|
|
|
GH_ACCOUNT= w84death
|
|
|
|
GH_PROJECT= Tanks-of-Freedom
|
|
|
|
|
2016-09-06 08:57:09 +00:00
|
|
|
NO_ARCH= yes
|
|
|
|
|
2018-03-16 17:27:57 +00:00
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
PORTDOCS= *
|
|
|
|
PORTDATA= *
|
|
|
|
|
2015-03-03 05:29:34 +00:00
|
|
|
DESKTOP_ENTRIES="Tanks of Freedom" \
|
|
|
|
"" \
|
2016-09-08 22:11:05 +00:00
|
|
|
"${DATADIR}/assets/icons/icon32.png" \
|
2015-03-03 05:29:34 +00:00
|
|
|
"${PORTNAME}" \
|
|
|
|
"Game;StrategyGame;" \
|
|
|
|
""
|
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
do-build:
|
2016-09-06 08:57:09 +00:00
|
|
|
@${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/${PORTNAME}
|
2018-03-16 17:27:57 +00:00
|
|
|
@${ECHO_CMD} "exec \"${LOCALBASE}/bin/godot2\" -path \"${DATADIR}\"" >> ${WRKDIR}/${PORTNAME}
|
2015-03-03 05:29:34 +00:00
|
|
|
|
|
|
|
do-install:
|
2016-09-06 08:57:09 +00:00
|
|
|
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
2015-03-03 05:29:34 +00:00
|
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/
|
2016-09-06 08:57:09 +00:00
|
|
|
|
|
|
|
do-install-DOCS-on:
|
2015-03-03 05:29:34 +00:00
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|