From d750615763ee2d3250de2115295079f66d813d1f Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Fri, 1 Dec 2006 07:39:02 +0000 Subject: - Use features of bsd.wx.mk, especially USE_WX PR: ports/101613 Submitted by: alepulver --- games/scorched3d/Makefile | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'games/scorched3d') diff --git a/games/scorched3d/Makefile b/games/scorched3d/Makefile index 0cc273797b07..4275969461a0 100644 --- a/games/scorched3d/Makefile +++ b/games/scorched3d/Makefile @@ -15,12 +15,8 @@ DISTNAME= Scorched3D-${SCORCH_VERSION}-src MAINTAINER= guy@device.dyndns.org COMMENT= Scorched is a game based loosely on the classic DOS game -BUILD_DEPENDS= ${X11BASE}/include/wx-2.6/wx/wx.h:${PORTSDIR}/x11-toolkits/wxgtk26-common \ - wxgtk2-2.6-config:${PORTSDIR}/x11-toolkits/wxgtk26 \ - openal-config:${PORTSDIR}/audio/openal -RUN_DEPENDS= ${X11BASE}/include/wx-2.6/wx/wx.h:${PORTSDIR}/x11-toolkits/wxgtk26-common \ - wxgtk2-2.6-config:${PORTSDIR}/x11-toolkits/wxgtk26 \ - openal-config:${PORTSDIR}/audio/openal +BUILD_DEPENDS= openal-config:${PORTSDIR}/audio/openal +RUN_DEPENDS= openal-config:${PORTSDIR}/audio/openal LIB_DEPENDS= alut.1:${PORTSDIR}/audio/freealut SCORCH_VERSION= 40.1d @@ -33,13 +29,14 @@ GNU_CONFIGURE= yes USE_GL= yes USE_GMAKE= yes USE_AUTOTOOLS= automake:15 autoconf:253 +USE_WX= 2.6 +WX_CONF_ARGS= absolute WRKSRC= ${WRKDIR}/scorched AUTOMAKE_ARGS= --foreign CONFIGURE_ARGS= --program-prefix='' \ --prefix=${PREFIX}/games/scorched3d \ - --datadir=${PREFIX}/games/scorched3d \ - --with-wx-config=${X11BASE}/bin/wxgtk2-2.6-config + --datadir=${PREFIX}/games/scorched3d .if defined(WITH_MYSQL) CONFIGURE_ARGS+= --with-mysql .endif -- cgit v1.2.3