summaryrefslogtreecommitdiff
path: root/devel/ruby-racc
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-12 20:09:41 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-12 20:09:41 +0000
commit596ebf8a494ccec324a561d381d1c60d5f35cf02 (patch)
tree740528554f6f5efe5651a2e1c0f603dcf8fb5474 /devel/ruby-racc
parentAdd two missing files and one directory. (diff)
Do The Right Thing. (R)
Overall changes: Use tabs instead of sequential spaces. Note Author as well as WWW in DESCR. Do not install examples when NOPORTDOCS. Make RUBY, RUBY_VER and RUBY_ARCH variables overridable. ruby-date2: share/doc/ruby/date2/examples/ -> share/examples/ruby/date2/cal.rb textproc/ruby-html-parser: databases/ruby-mysql: devel/ruby-optparse: devel/ruby-property: Install modules under lib/ruby/site_ruby/${RUBY_VER}/ instead of lib/ruby/site_ruby/ or lib/ruby/${RUBY_VER}/ textproc/ruby-rdtool: Install documents in .rd format too. Format optparse's rd file. (Since ruby-rdtool depends on optparse, it cannot be done during optparse's build process. So ruby-rdtool should take care of that when it is installed. :)
Notes
Notes: svn path=/head/; revision=31584
Diffstat (limited to 'devel/ruby-racc')
-rw-r--r--devel/ruby-racc/Makefile14
-rw-r--r--devel/ruby-racc/pkg-descr1
2 files changed, 8 insertions, 7 deletions
diff --git a/devel/ruby-racc/Makefile b/devel/ruby-racc/Makefile
index 7b8730e8a03a..5292b8b7cf12 100644
--- a/devel/ruby-racc/Makefile
+++ b/devel/ruby-racc/Makefile
@@ -1,6 +1,6 @@
-# New ports collection makefile for: Ruby-Racc
-# Date created: 7 Aug 2000
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+# New ports collection makefile for: Ruby-Racc
+# Date created: 7 Aug 2000
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
@@ -20,9 +20,9 @@ RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby \
PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}"
-RUBY= ${LOCALBASE}/bin/ruby
-RUBY_VER= 1.4
-RUBY_ARCH= ${ARCH}-freebsd${OSREL}
+RUBY?= ${LOCALBASE}/bin/ruby
+RUBY_VER?= 1.4
+RUBY_ARCH?= ${ARCH}-freebsd${OSREL}
MODULES= facade.rb format.rb grammer.rb info.rb iset.rb \
libracc.rb raccp.rb raccs.rb state.rb
@@ -59,11 +59,11 @@ do-install:
${MKDIR} ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}/racc
${INSTALL_DATA} ${WRKSRC}/ext/cparse/cparse.so \
${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}/racc/
+.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/ruby/racc
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/sample/${f} ${PREFIX}/share/examples/ruby/racc/
.endfor
-.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ruby/racc/ja
.for f in ${DOCS_EN}
${INSTALL_DATA} ${WRKSRC}/doc.en/${f} ${PREFIX}/share/doc/ruby/racc/
diff --git a/devel/ruby-racc/pkg-descr b/devel/ruby-racc/pkg-descr
index 92ed74dbef18..73abc0871d4a 100644
--- a/devel/ruby-racc/pkg-descr
+++ b/devel/ruby-racc/pkg-descr
@@ -2,4 +2,5 @@ Racc is an LALR(1) parser generator for Ruby. It is written in Ruby
and generates Ruby code. Almost all functions of yacc(1) is
implemented.
+Author: Minero Aoki <aamine@dp.u-netsurf.ne.jp>
WWW: http://www1.u-netsurf.ne.jp/~brew/mine/en/index.html