ports/130190: [PATCH] games/etracer switch to USE_TCL
Martin Matuska
mm at FreeBSD.org
Mon Jan 5 14:40:01 UTC 2009
>Number: 130190
>Category: ports
>Synopsis: [PATCH] games/etracer switch to USE_TCL
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 05 14:40:00 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: RebuM
>Release: FreeBSD 7.1-RELEASE i386/amd64
>Organization:
>Environment:
System: FreeBSD 7.1-RELEASE i386/amd64
>Description:
- switch to USE_TCL infrastructure
- add support for tcl85
>How-To-Repeat:
>Fix:
Index: ports/games/etracer/Makefile
===================================================================
RCS file: /home/pcvs/ports/games/etracer/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- ports/games/etracer/Makefile 21 Aug 2008 06:17:06 -0000 1.2
+++ ports/games/etracer/Makefile 5 Jan 2009 14:30:47 -0000
@@ -7,6 +7,7 @@
PORTNAME= etracer
PORTVERSION= 0.4
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= SF/extremetuxracer
DISTNAME= extremetuxracer-${PORTVERSION}
@@ -14,17 +15,20 @@
MAINTAINER= peter_dunning at dsl.pipex.com
COMMENT= The latest and greatest fork of the classic Tux Racer
-LIB_DEPENDS= tcl85:${PORTSDIR}/lang/tcl85 \
- png.5:${PORTSDIR}/graphics/png \
+LIB_DEPENDS= png.5:${PORTSDIR}/graphics/png \
freetype.9:${PORTSDIR}/print/freetype2
USE_SDL= mixer sdl
USE_GL= gl glu glut
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-tcl=${PREFIX}/lib/tcl8.5 \
- --with-tcl-inc=${PREFIX}/include/tcl8.5 \
+
+USE_TCL= 84+
+
+.include <bsd.port.pre.mk>
+CONFIGURE_ARGS= --with-tcl="${TCL_LIBDIR}" \
+ --with-tcl-inc="${TCL_INCLUDEDIR}" \
--with-gl-libs="${LOCALBASE}/lib" \
--with-gl-inc="${LOCALBASE}/include"
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list