aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-flex_rb
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-07-20 17:11:46 +0800
committerknu <knu@FreeBSD.org>2001-07-20 17:11:46 +0800
commitbce1f162f4686f68becb999840fc99565c4799a5 (patch)
treec943b80c2d10631dcc316dcac776ca85ca27f7b2 /devel/ruby-flex_rb
parent074bc09bd01353101e23f51eff9a131a93f43238 (diff)
downloadfreebsd-ports-gnome-bce1f162f4686f68becb999840fc99565c4799a5.tar.gz
freebsd-ports-gnome-bce1f162f4686f68becb999840fc99565c4799a5.tar.zst
freebsd-ports-gnome-bce1f162f4686f68becb999840fc99565c4799a5.zip
Add flex_rb, Ruby flex regular expression matching extension.
Diffstat (limited to 'devel/ruby-flex_rb')
-rw-r--r--devel/ruby-flex_rb/Makefile40
-rw-r--r--devel/ruby-flex_rb/distinfo1
-rw-r--r--devel/ruby-flex_rb/pkg-comment1
-rw-r--r--devel/ruby-flex_rb/pkg-descr4
-rw-r--r--devel/ruby-flex_rb/pkg-plist13
5 files changed, 59 insertions, 0 deletions
diff --git a/devel/ruby-flex_rb/Makefile b/devel/ruby-flex_rb/Makefile
new file mode 100644
index 000000000000..d08c432343a6
--- /dev/null
+++ b/devel/ruby-flex_rb/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: flex_rb
+# Date created: 20 July 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= flex_rb
+PORTVERSION= 0.10
+CATEGORIES= devel ruby
+MASTER_SITES= http://www.inf.bme.hu/~pts/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+DOCS= README
+EXAMPLES= examples/*.rb test*.rb
+
+post-patch:
+ ${RUBY} -i -pe 'gsub /-ansi\b/, ""' ${WRKSRC}/${RUBY_EXTCONF}
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/devel/ruby-flex_rb/distinfo b/devel/ruby-flex_rb/distinfo
new file mode 100644
index 000000000000..824af642293b
--- /dev/null
+++ b/devel/ruby-flex_rb/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/flex_rb-0.10.tar.gz) = 54a5f2fcf59e2e1663d3f4e7e9b3248e
diff --git a/devel/ruby-flex_rb/pkg-comment b/devel/ruby-flex_rb/pkg-comment
new file mode 100644
index 000000000000..e44e8db95f5b
--- /dev/null
+++ b/devel/ruby-flex_rb/pkg-comment
@@ -0,0 +1 @@
+Ruby flex regular expression matching extension
diff --git a/devel/ruby-flex_rb/pkg-descr b/devel/ruby-flex_rb/pkg-descr
new file mode 100644
index 000000000000..749974295d48
--- /dev/null
+++ b/devel/ruby-flex_rb/pkg-descr
@@ -0,0 +1,4 @@
+flex_rb is Ruby flex regular expression matching extension.
+
+Author: Szabo Peter <pts@fazekas.hu>
+WWW: http://www.inf.bme.hu/~pts/
diff --git a/devel/ruby-flex_rb/pkg-plist b/devel/ruby-flex_rb/pkg-plist
new file mode 100644
index 000000000000..5f8da93ad059
--- /dev/null
+++ b/devel/ruby-flex_rb/pkg-plist
@@ -0,0 +1,13 @@
+%%RUBY_SITEARCHLIBDIR%%/flex.so
+%%RUBY_SITELIBDIR%%/flex2.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/ex_fr.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/ex_rr.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/test01.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/test02.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/test03.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/flex_rb/test04.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/flex_rb
+%%PORTDOCS%%@unexec rmdir %D/%%RUBY_EXAMPLESDIR%% 2>/dev/null || true
+%%PORTDOCS%%%%RUBY_DOCDIR%%/flex_rb/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/flex_rb
+%%PORTDOCS%%@unexec rmdir %D/%%RUBY_DOCDIR%% 2>/dev/null || true