From 5a60c2ea11c2a1992946845ae82d7a9d99ddb6a4 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Tue, 22 Aug 2000 01:59:08 +0000 Subject: Add swigruby, Ruby module for SWIG. --- devel/Makefile | 1 + devel/swigruby/Makefile | 49 ++++++++++++++++++++++++++++++++++++++++++++++ devel/swigruby/distinfo | 1 + devel/swigruby/pkg-comment | 1 + devel/swigruby/pkg-descr | 7 +++++++ devel/swigruby/pkg-plist | 26 ++++++++++++++++++++++++ 6 files changed, 85 insertions(+) create mode 100644 devel/swigruby/Makefile create mode 100644 devel/swigruby/distinfo create mode 100644 devel/swigruby/pkg-comment create mode 100644 devel/swigruby/pkg-descr create mode 100644 devel/swigruby/pkg-plist (limited to 'devel') 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 +# +# $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 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 -- cgit v1.2.3