aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-wx
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 /x11-toolkits/ruby-wx
parent767bcfc72cf9c3574739d745cff6620fa75b0e74 (diff)
downloadports-d750615763ee2d3250de2115295079f66d813d1f.tar.gz
ports-d750615763ee2d3250de2115295079f66d813d1f.zip
Notes
Diffstat (limited to 'x11-toolkits/ruby-wx')
-rw-r--r--x11-toolkits/ruby-wx/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/x11-toolkits/ruby-wx/Makefile b/x11-toolkits/ruby-wx/Makefile
index ee4a650ff95b..2badcf3ee8b4 100644
--- a/x11-toolkits/ruby-wx/Makefile
+++ b/x11-toolkits/ruby-wx/Makefile
@@ -18,12 +18,11 @@ DIST_SUBDIR= ruby
MAINTAINER= ports@FreeBSD.org
COMMENT= Ruby bindings for wxWindows (aka wxWidgets)
-LIB_DEPENDS= wx_gtk2-2.4:${PORTSDIR}/x11-toolkits/wxgtk24 \
- wx_gtk2_xrc-2.4:${PORTSDIR}/x11-toolkits/wxgtk24-contrib
-
USE_ICONV= yes
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
+USE_WX= 2.4
+WX_COMPS= contrib
.include <bsd.port.pre.mk>
@@ -37,7 +36,7 @@ DOCS= README README.linux ChangeLog
post-patch:
@${FIND} ${WRKSRC} -name *.t | ${XARGS} ${REINPLACE_CMD} -e 's| ||'
@${REINPLACE_CMD} -E 's/ html(processor|window).o//' ${WRKSRC}/depend
- @${REINPLACE_CMD} -e 's/wx-config/wxgtk2-2.4-config/' ${WRKSRC}/extconf.rb
+ @${REINPLACE_CMD} -e 's|wx-config|${WX_CONFIG:T}|' ${WRKSRC}/extconf.rb
.if !defined(NOPORTDOCS)
post-install: