aboutsummaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-12-01 07:39:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-12-01 07:39:02 +0000
commitd750615763ee2d3250de2115295079f66d813d1f (patch)
tree05b94e79be3ac272b9b617e50fc723ea52c6cf34 /math
parent767bcfc72cf9c3574739d745cff6620fa75b0e74 (diff)
downloadports-d750615763ee2d3250de2115295079f66d813d1f.tar.gz
ports-d750615763ee2d3250de2115295079f66d813d1f.zip
- Use features of bsd.wx.mk, especially USE_WX
PR: ports/101613 Submitted by: alepulver
Notes
Notes: svn path=/head/; revision=178433
Diffstat (limited to 'math')
-rw-r--r--math/gambit/Makefile7
-rw-r--r--math/graphthing/Makefile5
2 files changed, 4 insertions, 8 deletions
diff --git a/math/gambit/Makefile b/math/gambit/Makefile
index 51d52b168a73..2ee5a0f6817f 100644
--- a/math/gambit/Makefile
+++ b/math/gambit/Makefile
@@ -15,14 +15,11 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= A library of tools for doing computation in game theory
-LIB_DEPENDS= wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26
-
USE_X_PREFIX= yes
+USE_WX= 2.6
USE_GNOME= gnometarget gtk20
GNU_CONFIGURE= yes
-CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" \
- WX_CONFIG="${X11BASE}/bin/wxgtk2-2.6-config"
-MAKE_ENV= WX_CONFIG="${X11BASE}/bin/wxgtk2-2.6-config"
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
USE_LDCONFIG= yes
CPPFLAGS= ${PTHREAD_CFLAGS}
diff --git a/math/graphthing/Makefile b/math/graphthing/Makefile
index e2be8a38f174..8e3b289df048 100644
--- a/math/graphthing/Makefile
+++ b/math/graphthing/Makefile
@@ -14,15 +14,14 @@ MASTER_SITES= http://graph.seul.org/
MAINTAINER= arved@FreeBSD.org
COMMENT= A tool that allows you to create, manipulate and study graphs
-LIB_DEPENDS= wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26
-
USE_BZIP2= yes
USE_GNOME= gnometarget gtk20
USE_BISON= yes
USE_GMAKE= yes
+USE_WX= 2.6
+WX_CONF_ARGS= absolute
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
-CONFIGURE_ARGS= --with-wx-config=${X11BASE}/bin/wxgtk2-2.6-config
MAKEFILE= GNUmakefile
PLIST_FILES= bin/graphthing bin/gt