aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-22 01:59:08 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-22 01:59:08 +0000
commit5a60c2ea11c2a1992946845ae82d7a9d99ddb6a4 (patch)
tree0764916af35d11a14f5585fab326ce019c883044 /devel
parent842b6d60a534a2ca19e4dd64d2073962e9834c60 (diff)
downloadports-5a60c2ea11c2a1992946845ae82d7a9d99ddb6a4.tar.gz
ports-5a60c2ea11c2a1992946845ae82d7a9d99ddb6a4.zip
Notes
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-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
6 files changed, 85 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 22817c0c683a..90233ac44b9e 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -297,6 +297,7 @@
SUBDIR += stlport
SUBDIR += str
SUBDIR += swarm
+ SUBDIR += swigruby
SUBDIR += t1lib
SUBDIR += tcl-memchan
SUBDIR += tclcheck
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