2008-06-21 12:12:59 +02:00
|
|
|
# $NetBSD: Makefile,v 1.18 2008/06/21 10:12:59 taca Exp $
|
2001-07-01 13:58:20 +02:00
|
|
|
|
|
|
|
DISTNAME= ruby-bsearch-${VERSION}
|
2004-11-27 17:00:09 +01:00
|
|
|
PKGNAME= ${RUBY_PKGPREFIX}-bsearch-${VERSION}
|
2008-06-19 16:42:24 +02:00
|
|
|
PKGREVISION= 2
|
2004-03-16 03:01:09 +01:00
|
|
|
CATEGORIES= devel ruby
|
2006-10-04 23:35:58 +02:00
|
|
|
MASTER_SITES= http://0xcc.net/ruby-bsearch/
|
2001-07-01 13:58:20 +02:00
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= taca@NetBSD.org
|
2006-10-04 23:35:58 +02:00
|
|
|
HOMEPAGE= http://0xcc.net/ruby-bsearch/
|
2001-07-01 13:58:20 +02:00
|
|
|
COMMENT= Binary search library for Ruby
|
|
|
|
|
2008-03-03 18:45:33 +01:00
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
2002-03-05 16:58:32 +01:00
|
|
|
VERSION= 1.5
|
2004-11-27 17:00:09 +01:00
|
|
|
NO_CONFIGURE= yes
|
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
|
|
|
|
|
2008-06-21 12:12:59 +02:00
|
|
|
INSTALLATION_DIRS= ${RUBY_DOC}/bsearch ${RUBY_VENDORLIB}
|
2008-06-19 16:42:24 +02:00
|
|
|
|
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:
|
2008-06-19 16:42:24 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/bsearch.rb \
|
|
|
|
${DESTDIR}${PREFIX}/${RUBY_VENDORLIB}/bsearch.rb
|
2002-01-03 16:50:00 +01:00
|
|
|
.for f in ${DOCS}
|
2008-06-19 16:42:24 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${RUBY_DOC}/bsearch
|
2002-01-03 16:50:00 +01:00
|
|
|
.endfor
|
|
|
|
|
2004-11-27 17:00:09 +01:00
|
|
|
.include "../../lang/ruby/modules.mk"
|
|
|
|
.include "../../textproc/ruby-rdtool/buildlink3.mk"
|
2001-07-01 13:58:20 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|