aboutsummaryrefslogtreecommitdiffstats
path: root/devel/swigruby
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-22 09:59:08 +0800
committerknu <knu@FreeBSD.org>2000-08-22 09:59:08 +0800
commit305ff9569eab142112840012a63b685b6bbd1f8a (patch)
tree9a2fa4ab15e094d6cde99fadd9c04440aa0cd485 /devel/swigruby
parentf7678a853f45b8ff9bcfa1378db6cd1fcdf59fdb (diff)
downloadfreebsd-ports-gnome-305ff9569eab142112840012a63b685b6bbd1f8a.tar.gz
freebsd-ports-gnome-305ff9569eab142112840012a63b685b6bbd1f8a.tar.zst
freebsd-ports-gnome-305ff9569eab142112840012a63b685b6bbd1f8a.zip
Add swigruby, Ruby module for SWIG.
Diffstat (limited to 'devel/swigruby')
-rw-r--r--devel/swigruby/Makefile49
-rw-r--r--devel/swigruby/distinfo1
-rw-r--r--devel/swigruby/pkg-comment1
-rw-r--r--devel/swigruby/pkg-descr7
-rw-r--r--devel/swigruby/pkg-plist26
5 files changed, 84 insertions, 0 deletions
diff --git a/devel/swigruby/Makefile b/devel/swigruby/Makefile
new file mode 100644
index 000000000000..479a7eb799e6
--- /dev/null
+++ b/devel/swigruby/Makefile
@@ -0,0 +1,49 @@
+# New ports collection makefile for: SWIGRuby
+# Date created: 9 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= swigruby
+PORTVERSION= 0.4.3
+CATEGORIES= devel ruby
+MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby \
+ swig:${PORTSDIR}/devel/SWIG
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \
+ swig:${PORTSDIR}/devel/SWIG
+
+USE_GMAKE= YES
+
+PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
+
+RUBY= ${LOCALBASE}/bin/ruby
+RUBY_VER= 1.4
+RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+
+DOCS_EN= ChangeLog README
+DOCS_JA= README.ja
+
+do-configure:
+ @cd ${WRKSRC}; \
+ ${SETENV} ${CONFIGURE_ENV} ${RUBY} configure.rb
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/examples/ruby/swigruby
+ ${CP} -R ${WRKSRC}/examples/ ${PREFIX}/share/examples/ruby/swigruby/
+ ${MKDIR} ${PREFIX}/share/doc/ruby/swigruby/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/swigruby/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/swigruby/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/swigruby/distinfo b/devel/swigruby/distinfo
new file mode 100644
index 000000000000..f727234b90d4
--- /dev/null
+++ b/devel/swigruby/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/swigruby-0.4.3.tar.gz) = 6424b30768d4b1efb31d7596a55232b4
diff --git a/devel/swigruby/pkg-comment b/devel/swigruby/pkg-comment
new file mode 100644
index 000000000000..b3fa97d15f62
--- /dev/null
+++ b/devel/swigruby/pkg-comment
@@ -0,0 +1 @@
+Ruby module for SWIG
diff --git a/devel/swigruby/pkg-descr b/devel/swigruby/pkg-descr
new file mode 100644
index 000000000000..5a64fc0fb877
--- /dev/null
+++ b/devel/swigruby/pkg-descr
@@ -0,0 +1,7 @@
+Ruby module for SWIG.
+
+SWIG (http://www.swig.org/) is an interface compiler that connects
+programs written in C and C++ with scripting languages. This module
+extends SWIG to produce wrapper code for Ruby.
+
+WWW: http://www.goto.info.waseda.ac.jp/~fukusima/ruby/swig-e.html
diff --git a/devel/swigruby/pkg-plist b/devel/swigruby/pkg-plist
new file mode 100644
index 000000000000..947312c8c5b8
--- /dev/null
+++ b/devel/swigruby/pkg-plist
@@ -0,0 +1,26 @@
+bin/swigruby
+lib/libswigrb.a
+lib/libswigrb.so
+lib/swig_lib/ruby/Makefile.swig
+lib/swig_lib/ruby/exception.i
+lib/swig_lib/ruby/lang.map
+lib/swig_lib/ruby/ptrlang.i
+lib/swig_lib/ruby/ruby.swg
+lib/swig_lib/ruby/typemaps.i
+@dirrm lib/swig_lib/ruby
+share/doc/ruby/swigruby/ChangeLog
+share/doc/ruby/swigruby/README
+share/doc/ruby/swigruby/ja/README.ja
+@dirrm share/doc/ruby/swigruby/ja
+@dirrm share/doc/ruby/swigruby
+share/examples/ruby/swigruby/dbm/Makefile.swig
+share/examples/ruby/swigruby/dbm/DBM.i
+share/examples/ruby/swigruby/dbm/extconf.rb
+share/examples/ruby/swigruby/dbm/dbmtest.rb
+share/examples/ruby/swigruby/qt/Makefile.swig
+share/examples/ruby/swigruby/qt/qt.i
+share/examples/ruby/swigruby/qt/extconf.rb
+share/examples/ruby/swigruby/qt/hello.rb
+@dirrm share/examples/ruby/swigruby/dbm
+@dirrm share/examples/ruby/swigruby/qt
+@dirrm share/examples/ruby/swigruby