diff options
author | taca <taca@pkgsrc.org> | 2008-06-19 14:56:39 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2008-06-19 14:56:39 +0000 |
commit | 8e736657ea80f5cdab0e890080641bb10579b43e (patch) | |
tree | ecadf297687f683d11f0e3a009c968e3e55eeb59 /textproc/ruby-rdtool | |
parent | 6719719262568054375b35ad8421d3ea2bc6f40a (diff) | |
download | pkgsrc-8e736657ea80f5cdab0e890080641bb10579b43e.tar.gz |
- Switch to use vendor_dir with Ruby 1.8.7.
Bump PKGREVISION.
Diffstat (limited to 'textproc/ruby-rdtool')
-rw-r--r-- | textproc/ruby-rdtool/Makefile | 20 | ||||
-rw-r--r-- | textproc/ruby-rdtool/PLIST | 90 |
2 files changed, 58 insertions, 52 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile index 3abbad3be3d..ee1736ad789 100644 --- a/textproc/ruby-rdtool/Makefile +++ b/textproc/ruby-rdtool/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.26 2008/03/13 19:40:51 jlam Exp $ +# $NetBSD: Makefile,v 1.27 2008/06/19 14:57:20 taca Exp $ DISTNAME= rdtool-0.6.20 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= textproc ruby MASTER_SITES= http://www.moonwolf.com/ruby/archive/ @@ -18,7 +19,14 @@ CONFLICTS+= ruby[1-9][0-9]-rdtool-* USE_RUBY_SETUP= yes REPLACE_RUBY= bin/rd2 bin/rdswap -CONF_FILES+= ${RUBY_SITELIBDIR}/rd/dot.rd2rc ${PKG_SYSCONFDIR}/dot.rd2rc +CONFIGURE_ARGS+= --siteruby=${PREFIX}/${RUBY_VENDORLIB_BASE} \ + --siterubyver=${PREFIX}/${RUBY_VENDORLIB} \ + --siterubyverarch=${PREFIX}/${RUBY_VENDORARCHLIB} + +CONF_FILES+= ${PREFIX}/${RUBY_VENDORLIB}/rd/dot.rd2rc \ + ${PKG_SYSCONFDIR}/dot.rd2rc + +INSTALLATION_DIRS= ${RUBY_DOC}/rd ${RUBY_EG}/rd SUBST_CLASSES+= path SUBST_STAGE.path= post-configure @@ -40,14 +48,12 @@ post-build: post-install: ${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc \ - ${DESTDIR}${RUBY_SITELIBDIR}/rd/dot.rd2rc - ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_DOCDIR}/rd + ${DESTDIR}${PREFIX}/${RUBY_VENDORLIB}/rd/dot.rd2rc .for f in ${DOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${RUBY_DOCDIR}/rd + ${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/rd .endfor - ${INSTALL_DATA_DIR} ${DESTDIR}${RUBY_EXAMPLESDIR}/rd ${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc \ - ${DESTDIR}${RUBY_EXAMPLESDIR}/rd/dot.rd2rc + ${DESTDIR}${PREFIX}/${RUBY_EG}/rd/dot.rd2rc .include "../../lang/ruby/modules.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-rdtool/PLIST b/textproc/ruby-rdtool/PLIST index ed7924aefc3..2d2b5fd0c58 100644 --- a/textproc/ruby-rdtool/PLIST +++ b/textproc/ruby-rdtool/PLIST @@ -1,47 +1,47 @@ -@comment $NetBSD: PLIST,v 1.5 2006/09/07 15:55:50 taca Exp $ +@comment $NetBSD: PLIST,v 1.6 2008/06/19 14:57:20 taca Exp $ bin/rd2 bin/rdswap -${RUBY_SITELIBDIR}/rd/block-element.rb -${RUBY_SITELIBDIR}/rd/complex-list-item.rb -${RUBY_SITELIBDIR}/rd/desclist.rb -${RUBY_SITELIBDIR}/rd/document-struct.rb -${RUBY_SITELIBDIR}/rd/element.rb -${RUBY_SITELIBDIR}/rd/filter.rb -${RUBY_SITELIBDIR}/rd/inline-element.rb -${RUBY_SITELIBDIR}/rd/labeled-element.rb -${RUBY_SITELIBDIR}/rd/list.rb -${RUBY_SITELIBDIR}/rd/loose-struct.rb -${RUBY_SITELIBDIR}/rd/methodlist.rb -${RUBY_SITELIBDIR}/rd/output-format-visitor.rb -${RUBY_SITELIBDIR}/rd/package.rb -${RUBY_SITELIBDIR}/rd/parser-util.rb -${RUBY_SITELIBDIR}/rd/rbl-file.rb -${RUBY_SITELIBDIR}/rd/rbl-suite.rb -${RUBY_SITELIBDIR}/rd/rd-struct.rb -${RUBY_SITELIBDIR}/rd/dot.rd2rc -${RUBY_SITELIBDIR}/rd/rd2html-lib.rb -${RUBY_SITELIBDIR}/rd/rd2html-opt.rb -${RUBY_SITELIBDIR}/rd/rd2man-lib.rb -${RUBY_SITELIBDIR}/rd/rd2rdo-lib.rb -${RUBY_SITELIBDIR}/rd/rd2rmi-lib.rb -${RUBY_SITELIBDIR}/rd/rdblockparser.tab.rb -${RUBY_SITELIBDIR}/rd/rdfmt.rb -${RUBY_SITELIBDIR}/rd/rdinlineparser.tab.rb -${RUBY_SITELIBDIR}/rd/rdvisitor.rb -${RUBY_SITELIBDIR}/rd/reference-resolver.rb -${RUBY_SITELIBDIR}/rd/search-file.rb -${RUBY_SITELIBDIR}/rd/tree.rb -${RUBY_SITELIBDIR}/rd/version.rb -${RUBY_SITELIBDIR}/rd/visitor.rb -${RUBY_EXAMPLESDIR}/rd/dot.rd2rc -${RUBY_DOCDIR}/rd/README.html -${RUBY_DOCDIR}/rd/README.html.ja -${RUBY_DOCDIR}/rd/README.rd -${RUBY_DOCDIR}/rd/README.rd.ja -${RUBY_DOCDIR}/rd/rd-draft.html -${RUBY_DOCDIR}/rd/rd-draft.html.ja -${RUBY_DOCDIR}/rd/rd-draft.rd -${RUBY_DOCDIR}/rd/rd-draft.rd.ja -@dirrm ${RUBY_SITELIBDIR}/rd -@dirrm ${RUBY_EXAMPLESDIR}/rd -@dirrm ${RUBY_DOCDIR}/rd +${RUBY_VENDORLIB}/rd/block-element.rb +${RUBY_VENDORLIB}/rd/complex-list-item.rb +${RUBY_VENDORLIB}/rd/desclist.rb +${RUBY_VENDORLIB}/rd/document-struct.rb +${RUBY_VENDORLIB}/rd/element.rb +${RUBY_VENDORLIB}/rd/filter.rb +${RUBY_VENDORLIB}/rd/inline-element.rb +${RUBY_VENDORLIB}/rd/labeled-element.rb +${RUBY_VENDORLIB}/rd/list.rb +${RUBY_VENDORLIB}/rd/loose-struct.rb +${RUBY_VENDORLIB}/rd/methodlist.rb +${RUBY_VENDORLIB}/rd/output-format-visitor.rb +${RUBY_VENDORLIB}/rd/package.rb +${RUBY_VENDORLIB}/rd/parser-util.rb +${RUBY_VENDORLIB}/rd/rbl-file.rb +${RUBY_VENDORLIB}/rd/rbl-suite.rb +${RUBY_VENDORLIB}/rd/rd-struct.rb +${RUBY_VENDORLIB}/rd/dot.rd2rc +${RUBY_VENDORLIB}/rd/rd2html-lib.rb +${RUBY_VENDORLIB}/rd/rd2html-opt.rb +${RUBY_VENDORLIB}/rd/rd2man-lib.rb +${RUBY_VENDORLIB}/rd/rd2rdo-lib.rb +${RUBY_VENDORLIB}/rd/rd2rmi-lib.rb +${RUBY_VENDORLIB}/rd/rdblockparser.tab.rb +${RUBY_VENDORLIB}/rd/rdfmt.rb +${RUBY_VENDORLIB}/rd/rdinlineparser.tab.rb +${RUBY_VENDORLIB}/rd/rdvisitor.rb +${RUBY_VENDORLIB}/rd/reference-resolver.rb +${RUBY_VENDORLIB}/rd/search-file.rb +${RUBY_VENDORLIB}/rd/tree.rb +${RUBY_VENDORLIB}/rd/version.rb +${RUBY_VENDORLIB}/rd/visitor.rb +${RUBY_EG}/rd/dot.rd2rc +${RUBY_DOC}/rd/README.html +${RUBY_DOC}/rd/README.html.ja +${RUBY_DOC}/rd/README.rd +${RUBY_DOC}/rd/README.rd.ja +${RUBY_DOC}/rd/rd-draft.html +${RUBY_DOC}/rd/rd-draft.html.ja +${RUBY_DOC}/rd/rd-draft.rd +${RUBY_DOC}/rd/rd-draft.rd.ja +@dirrm ${RUBY_VENDORLIB}/rd +@dirrm ${RUBY_EG}/rd +@dirrm ${RUBY_DOC}/rd |