2013-09-03 08:36:41 +02:00
|
|
|
# Created by: Peter Dunning
|
2008-04-26 19:49:57 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= etracer
|
|
|
|
PORTVERSION= 0.4
|
2014-12-25 21:54:41 +01:00
|
|
|
PORTREVISION= 12
|
2008-04-26 19:49:57 +02:00
|
|
|
CATEGORIES= games
|
2009-08-22 02:23:13 +02:00
|
|
|
MASTER_SITES= SF/extremetuxracer/extreme-tuxracer/${PORTVERSION}
|
2008-04-26 19:49:57 +02:00
|
|
|
DISTNAME= extremetuxracer-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= peter_dunning@dsl.pipex.com
|
|
|
|
COMMENT= The latest and greatest fork of the classic Tux Racer
|
|
|
|
|
2014-12-24 22:39:42 +01:00
|
|
|
LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png \
|
2014-04-19 17:57:46 +02:00
|
|
|
libfreetype.so:${PORTSDIR}/print/freetype2
|
2008-04-26 19:49:57 +02:00
|
|
|
|
|
|
|
USE_SDL= mixer sdl
|
2012-08-05 00:52:02 +02:00
|
|
|
USE_XORG= x11 xi xext xmu xt
|
2008-04-26 19:49:57 +02:00
|
|
|
USE_GL= gl glu glut
|
2014-02-18 11:30:59 +01:00
|
|
|
USES= gmake pkgconfig tcl
|
2008-04-26 19:49:57 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2009-02-10 12:42:31 +01:00
|
|
|
|
|
|
|
CONFIGURE_ARGS= --with-tcl="${TCL_LIBDIR}" \
|
|
|
|
--with-tcl-inc="${TCL_INCLUDEDIR}" \
|
2008-04-26 19:49:57 +02:00
|
|
|
--with-gl-libs="${LOCALBASE}/lib" \
|
|
|
|
--with-gl-inc="${LOCALBASE}/include"
|
|
|
|
|
2010-03-30 13:22:14 +02:00
|
|
|
post-patch:
|
2014-12-24 22:39:42 +01:00
|
|
|
${REINPLACE_CMD} -e 's|libpng12|libpng|g' \
|
2010-03-30 13:22:14 +02:00
|
|
|
${WRKSRC}/configure
|
|
|
|
${REINPLACE_CMD} -e 's|int_p_NULL|NULL|g' \
|
|
|
|
-e 's|png_infopp_NULL|NULL|g' \
|
|
|
|
${WRKSRC}/src/ppgltk/images/png_reader.cpp
|
|
|
|
|
2014-02-18 11:30:59 +01:00
|
|
|
.include <bsd.port.mk>
|