summaryrefslogtreecommitdiffstats
path: root/devel/ruby-rbison/Makefile
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-11-02 03:03:24 +0000
committerknu <knu@FreeBSD.org>2000-11-02 03:03:24 +0000
commit9b48648acc89b434ac2b86d48c29ef7dbbcfcb08 (patch)
tree2c6438c41306de5ff1d4c0b558c817bef28508b0 /devel/ruby-rbison/Makefile
parentf95caf42f8458d8f867e36e7baa52c270931b847 (diff)
downloadFreeBSD-ports-9b48648acc89b434ac2b86d48c29ef7dbbcfcb08.zip
FreeBSD-ports-9b48648acc89b434ac2b86d48c29ef7dbbcfcb08.tar.gz
Add ruby-rbison, which generates a Ruby parser class from a Bison-like
specification file.
Diffstat (limited to 'devel/ruby-rbison/Makefile')
-rw-r--r--devel/ruby-rbison/Makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/devel/ruby-rbison/Makefile b/devel/ruby-rbison/Makefile
new file mode 100644
index 0000000..2826664
--- /dev/null
+++ b/devel/ruby-rbison/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: rbison
+# Date created: 2 Nov 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= rbison
+PORTVERSION= 0.0.5
+CATEGORIES= devel ruby
+MASTER_SITES= http://www.cs.umass.edu/~aseltine/rbison/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+RUN_DEPENDS= bison:${PORTSDIR}/devel/bison
+
+USE_RUBY= yes
+
+RUBY_SHEBANG_FILES= ${WRKSRC}/rbison
+
+DOCS= ChangeLog README
+EXAMPLES= CalcFileLexer.rb CalcStringLexer.rb \
+ calc.in calc.ry calc_test.rb
+
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/rbison ${PREFIX}/bin/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/rbison
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/rbison/
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/rbison
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/rbison/
+.endfor
+.endif
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud