pkgsrc/games/openttd-data/Makefile
nia a49e6e33db openttd-data: Update to 0.6.0
OpenGFX 0.6.0 (29 Mar 2020)
---------------------------
- Add: NRT GUI sprites (#34)
- Change: Improved road tunnel construction GUI icons
- Change: hg -> git conversion
- Fix: realsprites animated flag for various features to suppress spurious warnings (#31)
- Fix: Sprite sizes and offsets were partially wrong (Brumi)
- Update translations: Dutch
2020-04-05 14:43:05 +00:00

45 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2020/04/05 14:43:05 nia Exp $
GFXVER= 0.6.0
PKGNAME= openttd-data-${GFXVER}
CATEGORIES= games x11
MASTER_SITES= http://master.binaries.openttd.org/binaries/extra/openmsx/
DISTFILES= opengfx-${GFXVER}-all.zip
DISTFILES+= openmsx-0.3.1-all.zip
DISTFILES+= opensfx-0.2.3-all.zip
SITES.opengfx-${GFXVER}-all.zip= https://cdn.openttd.org/opengfx-releases/${GFXVER}/
SITES.openmsx-0.3.1-all.zip= ${MASTER_SITES:Q}/openmsx/0.3.1/
SITES.opensfx-0.2.3-all.zip= ${MASTER_SITES:Q}/opensfx/0.2.3/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://www.openttd.org/
COMMENT= Free data files for OpenTTD
LICENSE= gnu-gpl-v2
NO_BUILD= yes
NO_CONFIGURE= yes
INSTALLATION_DIRS= share/openttd/data
INSTALLATION_DIRS+= share/openttd/gm
USE_TOOLS+= tar
post-extract:
cd ${WRKDIR} && tar xvf opengfx-${GFXVER}.tar
do-install:
${INSTALL_DATA} ${WRKDIR}/opengfx-${GFXVER}/*.grf \
${DESTDIR}${PREFIX}/share/openttd/data
${INSTALL_DATA} ${WRKDIR}/opengfx-${GFXVER}/*.obg \
${DESTDIR}${PREFIX}/share/openttd/data
${INSTALL_DATA} ${WRKDIR}/openmsx-0.3.1/*.mid \
${DESTDIR}${PREFIX}/share/openttd/gm
${INSTALL_DATA} ${WRKDIR}/openmsx-0.3.1/*.obm \
${DESTDIR}${PREFIX}/share/openttd/gm
${INSTALL_DATA} ${WRKDIR}/opensfx-0.2.3/*.cat \
${DESTDIR}${PREFIX}/share/openttd/data
${INSTALL_DATA} ${WRKDIR}/opensfx-0.2.3/*.obs \
${DESTDIR}${PREFIX}/share/openttd/data
.include "../../mk/bsd.pkg.mk"