summaryrefslogtreecommitdiff
path: root/games/tuxracer/Makefile
blob: 4ef0138abc3eaf362e0717c39062c0809d0cb291 (plain)
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
# $NetBSD: Makefile,v 1.2 2003/04/03 08:25:37 wiz Exp $
#

DISTNAME=	tuxracer-0.61
PKGREVISION=	1
CATEGORIES=	games
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=tuxracer/}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		${PKGBASE}-data-${PKGVERSION:C/nb[0-9]*$//}${EXTRACT_SUFX}

MAINTAINER=	david@netbsd-fr.org
HOMEPAGE=	http://tuxracer.sourceforge.net/
COMMENT=	3D penguin racing game using OpenGL

USE_BUILDLINK2=	YES
GNU_CONFIGURE=	YES

CONFIGURE_ARGS+=	--with-data-dir=${PREFIX}/share/tuxracer

post-install:
	cd ${WRKSRC}/html && \
		${PAX} -rw . ${PREFIX}/share/doc/html/tuxracer/
	cd ${WRKSRC}/contrib && \
		${PAX} -rw . ${PREFIX}/share/examples/tuxracer/
	cd ${WRKDIR}/${PKGBASE}-data-${PKGVERSION:C/nb[0-9]*$//} && \
		${PAX} -rw . ${PREFIX}/share/tuxracer/
	cd ${PREFIX}/share/tuxracer && \
		${FIND} . -type f -exec ${CHMOD} 444 {} \;

.include "../../audio/SDL_mixer/buildlink2.mk"
.include "../../lang/tcl/buildlink2.mk"

.include "../../mk/pthread.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"