summaryrefslogtreecommitdiff
path: root/textproc/ruby-eruby
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-07-01 14:01:56 +0000
committertaca <taca@pkgsrc.org>2001-07-01 14:01:56 +0000
commitc444bba496e742225e159adc9bec1f100691f136 (patch)
tree1a84e2ad07bb8f2a333a81d90cdaa031fd57a8ac /textproc/ruby-eruby
parent97758e8abdfd7675398fe8cf813d289254d9b126 (diff)
downloadpkgsrc-c444bba496e742225e159adc9bec1f100691f136.tar.gz
Importing ruby-eruby, ruby-eruby-0.9.5 package.
eruby interprets Ruby code embedded in a text file just like PHP, ePerl, ASP, or JSP. For example, eruby enables you to embed a Ruby code in a HTML file.
Diffstat (limited to 'textproc/ruby-eruby')
-rw-r--r--textproc/ruby-eruby/Makefile49
-rw-r--r--textproc/ruby-eruby/distinfo5
-rw-r--r--textproc/ruby-eruby/patches/patch-aa13
-rw-r--r--textproc/ruby-eruby/pkg/DESCR6
-rw-r--r--textproc/ruby-eruby/pkg/PLIST21
5 files changed, 94 insertions, 0 deletions
diff --git a/textproc/ruby-eruby/Makefile b/textproc/ruby-eruby/Makefile
new file mode 100644
index 00000000000..b35d70e2118
--- /dev/null
+++ b/textproc/ruby-eruby/Makefile
@@ -0,0 +1,49 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 14:01:56 taca Exp $
+# FreeBSD: ports/textproc/eruby/Makefile,v 1.9 2000/12/12 14:04:26 knu Exp
+
+DISTNAME= eruby-0.9.5
+PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
+CATEGORIES= textproc
+MASTER_SITES= http://www.modruby.net/archive/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www.modruby.net/
+COMMENT= Interprets Ruby code embedded in a text file
+
+DIST_SUBDIR= ruby
+USE_RUBY= yes
+
+RUBY_REQD= 1.6
+
+HAS_CONFIGURE= yes
+CONFIGURE_SCRIPT= ./configure.rb
+CONFIGURE_ARGS= --enable-shared --with-charset="${DEFAULT_CHARSET}"
+INSTALL_TARGET= site-install
+
+DEFAULT_CHARSET?= ISO-8859-1
+
+MAN1= eruby.1
+
+DOCS_EN= ChangeLog README.en eruby.rd eruby.html
+DOCS_JA= README.ja
+EXAMPLES= e2r.rb foo.rhtml test.rb test.rhtml
+
+post-build:
+ cd ${WRKSRC}; ${RUBY_RD} eruby.rd > eruby.html
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/eruby/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/eruby
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/eruby/ja
+.endfor
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/eruby
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${RUBY_EXAMPLESDIR}/eruby
+.endfor
+
+.include "../../textproc/ruby-rdtool/Makefile.common"
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ruby-eruby/distinfo b/textproc/ruby-eruby/distinfo
new file mode 100644
index 00000000000..057ff1ba2e2
--- /dev/null
+++ b/textproc/ruby-eruby/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/01 14:01:56 taca Exp $
+
+SHA1 (ruby/eruby-0.9.5.tar.gz) = 93a65e8fcc00f8d7779dfe84c156b24e7cecb585
+Size (ruby/eruby-0.9.5.tar.gz) = 59620 bytes
+SHA1 (patch-aa) = feed0f33b7d16f878054db13b349f0f0a7a7a31c
diff --git a/textproc/ruby-eruby/patches/patch-aa b/textproc/ruby-eruby/patches/patch-aa
new file mode 100644
index 00000000000..fa35dc0108d
--- /dev/null
+++ b/textproc/ruby-eruby/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/07/01 14:01:56 taca Exp $
+
+--- Makefile.in.orig Wed Jun 20 15:52:31 2001
++++ Makefile.in
+@@ -37,7 +37,7 @@
+ EXT_DLDFLAGS = @EXT_DLDFLAGS@
+ INSTALL_PROGRAM = $(RUBY) -r ftools -e 'File.install ARGV[0], ARGV[1], 0755, true'
+ INSTALL_DLLIB = $(RUBY) -r ftools -e 'File.install ARGV[0], ARGV[1], 0555, true'
+-INSTALL_DATA = $(RUBY) -r ftools -e 'File.install ARGV[0], ARGV[1], 0644, true'
++INSTALL_DATA = $(RUBY) -r ftools -e 'File.install ARGV[0], ARGV[1], 0444, true'
+ INSTALL_DIR = $(RUBY) -r ftools -e 'File.makedirs(*ARGV)'
+
+ RUBY_INSTALL_NAME = @RUBY_INSTALL_NAME@
diff --git a/textproc/ruby-eruby/pkg/DESCR b/textproc/ruby-eruby/pkg/DESCR
new file mode 100644
index 00000000000..f1c5ea24bf0
--- /dev/null
+++ b/textproc/ruby-eruby/pkg/DESCR
@@ -0,0 +1,6 @@
+eruby interprets Ruby code embedded in a text file just like PHP,
+ePerl, ASP, or JSP. For example, eruby enables you to embed a Ruby
+code in a HTML file.
+
+Author: Shugo Maeda <shugo@netlab.co.jp>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=eruby
diff --git a/textproc/ruby-eruby/pkg/PLIST b/textproc/ruby-eruby/pkg/PLIST
new file mode 100644
index 00000000000..0592260c6ab
--- /dev/null
+++ b/textproc/ruby-eruby/pkg/PLIST
@@ -0,0 +1,21 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 14:01:56 taca Exp $
+bin/eruby
+include/eruby.h
+lib/liberuby.so.0.9
+lib/liberuby.so.0
+lib/liberuby.so
+lib/liberuby.a
+${RUBY_SITEARCHLIBDIR}/eruby.so
+man/man1/eruby.1
+${RUBY_DOCDIR}/eruby/ChangeLog
+${RUBY_DOCDIR}/eruby/README.en
+${RUBY_DOCDIR}/eruby/eruby.rd
+${RUBY_DOCDIR}/eruby/eruby.html
+${RUBY_DOCDIR}/eruby/ja/README.ja
+@dirrm ${RUBY_DOCDIR}/eruby/ja
+@dirrm ${RUBY_DOCDIR}/eruby
+${RUBY_EXAMPLESDIR}/eruby/e2r.rb
+${RUBY_EXAMPLESDIR}/eruby/foo.rhtml
+${RUBY_EXAMPLESDIR}/eruby/test.rb
+${RUBY_EXAMPLESDIR}/eruby/test.rhtml
+@dirrm ${RUBY_EXAMPLESDIR}/eruby