1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/games/minetest_game/Makefile
Dmitry Marakasov 6338d40c76 - Update to 0.4.9
- Properly handle docs installation
2014-01-13 14:19:52 +00:00

33 lines
689 B
Makefile

# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= minetest_game
PORTVERSION= 0.4.9
CATEGORIES= games
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= The main game for the Minetest game engine
LICENSE= LGPL21
RUN_DEPENDS= minetest:${PORTSDIR}/games/minetest
USE_GITHUB= yes
GH_ACCOUNT= minetest
GH_COMMIT= 1a9362a
NO_BUILD= yes
DATADIR= ${PREFIX}/share/minetest/games/${PORTNAME}
PORTDATA= *
PORTDOCS= *
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${DATADIR}
cd ${WRKSRC} && ${COPYTREE_SHARE} "game.conf menu mods" ${STAGEDIR}${DATADIR}/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>