summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/ruby-qt2
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-04-06 10:08:15 +0000
committerknu <knu@FreeBSD.org>2001-04-06 10:08:15 +0000
commit0019d7e5a24aed7fa9533c660db98cdbdea21ac6 (patch)
tree386674a96c679fed35dc284bd8a2136ef00cd845 /x11-toolkits/ruby-qt2
parentbd43af2f5aed9a4611dc35623ec7bfb5b91c7384 (diff)
downloadFreeBSD-ports-0019d7e5a24aed7fa9533c660db98cdbdea21ac6.zip
FreeBSD-ports-0019d7e5a24aed7fa9533c660db98cdbdea21ac6.tar.gz
Define RUBY_QT2_PORTREVISION and RUBY_WITH_PTHREAD in
x11-toolkits/ruby-qt2/Makefile.common. Tidy up .include's.
Diffstat (limited to 'x11-toolkits/ruby-qt2')
-rw-r--r--x11-toolkits/ruby-qt2/Makefile8
-rw-r--r--x11-toolkits/ruby-qt2/Makefile.common2
2 files changed, 5 insertions, 5 deletions
diff --git a/x11-toolkits/ruby-qt2/Makefile b/x11-toolkits/ruby-qt2/Makefile
index 69e1d31..73f6182 100644
--- a/x11-toolkits/ruby-qt2/Makefile
+++ b/x11-toolkits/ruby-qt2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qt2
PORTVERSION= ${RUBY_QT2_PORTVERSION}
+PORTREVISION= ${RUBY_QT2_PORTREVISION}
CATEGORIES= x11-toolkits ruby
MASTER_SITES= ${RUBY_QT2_MASTER_SITES}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
@@ -18,13 +19,9 @@ MAINTAINER= knu@FreeBSD.org
USE_QT_VER= 2
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
-RUBY_WITH_PTHREAD= yes
USE_GMAKE= yes
-.include <bsd.port.pre.mk>
-.include "${.CURDIR}/Makefile.common"
-
WRKSRC= ${RUBY_QT2_WRKSRC}
CONFIGURE_ARGS= ${RUBY_QT2_CONFIGURE_ARGS}
MAKE_ARGS= LOCAL_LIBS=-lgcc
@@ -46,4 +43,5 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/README.jp ${RUBY_DOCDIR}/${PORTNAME}/ja/
.endif
-.include <bsd.port.post.mk>
+.include "${.CURDIR}/Makefile.common"
+.include <bsd.port.mk>
diff --git a/x11-toolkits/ruby-qt2/Makefile.common b/x11-toolkits/ruby-qt2/Makefile.common
index c48f40c..bff9b9f 100644
--- a/x11-toolkits/ruby-qt2/Makefile.common
+++ b/x11-toolkits/ruby-qt2/Makefile.common
@@ -2,6 +2,7 @@
RUBY_QT2_VERSION= 0.12
RUBY_QT2_PORTVERSION= ${RUBY_QT2_VERSION}a.2
+RUBY_QT2_PORTREVISION= # none
RUBY_QT2_MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/
RUBY_QT2_DISTNAME= ruby-qt2-${RUBY_QT2_VERSION}
@@ -13,6 +14,7 @@ RUBY_QT2_CONFIGURE_ARGS= \
--with-qt2-lib=${X11BASE}/lib \
--with-x11-dir=${X11BASE} \
--with-qt2=qtgl
+RUBY_WITH_PTHREAD= yes
MD5_FILE= ${RUBY_QT2_PORTDIR}/distinfo
OpenPOWER on IntegriCloud