aboutsummaryrefslogtreecommitdiffstats
path: root/x11/ruby-kde
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-14 01:55:52 +0800
committerknu <knu@FreeBSD.org>2000-08-14 01:55:52 +0800
commit216a3063325461ff6d82ff18adc928a828891f94 (patch)
treead867e2581f3d709b674ef3daab5d5334babf58c /x11/ruby-kde
parent1ced62962c9254a5d17346068336f63d71843afc (diff)
downloadfreebsd-ports-gnome-216a3063325461ff6d82ff18adc928a828891f94.tar.gz
freebsd-ports-gnome-216a3063325461ff6d82ff18adc928a828891f94.tar.zst
freebsd-ports-gnome-216a3063325461ff6d82ff18adc928a828891f94.zip
Add ruby-kde and ruby-kde-i18n, KDE extension for Ruby.
(for kde11 and kde11-i18n, respectively)
Diffstat (limited to 'x11/ruby-kde')
-rw-r--r--x11/ruby-kde/Makefile73
-rw-r--r--x11/ruby-kde/distinfo1
-rw-r--r--x11/ruby-kde/pkg-comment1
-rw-r--r--x11/ruby-kde/pkg-descr6
-rw-r--r--x11/ruby-kde/pkg-plist29
5 files changed, 110 insertions, 0 deletions
diff --git a/x11/ruby-kde/Makefile b/x11/ruby-kde/Makefile
new file mode 100644
index 000000000000..ea831e47db9b
--- /dev/null
+++ b/x11/ruby-kde/Makefile
@@ -0,0 +1,73 @@
+# New ports collection makefile for: Ruby-kde
+# Date created: 14 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= kde
+PORTVERSION= 0.11
+CATEGORIES= x11 kde # ruby
+MASTER_SITES= http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/
+PKGNAMEPREFIX= ruby-
+DISTNAME= ${PKGNAMEPREFIX}${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+LIB_DEPENDS= kdecore.${KDELIB_SHLIBVER}:${PORTSDIR}/x11/${KDE_PORTNAME}
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \
+ ${LOCALBASE}/lib/ruby/site_ruby/${RUBY_VER}/qt.rb:${PORTSDIR}/x11-toolkits/${RUBY_QT_PORTNAME}
+
+INSTALL_TARGET= site-install
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+
+RUBY?= ${LOCALBASE}/bin/ruby
+RUBY_VER?= 1.4
+RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
+
+QTLIBDIR= ${X11BASE}/lib
+QTINCDIR= ${X11BASE}/include/X11/qt
+KDELIBDIR= ${LOCALBASE}/lib
+KDEINCDIR= ${LOCALBASE}/include
+
+.if defined(WITH_I18N)
+QTLIB= qti18n
+KDELIB_SHLIBVER= 2
+KDE_PORTNAME= kdelibs11-i18n
+RUBY_QT_PORTNAME= ruby-qt-i18n
+.else
+QTLIB= qt
+KDELIB_SHLIBVER= 3
+KDE_PORTNAME= kdelibs11
+RUBY_QT_PORTNAME= ruby-qt
+.endif
+
+post-patch:
+ ${PERL} -i -pe ' \
+ s,%%X11BASE%%,${X11BASE},g; \
+ s,%%I18NQT%%,${I18NQT},g; \
+ s,%%QTLIBDIR%%,${QTLIBDIR},g; \
+ s,%%QTINCDIR%%,${QTINCDIR},g; \
+ s,%%KDELIBDIR%%,${KDELIBDIR},g; \
+ s,%%KDEINCDIR%%,${KDEINCDIR},g; \
+ s,%%QTLIB%%,${QTLIB},g; \
+ ' ${WRKSRC}/extconf.rb
+
+do-configure:
+ @cd ${WRKSRC}; \
+ ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/examples/ruby/kde
+ ${CP} -R ${WRKSRC}/examples/ ${PREFIX}/share/examples/ruby/kde/
+ ${MKDIR} ${PREFIX}/share/doc/ruby/kde/ja
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/ruby/kde/
+ ${INSTALL_DATA} ${WRKSRC}/README.jp.txt ${PREFIX}/share/doc/ruby/kde/ja/
+.endif
+
+.include <bsd.port.mk>
diff --git a/x11/ruby-kde/distinfo b/x11/ruby-kde/distinfo
new file mode 100644
index 000000000000..4e9e3d44720d
--- /dev/null
+++ b/x11/ruby-kde/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-kde-0.11.tar.gz) = 21282ceb2b52c950cd8724422c31d306
diff --git a/x11/ruby-kde/pkg-comment b/x11/ruby-kde/pkg-comment
new file mode 100644
index 000000000000..00fbe4800f8e
--- /dev/null
+++ b/x11/ruby-kde/pkg-comment
@@ -0,0 +1 @@
+KDE extension for Ruby (for kde11)
diff --git a/x11/ruby-kde/pkg-descr b/x11/ruby-kde/pkg-descr
new file mode 100644
index 000000000000..4609d129a529
--- /dev/null
+++ b/x11/ruby-kde/pkg-descr
@@ -0,0 +1,6 @@
+This is a KDE extension library for Ruby (http://www.ruby-lang.org/)
+developed with SWIG (http://www.swig.org/) and Ruby module for SWIG
+(swigruby; www.goto.info.waseda.ac.jp/%7Efukusima/ruby/swig-j.html).
+
+Author: Nobuyuki Horie <horie@smail.u-shizuoka-ken.ac.jp>
+WWW: http://sfns.u-shizuoka-ken.ac.jp/geneng/horie_hp/ruby/index.html
diff --git a/x11/ruby-kde/pkg-plist b/x11/ruby-kde/pkg-plist
new file mode 100644
index 000000000000..1f6b74b7039d
--- /dev/null
+++ b/x11/ruby-kde/pkg-plist
@@ -0,0 +1,29 @@
+lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/kde.so
+lib/ruby/site_ruby/%%RUBY_VER%%/kde.rb
+share/examples/ruby/kde/classbrows/kdebrows.rb
+share/examples/ruby/kde/classbrows/rbbr_qt.rb
+share/examples/ruby/kde/classbrows/rbbr_rb.rb
+share/examples/ruby/kde/classbrows/rbdump.rb
+share/examples/ruby/kde/classbrows/kdebrows2.rb
+share/examples/ruby/kde/kapp/kapp1.rb
+share/examples/ruby/kde/kredit/kredit_lib.pot
+share/examples/ruby/kde/kredit/kde2ps
+share/examples/ruby/kde/kredit/kredit.rb
+share/examples/ruby/kde/kredit/kredit_lib.rb
+share/examples/ruby/kde/kredit/readme.txt
+share/examples/ruby/kde/kredit/kredit.po
+share/examples/ruby/kde/kredit/kredit.mo
+share/examples/ruby/kde/kredit/kredit.rb.mo
+share/examples/ruby/kde/kredit/make_pot
+share/examples/ruby/kde/kwidgets/kwid.rb
+share/examples/ruby/kde/slider/kslider3.rb
+@dirrm share/examples/ruby/kde/classbrows
+@dirrm share/examples/ruby/kde/kapp
+@dirrm share/examples/ruby/kde/kredit
+@dirrm share/examples/ruby/kde/kwidgets
+@dirrm share/examples/ruby/kde/slider
+@dirrm share/examples/ruby/kde
+share/doc/ruby/kde/README.txt
+share/doc/ruby/kde/ja/README.jp.txt
+@dirrm share/doc/ruby/kde/ja
+@dirrm share/doc/ruby/kde