2001-07-11 18:37:08 +02:00
|
|
|
# $NetBSD: Makefile,v 1.2 2001/07/11 16:37:08 taca Exp $
|
2001-07-01 16:00:22 +02:00
|
|
|
|
|
|
|
DISTNAME= rttool-${VERSION}
|
|
|
|
PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
|
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= http://www.ruby-lang.org/~rubikitch/archive/
|
|
|
|
|
|
|
|
MAINTAINER= taca@netbsd.org
|
|
|
|
HOMEPAGE= http://www.ruby-lang.org/~rubikitch/computer/rt.html
|
|
|
|
COMMENT= RT to HTML (and hopefully LaTeX in future) table converter
|
|
|
|
|
|
|
|
DEPENDS+= ${RUBY_PKGNAMEPREFIX}optparse>=0.7:../../devel/ruby-optparse
|
|
|
|
DEPENDS+= w3m>=0.2.1:../../www/w3m
|
|
|
|
|
|
|
|
DIST_SUBDIR= ruby
|
2001-07-11 18:37:08 +02:00
|
|
|
VERSION= 0.1.4
|
|
|
|
USE_RUBY_SETUP= # defined
|
2001-07-01 16:00:22 +02:00
|
|
|
|
2001-07-11 18:37:08 +02:00
|
|
|
REPLACE_RUBY= bin/rt/rt2 lib/rt/rt2html-lib.rb lib/rt/rt2txt-lib.rb \
|
|
|
|
lib/rt/rtparser-test.rb lib/rt/rtparser.rb \
|
|
|
|
lib/rt/rtvisitor.rb lib/rt/w3m.rb
|
2001-07-01 16:00:22 +02:00
|
|
|
|
|
|
|
DOCS_JA= rt.html rt.rd
|
|
|
|
|
2001-07-11 18:37:08 +02:00
|
|
|
pre-configure:
|
|
|
|
${RM} -f ${WRKSRC}/setup/rt.rb
|
|
|
|
|
|
|
|
post-install:
|
2001-07-01 16:00:22 +02:00
|
|
|
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/rt/ja
|
|
|
|
.for f in ${DOCS_JA}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/rt/ja
|
|
|
|
.endfor
|
|
|
|
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/rt
|
2001-07-11 18:37:08 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/dot.rt.rd2rc ${RUBY_EXAMPLESDIR}/rt
|
2001-07-01 16:00:22 +02:00
|
|
|
|
|
|
|
.include "../../lang/ruby-base/Makefile.common"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|