aboutsummaryrefslogtreecommitdiff
path: root/converters/ruby-iconv/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-08-12 20:09:41 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-08-12 20:09:41 +0000
commit596ebf8a494ccec324a561d381d1c60d5f35cf02 (patch)
tree740528554f6f5efe5651a2e1c0f603dcf8fb5474 /converters/ruby-iconv/Makefile
parentfa205cf0127276fbc75367f39be16135d70b5d9e (diff)
Notes
Diffstat (limited to 'converters/ruby-iconv/Makefile')
-rw-r--r--converters/ruby-iconv/Makefile15
1 files changed, 6 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