aboutsummaryrefslogtreecommitdiff
path: root/games/openmsx/Makefile
blob: ab61844fe0262b71d59ba1c023e777d912577563 (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
28
29
PORTNAME=	openmsx
PORTVERSION=	0.4.2
CATEGORIES=	games
MASTER_SITES=   https://cdn.openttd.org/${PORTNAME}-releases/${PORTVERSION}/
DISTNAME=	${PORTNAME}-${PORTVERSION}-all
PKGNAMEPREFIX=	openttd-

MAINTAINER=	rum1cro@yandex.ru
COMMENT=	Free alternative music for OpenTTD game engine
WWW=		https://github.com/OpenTTD/OpenMSX

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/license.txt

USES=		zip
NO_BUILD=	yes
NO_ARCH=	yes

WRKSRC=		${WRKDIR}/openmsx-${PORTVERSION}

post-extract:
	@cd ${WRKDIR} && tar -xf ${PORTNAME}-${PORTVERSION}.tar

do-install:
	@${MKDIR} ${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME}
	${INSTALL_DATA} ${WRKSRC}/*.mid \
		${STAGEDIR}${PREFIX}/share/openttd/baseset/${PORTNAME}

.include <bsd.port.mk>