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. :) --- converters/ruby-iconv/Makefile | 15 ++++++--------- converters/ruby-iconv/pkg-descr | 1 + 2 files changed, 7 insertions(+), 9 deletions(-) (limited to 'converters') diff --git a/converters/ruby-iconv/Makefile b/converters/ruby-iconv/Makefile index bbeb8853e420..b22a6c3e59f5 100644 --- a/converters/ruby-iconv/Makefile +++ b/converters/ruby-iconv/Makefile @@ -22,14 +22,13 @@ RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby BUILD_DEPENDS+= rd2:${PORTSDIR}/textproc/ruby-rdtool .endif -PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" +INSTALL_TARGET= site-install -RUBY= ${LOCALBASE}/bin/ruby -RUBY_VER= 1.4 -RUBY_ARCH= ${ARCH}-freebsd${OSREL} +PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" -pre-patch: -# ${CHMOD} u+w ${WRKSRC}/extconf.rb +RUBY?= ${LOCALBASE}/bin/ruby +RUBY_VER?= 1.4 +RUBY_ARCH?= ${ARCH}-freebsd${OSREL} do-configure: @cd ${WRKSRC}; \ @@ -41,9 +40,7 @@ post-build: rd2 iconv.c > iconv.html .endif -do-install: - ${INSTALL_DATA} ${WRKSRC}/iconv.so \ - ${PREFIX}/lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}/ +post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${PREFIX}/share/doc/ruby/iconv .for f in iconv.html rd.css diff --git a/converters/ruby-iconv/pkg-descr b/converters/ruby-iconv/pkg-descr index c2465e1ded1d..704e0faf350b 100644 --- a/converters/ruby-iconv/pkg-descr +++ b/converters/ruby-iconv/pkg-descr @@ -4,3 +4,4 @@ Note that this version is still experimental. Report any problems to the author. Author: Nobuyoshi.Nakada +WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=iconv \ No newline at end of file -- cgit v1.2.3