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-intl/Makefile | 8 ++++---- devel/ruby-intl/pkg-descr | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'devel/ruby-intl') diff --git a/devel/ruby-intl/Makefile b/devel/ruby-intl/Makefile index b686bb199558..5574ff781759 100644 --- a/devel/ruby-intl/Makefile +++ b/devel/ruby-intl/Makefile @@ -24,19 +24,19 @@ INSTALL_TARGET= site-install WRKSRC= ${WRKDIR}/${PORTNAME} 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} do-configure: @cd ${WRKSRC}; \ ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb post-install: +.if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/examples/ruby/intl/po/ ${INSTALL_DATA} ${WRKSRC}/hello.rb ${PREFIX}/share/examples/ruby/intl/ ${INSTALL_DATA} ${WRKSRC}/ja.po ${PREFIX}/share/examples/ruby/intl/po/ -.if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/ruby/intl/ja ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ruby/intl/ ${INSTALL_DATA} ${WRKSRC}/README.jp ${PREFIX}/share/doc/ruby/intl/ja/ diff --git a/devel/ruby-intl/pkg-descr b/devel/ruby-intl/pkg-descr index c453a34ca20b..f96ca6caee6c 100644 --- a/devel/ruby-intl/pkg-descr +++ b/devel/ruby-intl/pkg-descr @@ -1,3 +1,4 @@ Ruby-intl -- A simple wrapper of GNU gettext for ruby +Author: HIRATA Naoto WWW: http://www.page.sannet.ne.jp/hirata-naoto/ruby-e.html -- cgit v1.2.3