pkgsrc/games/openttd-data/Makefile

46 lines
1.4 KiB
Makefile
Raw Normal View History

2019-07-10 12:32:56 +02:00
# $NetBSD: Makefile,v 1.9 2019/07/10 10:32:56 nia Exp $
GFXVER= 0.5.5
PKGNAME= openttd-data-${GFXVER}
CATEGORIES= games x11
MASTER_SITES= https://binaries.openttd.org/extra
DISTFILES= opengfx-${GFXVER}-all.zip
DISTFILES+= openmsx-0.3.1-all.zip
DISTFILES+= opensfx-0.2.3-all.zip
SITES.opengfx-${GFXVER}-all.zip= ${MASTER_SITES:Q}/opengfx/${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
2019-07-10 12:32:56 +02:00
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
Update to openttd-data-0.5.2, provided by Leonardo Taccari in PR 50014. Changes: OpenGFX 0.5.2 (12 Apr 2015) --------------------------- - Add: [Makefile] target 'bananas' (closes #6877, #6848) - Fix: [Makefile] Add dependency generation for pnml->nml - Fix: [Makefile] dependencies, esp. wrt. HG revision numbers getting compiled into files - Fix: Alignment of GUI icons that have different sizes in 1x and 2x zoom - Fix: 2x GUI sprite for purchase land was attached to the viewport sprite instead of to the GUI sprite (commit:ba02a90fab52) (issue FS#6267) - Fix: Do not crop the default-window-size icon (issue FS#6258) OpenGFX 0.5.2-RC1 (16 Feb 2015) ------------------------------- - Add: 2x GUI zoom sprites - Add: the all black ground sprites introduced in OpenTTD r26869 - Add: Translations for Africans, Italian, Latin and Lithuanian - Update: Translation for English (US) - Change: [Makefile] Make sure that mercurial output is not changed by user presets - Codechange: [Makefile] Simplify a few pointless programme definitions - Fix: [Makefile] No need to query the whereabouts of required programmes when we make no use of that anyway (issue #5759) OpenGFX 0.5.1 (10 May 2014) --------------------------- - Change/Fix (425e3a719210): [Makefile] Re-introduce target 'clean-gfx' and have 'clean' remove the gimp script files (blathijs) - Change: [Makefile] No point to bundle .hgtags .hgignore and .devzone files with source bundles - Change: [Makefile] Use a temporary filename for custom_tags.txt and only update it, if the results would differ from the existing one - Change: [Makefile] Cache custom_tags.txt and don't always re-build it - Add: [Makefile] musa.ini for upload to bananas - Fix (425e3a719210): [Makefile] Install into the baseset dir, not the NewGRF dir - Fix (425e3a719210): create md5sum file for distribution and local check with the same rule (blathijs) - Fix (425e3a719210): Reinstate the possibility to (not) install documentation and to choose a separate install dir for them - Fix: [Makefile] Use the same variable name for changelog, readme and license files (blathijs) - Fix 510292759967: [Makefile] Don't fail to build from fresh clones - Fix afdd36f69c4c: [Makefile] Don't remove used scripts - Fix: [Makefile] More woes with custom_tags.txt and installation (blathijs) - Cleanup: Remove unused files from script dir - Cleanup: Remove more unused files
2015-07-03 14:36:10 +02:00
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"