pkgsrc/games/openttd-data/Makefile
adam 89faf0c634 OpenGFX, OpenMSX, and OpenSFX are an open source replacement for the original
Transport Tycoon Deluxe (TTD) graphics, music and base sounds used by OpenTTD.
The main goal therefore is to provide a set of free files which make it
possible to play OpenTTD without requiring the (copyright protected) files from
the TTD CD. This potentially increases the OpenTTD fanbase and makes it a true
free game (with "free" as in both "free beer" and "open source").
2010-12-08 17:49:40 +00:00

40 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.1.1.1 2010/12/08 17:49:40 adam Exp $
DISTNAME= openttd-data-0.3.1
CATEGORIES= games x11
MASTER_SITES= http://binaries.openttd.org/extra/
DISTFILES= opengfx-${PKGVERSION_NOREV}-all.zip
DISTFILES+= openmsx-${PKGVERSION_NOREV}-all.zip
DISTFILES+= opensfx-0.2.3-all.zip
SITES.opengfx-0.3.1-all.zip= ${MASTER_SITES:Q}/opengfx/${PKGVERSION_NOREV}/
SITES.openmsx-0.3.1-all.zip= ${MASTER_SITES:Q}/openmsx/${PKGVERSION_NOREV}/
SITES.opensfx-0.2.3-all.zip= ${MASTER_SITES:Q}/opensfx/0.2.3/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.openttd.org/
COMMENT= Free data files for OpenTTD
LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
NO_BUILD= yes
NO_CONFIGURE= yes
INSTALLATION_DIRS= share/openttd/data
INSTALLATION_DIRS+= share/openttd/gm
do-install:
${INSTALL_DATA} ${WRKDIR}/opengfx-${PKGVERSION_NOREV}/*.grf \
${DESTDIR}${PREFIX}/share/openttd/data
${INSTALL_DATA} ${WRKDIR}/opengfx-${PKGVERSION_NOREV}/*.obg \
${DESTDIR}${PREFIX}/share/openttd/data
${INSTALL_DATA} ${WRKDIR}/openmsx-${PKGVERSION_NOREV}/*.mid \
${DESTDIR}${PREFIX}/share/openttd/gm
${INSTALL_DATA} ${WRKDIR}/openmsx-${PKGVERSION_NOREV}/*.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"