diff options
author | taca <taca@pkgsrc.org> | 2009-02-15 03:33:59 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2009-02-15 03:33:59 +0000 |
commit | 9f0bdb735862ee45a534d8ff74951c0da7d8a0b6 (patch) | |
tree | 1715b4b78077c867855152b0cd15a226b9979ce3 /textproc | |
parent | 2615e3b7d24e64b62456079c70b2279afa66ef7b (diff) | |
download | pkgsrc-9f0bdb735862ee45a534d8ff74951c0da7d8a0b6.tar.gz |
Enable DESTDIR support with stop using install.rb script.
(No other functional change.)
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-html-parser/Makefile | 13 | ||||
-rw-r--r-- | textproc/ruby-html-parser/patches/patch-aa | 13 |
2 files changed, 9 insertions, 17 deletions
diff --git a/textproc/ruby-html-parser/Makefile b/textproc/ruby-html-parser/Makefile index 37011c13fb6..a58967ee406 100644 --- a/textproc/ruby-html-parser/Makefile +++ b/textproc/ruby-html-parser/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2008/06/19 14:55:41 taca Exp $ +# $NetBSD: Makefile,v 1.10 2009/02/15 03:33:59 taca Exp $ DISTNAME= html-parser-${VERSION} PKGNAME= ${RUBY_PKGPREFIX}-html-parser-${VERSION} @@ -13,11 +13,16 @@ COMMENT= HTML-parser package for Ruby NO_BUILD= yes NO_CONFIGURE= yes -USE_RUBY_INSTALL= yes VERSION= 19990912p2 -INSTALLATION_DIRS= ${RUBY_DOC}/html-parser +INSTALLATION_DIRS= ${RUBY_DOC}/html-parser ${RUBY_VENDORLIB} +PKG_DESTDIR_SUPPORT= user-destdir -post-install: +SRCS= formatter.rb html-parser.rb sgml-parser.rb + +do-install: +.for f in ${SRCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_VENDORLIB} +.endfor ${INSTALL_DATA} ${WRKSRC}/README.html \ ${DESTDIR}${PREFIX}/${RUBY_DOC}/html-parser diff --git a/textproc/ruby-html-parser/patches/patch-aa b/textproc/ruby-html-parser/patches/patch-aa deleted file mode 100644 index 038db772763..00000000000 --- a/textproc/ruby-html-parser/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2005/11/03 05:16:51 taca Exp $ - ---- install.rb.orig 2001-07-10 20:10:05.000000000 +0900 -+++ install.rb -@@ -11,7 +11,7 @@ $srcdir = CONFIG["srcdir"] - $version = CONFIG["MAJOR"]+"."+CONFIG["MINOR"] - $libdir = File.join(CONFIG["libdir"], "ruby", $version) - $archdir = File.join($libdir, CONFIG["arch"]) --$site_libdir = CONFIG["sitedir"] -+$site_libdir = CONFIG["sitelibdir"] - if !$site_libdir - $site_libdir = $:.find {|x| x =~ /site_ruby$/} - end |