~cypheon/pkgsrc-wip

pkgsrc-wip/openttd-opensfx/Makefile -rw-r--r-- 984 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
# $NetBSD: Makefile,v 1.3 2012/10/03 21:32:47 asau Exp $
#

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

MAINTAINER=	elentirmo.gilgalad@gmail.com
HOMEPAGE=	http://openttd.org/
COMMENT=	Free and open source sound data files for the game OpenTTD
#LICENSE=	Creative Commons Sampling Plus 1.0

INSTALLATION_DIRS=	share/openttd/data

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

NO_BUILD=	YES
NO_CONFIGURE=	YES

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

do-install:
# the readme is already bumped to the single tar version
# probably this method will work soon
#	 	${INSTALL_DATA} ${WRKSRC}/${DISTNAME:S/-all$//}.tar \
#  		${DESTDIR}${PREFIX}/share/openttd/data
	${INSTALL_DATA} ${WRKSRC}/*.cat \
		${OPENTTD_DATADIR}
	${INSTALL_DATA} ${WRKSRC}/*.obs \
	   	${OPENTTD_DATADIR}

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