diff options
author | knu <knu@FreeBSD.org> | 2000-08-12 20:09:41 +0000 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2000-08-12 20:09:41 +0000 |
commit | e932a87c5235b90fa671f5b453afd18c94f3b2f3 (patch) | |
tree | 7f470d6c370885834b1ad0e7ffcd9a38f0534974 /converters/ruby-iconv | |
parent | 761a287d6d458a83abfd6ab90410b27c5cda14af (diff) | |
download | FreeBSD-ports-e932a87c5235b90fa671f5b453afd18c94f3b2f3.zip FreeBSD-ports-e932a87c5235b90fa671f5b453afd18c94f3b2f3.tar.gz |
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. :)
Diffstat (limited to 'converters/ruby-iconv')
-rw-r--r-- | converters/ruby-iconv/Makefile | 15 | ||||
-rw-r--r-- | converters/ruby-iconv/pkg-descr | 1 |
2 files changed, 7 insertions, 9 deletions
diff --git a/converters/ruby-iconv/Makefile b/converters/ruby-iconv/Makefile index bbeb885..b22a6c3 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 c2465e1..704e0fa 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 <nobu.nokada@softhome.net> +WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=iconv
\ No newline at end of file |