~cypheon/pkgsrc-wip

pkgsrc-wip/openttd-opengfx/Makefile -rw-r--r-- 923 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
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
31
32
33
34
35
36
37
# $NetBSD: Makefile,v 1.3 2012/10/03 21:32:47 asau Exp $
#


VERSION=	0.3.1
DISTNAME=	opengfx-${VERSION}-all
PKGNAME=	openttd-${DISTNAME:S/-all$//}
CATEGORIES=	games
MASTER_SITES=	http://binaries.openttd.org/extra/opengfx/${VERSION}/
EXTRACT_SUFX=	.zip

MAINTAINER=	elentirmo.gilgalad@gmail.com
HOMEPAGE=	http://openttd.org/
COMMENT=	Free and open source graphics data files for the game OpenTTD
LICENSE=	gnu-gpl-v2

INSTALLATION_DIRS=	share/openttd/data

WRKSRC=		${WRKDIR}/opengfx-${VERSION}
USE_LANGUAGES=	# none

NO_BUILD=	YES
NO_CONFIGURE=	YES

OPENTTD_DATADIR=	${DESTDIR}${PREFIX}/share/openttd/data

do-install:
#	The single tar version has been dropped	for some reason
#	${INSTALL_DATA} ${WRKSRC}/${DISTNAME:S/-all$//}.tar \
#	   	${DESTDIR}${PREFIX}/share/openttd/data
	${INSTALL_DATA} ${WRKSRC}/*.grf \
		${OPENTTD_DATADIR}
	${INSTALL_DATA} ${WRKSRC}/*.obg \
		${OPENTTD_DATADIR}


.include "../../mk/bsd.pkg.mk"