From 596ebf8a494ccec324a561d381d1c60d5f35cf02 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Sat, 12 Aug 2000 20:09:41 +0000 Subject: 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. :) --- devel/ruby-racc/Makefile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'devel/ruby-racc/Makefile') 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 +# New ports collection makefile for: Ruby-Racc +# Date created: 7 Aug 2000 +# Whom: Akinori MUSHA aka knu # # $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/ -- cgit v1.2.3