2001-03-12 13:57:25 -05:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2001-09-17 13:54:27 -04:00
|
|
|
# Don't forget to clear PORTREVISION's on update
|
2001-08-23 02:46:35 -04:00
|
|
|
RUBY_QT2_VERSION= 0.14
|
2001-04-27 06:11:52 -04:00
|
|
|
RUBY_QT2_PORTVERSION= ${RUBY_QT2_VERSION}
|
2001-03-12 13:57:25 -05:00
|
|
|
RUBY_QT2_MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/
|
|
|
|
RUBY_QT2_DISTNAME= ruby-qt2-${RUBY_QT2_VERSION}
|
|
|
|
|
|
|
|
RUBY_QT2_PORTDIR= ${PORTSDIR}/x11-toolkits/ruby-qt2
|
|
|
|
|
|
|
|
RUBY_QT2_WRKSRC= ${WRKDIR}/qt2
|
2001-03-19 17:15:52 -05:00
|
|
|
RUBY_QT2_CONFIGURE_ARGS= \
|
|
|
|
--with-qt2-include=${X11BASE}/include/qt2 \
|
|
|
|
--with-qt2-lib=${X11BASE}/lib \
|
2001-04-01 14:07:11 -04:00
|
|
|
--with-x11-dir=${X11BASE} \
|
2001-08-23 02:46:35 -04:00
|
|
|
--with-qt2=qt2
|
|
|
|
# --with-qt2=qtgl
|
|
|
|
#RUBY_WITH_PTHREAD= yes
|
2001-03-12 13:57:25 -05:00
|
|
|
|
|
|
|
MD5_FILE= ${RUBY_QT2_PORTDIR}/distinfo
|
2001-04-05 15:26:20 -04:00
|
|
|
|
2001-04-06 05:21:37 -04:00
|
|
|
post-patch: post-patch-cflags
|
2001-04-05 15:26:20 -04:00
|
|
|
|
2001-04-06 05:21:37 -04:00
|
|
|
post-patch-cflags:
|
|
|
|
${RUBY} -i -pe '~ /^\$$CFLAGS\b.*/ and $$_.sub!(/-O\w*/, "")' ${WRKSRC}/extconf.rb
|