aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2000-08-13 04:09:41 +0800
committerknu <knu@FreeBSD.org>2000-08-13 04:09:41 +0800
commite932a87c5235b90fa671f5b453afd18c94f3b2f3 (patch)
tree7f470d6c370885834b1ad0e7ffcd9a38f0534974 /converters
parent761a287d6d458a83abfd6ab90410b27c5cda14af (diff)
downloadfreebsd-ports-gnome-e932a87c5235b90fa671f5b453afd18c94f3b2f3.tar.gz
freebsd-ports-gnome-e932a87c5235b90fa671f5b453afd18c94f3b2f3.tar.zst
freebsd-ports-gnome-e932a87c5235b90fa671f5b453afd18c94f3b2f3.zip
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')
-rw-r--r--converters/ruby-iconv/Makefile15
-rw-r--r--converters/ruby-iconv/pkg-descr1
2 files changed, 7 insertions, 9 deletions
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 <nobu.nokada@softhome.net>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=iconv \ No newline at end of file