aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-14 14:49:59 +0800
committerknu <knu@FreeBSD.org>2000-08-14 14:49:59 +0800
commitf9bcd4aa73db29d9c5863396d228808bbbdbfb24 (patch)
tree9175e8177d3fc2b2515c7152d2cd34eab99bf622 /textproc
parent24d709a9ce8345d3212b811bdf55f87124b4f7ca (diff)
downloadfreebsd-ports-gnome-f9bcd4aa73db29d9c5863396d228808bbbdbfb24.tar.gz
freebsd-ports-gnome-f9bcd4aa73db29d9c5863396d228808bbbdbfb24.tar.zst
freebsd-ports-gnome-f9bcd4aa73db29d9c5863396d228808bbbdbfb24.zip
Add eruby, which interprets Ruby code embedded in a text file just
like PHP, ePerl, ASP, or JSP.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/eruby/Makefile46
-rw-r--r--textproc/eruby/distinfo1
-rw-r--r--textproc/eruby/pkg-comment1
-rw-r--r--textproc/eruby/pkg-descr6
-rw-r--r--textproc/eruby/pkg-plist6
6 files changed, 61 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 9370441d87ef..929509c054ad 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -30,6 +30,7 @@
SUBDIR += docproj
SUBDIR += dsssl-docbook-modular
SUBDIR += dtd-catalogs
+ SUBDIR += eruby
SUBDIR += expat
SUBDIR += fr-ispell
SUBDIR += freegrep
diff --git a/textproc/eruby/Makefile b/textproc/eruby/Makefile
new file mode 100644
index 000000000000..2a3b50d8abad
--- /dev/null
+++ b/textproc/eruby/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: eruby
+# Date created: 14 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= eruby
+PORTVERSION= ${RELEASE_VER}.${SNAPSHOT_DATE}
+CATEGORIES= textproc lang # ruby
+MASTER_SITES= ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= knu
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby
+
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
+RELEASE_VER= 0.0.8
+SNAPSHOT_DATE= 2000.08.03
+
+RUBY?= ${LOCALBASE}/bin/ruby
+RUBY_VER?= 1.4
+RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
+
+DOCS_EN= ChangeLog README.en
+DOCS_JA= README.ja
+
+do-configure:
+ @cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${RUBY} Makefile.RB
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${PREFIX}/share/doc/ruby/eruby/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/eruby/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/eruby/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/textproc/eruby/distinfo b/textproc/eruby/distinfo
new file mode 100644
index 000000000000..4b4880ff03a2
--- /dev/null
+++ b/textproc/eruby/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/eruby-0.0.8.2000.08.03.tar.gz) = 40733fb100a4b67bb92d8531a2581a33
diff --git a/textproc/eruby/pkg-comment b/textproc/eruby/pkg-comment
new file mode 100644
index 000000000000..a25cb8e37a49
--- /dev/null
+++ b/textproc/eruby/pkg-comment
@@ -0,0 +1 @@
+Interprets Ruby code embedded in a text file just like PHP, ePerl, ASP, or JSP
diff --git a/textproc/eruby/pkg-descr b/textproc/eruby/pkg-descr
new file mode 100644
index 000000000000..f1c5ea24bf07
--- /dev/null
+++ b/textproc/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/eruby/pkg-plist b/textproc/eruby/pkg-plist
new file mode 100644
index 000000000000..ef823ed224b2
--- /dev/null
+++ b/textproc/eruby/pkg-plist
@@ -0,0 +1,6 @@
+bin/eruby
+share/doc/ruby/eruby/ChangeLog
+share/doc/ruby/eruby/README.en
+share/doc/ruby/eruby/ja/README.ja
+@dirrm share/doc/ruby/eruby/ja
+@dirrm share/doc/ruby/eruby