diff --git a/games/opengfx/Makefile b/games/opengfx/Makefile index 5807ddc33fc4..b0cf6a4d9735 100644 --- a/games/opengfx/Makefile +++ b/games/opengfx/Makefile @@ -1,29 +1,29 @@ # Created by: Ilya A. Arkhipov PORTNAME= opengfx PORTVERSION= 7.1 CATEGORIES= games MASTER_SITES= https://cdn.openttd.org/${PORTNAME}-releases/${PORTVERSION}/ PKGNAMEPREFIX= openttd- DISTFILES= ${PORTNAME}-${PORTVERSION}-all.zip MAINTAINER= rum1cro@yandex.ru COMMENT= Free alternative graphics for OpenTTD game engine LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/license.txt NO_ARCH= yes NO_BUILD= yes +DATADIR= ${PREFIX}/share/openttd/baseset/${PORTNAME} + post-extract: @cd ${WRKDIR} && tar -xf ${PORTNAME}-${PORTVERSION}.tar do-install: - @${MKDIR} \ - ${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME} - ${INSTALL_DATA} \ - ${WRKSRC}/* \ - ${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME} + @${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${DATADIR} + .include