diff options
author | taca <taca> | 2005-11-09 04:25:09 +0000 |
---|---|---|
committer | taca <taca> | 2005-11-09 04:25:09 +0000 |
commit | 033100db5bfa636d4494b890b80c67185a206dca (patch) | |
tree | 5b16ea6c852f902361f788bf63030a64dba18a6e /textproc | |
parent | b3b4c8403f51cca6d0ee5eebc88cca44877f56be (diff) | |
download | pkgsrc-033100db5bfa636d4494b890b80c67185a206dca.tar.gz |
Prevent installing extra ${PREFIX}/bin/rdswap.rb. It fixes a problem
found by bulk-build.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-rdtool/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/ruby-rdtool/Makefile b/textproc/ruby-rdtool/Makefile index 06f98a17d02..b2c250cba57 100644 --- a/textproc/ruby-rdtool/Makefile +++ b/textproc/ruby-rdtool/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2005/11/03 07:21:28 taca Exp $ +# $NetBSD: Makefile,v 1.19 2005/11/09 04:25:09 taca Exp $ DISTNAME= rdtool-0.6.18 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} @@ -30,6 +30,9 @@ SUBST_MESSAGE.path= "Fixing PKG_SYSCONFDIR paths." DOCS_RD= README.rd README.rd.ja doc/rd-draft.rd doc/rd-draft.rd.ja DOCS= ${DOCS_RD} ${DOCS_RD:S/.rd/.html/} +pre-configure: + @cd ${WRKSRC}/bin; ${MV} rdswap.rb rdswap; ${CHMOD} ${BINMODE} rdswap + post-build: .for f in ${DOCS_RD} cd ${WRKSRC}; ${RUBY} -I./lib bin/rd2 -r lib/rd/rd2html-lib.rb ${f} \ @@ -37,7 +40,6 @@ post-build: .endfor post-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/rdswap.rb ${PREFIX}/bin/rdswap ${INSTALL_DATA} ${WRKSRC}/lib/rd/dot.rd2rc \ ${RUBY_SITELIBDIR}/rd/dot.rd2rc ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/rd |