aboutsummaryrefslogtreecommitdiff
path: root/games/opengfx/Makefile
blob: 8d95b2244ab79f9f1e6f53a78b9671994ae4dd1e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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}${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/* ${STAGEDIR}${DATADIR}


.include <bsd.port.mk>