2003-07-17 23:31:04 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2003/07/17 21:33:38 grant Exp $
|
2001-07-01 13:58:20 +02:00
|
|
|
|
|
|
|
DISTNAME= ruby-bsearch-${VERSION}
|
|
|
|
PKGNAME= ${RUBY_PKGNAMEPREFIX}bsearch-${VERSION}
|
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://namazu.org/~satoru/ruby-bsearch/
|
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= taca@NetBSD.org
|
2001-07-01 13:58:20 +02:00
|
|
|
HOMEPAGE= http://namazu.org/~satoru/ruby-bsearch/
|
|
|
|
COMMENT= Binary search library for Ruby
|
|
|
|
|
2002-03-05 16:58:32 +01:00
|
|
|
VERSION= 1.5
|
2001-07-01 13:58:20 +02:00
|
|
|
DIST_SUBDIR= ruby
|
2002-01-03 16:50:00 +01:00
|
|
|
USE_RUBY_RD= # defined
|
2001-07-01 13:58:20 +02:00
|
|
|
NO_CONFIGURE= # defined
|
2003-02-17 16:27:58 +01:00
|
|
|
TEST_DIRS= ${WRKSRC}/tests
|
|
|
|
TEST_TARGET= check
|
2001-07-01 13:58:20 +02:00
|
|
|
|
2002-01-03 16:50:00 +01:00
|
|
|
RD_SRCS= bsearch.en.rd bsearch.ja.rd
|
|
|
|
DOCS= ${RD_SRCS} bsearch.en.html bsearch.ja.html bsearch.png
|
|
|
|
|
2001-07-01 13:58:20 +02:00
|
|
|
do-build:
|
2002-01-03 16:50:00 +01:00
|
|
|
.for f in ${RD_SRCS}
|
|
|
|
cd ${WRKSRC}; ${RUBY_RD} ${f} > ${f:S/.rd/.html/}
|
|
|
|
.endfor
|
2001-07-01 13:58:20 +02:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/bsearch.rb ${RUBY_SITELIBDIR}/bsearch.rb
|
2002-01-03 16:50:00 +01:00
|
|
|
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/bsearch
|
|
|
|
.for f in ${DOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/bsearch
|
|
|
|
.endfor
|
|
|
|
|
2002-01-04 10:47:56 +01:00
|
|
|
.include "../../textproc/ruby-rdtool/Makefile.common"
|
2001-07-01 13:58:20 +02:00
|
|
|
.include "../../lang/ruby-base/Makefile.common"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|