aboutsummaryrefslogtreecommitdiff
path: root/games/tuxracer_golf/Makefile
blob: d741cc99a6be43a0d3f1d4e8fc4e3dcab259ff43 (plain) (blame)
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
38
39
40
41
42
43
44
# New ports collection makefile for:	tuxracer_golf
# Date created:				17 May 2003
# Whom:					Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	tuxracer_golf
PORTVERSION=	1.00
PORTREVISION=	2
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	adamw

MAINTAINER=	ports@FreeBSD.org
COMMENT=	A golf course theme for Tux Racer

BROKEN=		overwrite a file owned by tuxracer: share/tuxracer/courses/common/buttprint.rgb

RUN_DEPENDS=	tuxracer:${PORTSDIR}/games/tuxracer

NO_WRKSUBDIR=	yes
NO_BUILD=	yes
PLIST_SUB+=	"MV=${MV}"

TEXTURES=	buttprint buttstart buttstop cloudyback cloudybottom \
	cloudyfront cloudyleft cloudyright envmap \
	herring_standard herringrunicon ice nightback \
	nightbottom nightenv nightfront nightleft nightright nighttop \
	rock shrub snow snowparticles sunnyback \
	sunnybottom sunnyfront sunnyleft sunnyright sunnytop tree \
	tree_barren

do-install:
	@${MKDIR} ${DATADIR}
	@${MKDIR} ${DATADIR}/common.old
	-@${CP} ${PREFIX}/share/tuxracer/courses/common/*rgb \
		${DATADIR}/common.old
.for i in ${TEXTURES}
	@${INSTALL_DATA} ${WRKDIR}/$i.rgb \
		${PREFIX}/share/tuxracer/courses/common
.endfor

.include <bsd.port.mk>