2001-01-05 14:19:36 +01:00
|
|
|
# New ports collection makefile for: tuxracer
|
|
|
|
# Date created: 8 August 2000
|
|
|
|
# Whom: Eric Anholt
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= tuxracer
|
2001-08-17 19:49:35 +02:00
|
|
|
PORTVERSION= 0.61
|
2010-09-15 20:35:24 +02:00
|
|
|
PORTREVISION= 10
|
2001-01-05 14:19:36 +01:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF
|
2001-01-05 14:19:36 +01:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}.tar.gz \
|
|
|
|
${PORTNAME}-data-${PORTVERSION}.tar.gz
|
|
|
|
|
2010-06-15 03:01:13 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= A 3d penguin racing game using OpenGL
|
2001-01-05 14:19:36 +01:00
|
|
|
|
2009-05-17 17:11:22 +02:00
|
|
|
LIB_DEPENDS= tcl85:${PORTSDIR}/lang/tcl85
|
2001-01-05 14:19:36 +01:00
|
|
|
|
2004-01-20 22:18:12 +01:00
|
|
|
USE_SDL= mixer sdl
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
USE_GL= gl
|
2009-01-23 17:28:36 +01:00
|
|
|
USE_XORG= x11 xt xmu xi
|
2001-01-05 14:19:36 +01:00
|
|
|
USE_GMAKE= yes
|
2010-09-15 20:35:24 +02:00
|
|
|
USE_AUTOTOOLS= automake:14 autoconf:267
|
2002-05-23 13:35:05 +02:00
|
|
|
AUTOMAKE_ARGS= -a
|
2005-03-10 13:05:24 +01:00
|
|
|
CONFIGURE_ENV= THREAD_LIB="${PTHREAD_LIBS}"
|
2002-04-02 13:06:16 +02:00
|
|
|
MAKE_ENV= ${CONFIGURE_ENV}
|
2009-05-17 17:11:22 +02:00
|
|
|
CONFIGURE_ARGS= --with-tcl-inc="${LOCALBASE}/include/tcl8.5" \
|
2001-01-05 14:19:36 +01:00
|
|
|
--with-tcl-libs="${LOCALBASE}/lib" \
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
--with-gl-libs="${LOCALBASE}/lib" \
|
|
|
|
--with-gl-inc="${LOCALBASE}/include" \
|
2001-01-05 14:19:36 +01:00
|
|
|
--with-data-dir=${PREFIX}/share/tuxracer
|
|
|
|
|
|
|
|
WORKDATA= ${WRKDIR}/${PORTNAME}-data-${PORTVERSION}
|
|
|
|
COURSEDIRS= 1 2 3 4 5 6 7 8 9 10 11
|
|
|
|
|
2002-05-23 13:35:05 +02:00
|
|
|
post-extract:
|
2007-07-28 08:33:59 +02:00
|
|
|
@${RM} ${WRKSRC}/missing
|
2002-05-23 13:35:05 +02:00
|
|
|
|
2001-01-05 14:19:36 +01:00
|
|
|
post-install:
|
2007-07-28 08:33:59 +02:00
|
|
|
@${MKDIR} ${DATADIR}
|
|
|
|
@(${CHMOD} -R o+r ${WORKDATA} && cd ${WORKDATA} && ${TAR} -c -f - *) | \
|
2001-08-30 04:45:38 +02:00
|
|
|
(cd ${DATADIR} && ${TAR} -x -f - )
|
2001-01-05 14:19:36 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|