summaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-qt2
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-06 10:08:15 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-06 10:08:15 +0000
commit47285d38b504ab8d1e0bc3993ddbc44adc194eb0 (patch)
tree3bf9661cbbece63a5eb127c650bed204ed412748 /x11-toolkits/ruby-qt2
parentDefine RUBY_WITH_PTHREAD. (diff)
Define RUBY_QT2_PORTREVISION and RUBY_WITH_PTHREAD in
x11-toolkits/ruby-qt2/Makefile.common. Tidy up .include's.
Notes
Notes: svn path=/head/; revision=40935
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 69e1d318580b..73f618282f47 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 c48f40c86ad3..bff9b9fadbe3 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