aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/ruby-wx
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-12-01 15:39:02 +0800
committerpav <pav@FreeBSD.org>2006-12-01 15:39:02 +0800
commit92d21b3194c49cedf08339e7514171807a9c6196 (patch)
tree9c146b3b2fdea9918389f3184052481e51ccf2f9 /x11-toolkits/ruby-wx
parent977deb3eb313758a6e81aa2d1d05565d53d51455 (diff)
downloadfreebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.tar.gz
freebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.tar.zst
freebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.zip
- Use features of bsd.wx.mk, especially USE_WX
PR: ports/101613 Submitted by: alepulver
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: