aboutsummaryrefslogtreecommitdiffstats
path: root/games/opengfx/Makefile
blob: 0babdc57b9318c30aabb6387c8a373e57e642604 (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
30
# Created by: Ilya A. Arkhipov <rum1cro@yandex.ru>
# $FreeBSD$

PORTNAME=   opengfx
PORTVERSION=    0.5.0
CATEGORIES= games
MASTER_SITES=   http://hu.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \
        http://us.binaries.openttd.org/binaries/extra/${PORTNAME}/${PORTVERSION}/ \
        http://cz.binaries.openttd.org/openttd/binaries/extra/${PORTNAME}/${PORTVERSION}/
DISTNAME=   ${PORTNAME}-${PORTVERSION}-all

MAINTAINER= rum1cro@yandex.ru
COMMENT=    Free alternative graphics for OpenTTD game engine

LICENSE=    GPLv2

USES=       zip
NO_BUILD=   yes
LATEST_LINK=    openttd-${PORTNAME}

# upstream zipped a tar file, unpack it.
post-extract:
    @cd ${WRKDIR} && tar -xf ${PORTNAME}-${PORTVERSION}.tar

do-install:
    @${MKDIR} ${STAGEDIR}${PREFIX}/share/openttd/baseset/opengfx
    ${INSTALL_DATA} ${WRKDIR}/opengfx-${PORTVERSION}/* \
        ${STAGEDIR}${PREFIX}/share/openttd/baseset/opengfx

.include <bsd.port.mk>