# Created by: Akinori MUSHA aka knu # $FreeBSD: head/devel/ruby-bsearch/Makefile 345523 2014-02-21 18:30:45Z antoine $ PORTNAME= bsearch PORTVERSION= 1.5 CATEGORIES= devel ruby MASTER_SITES= http://0xcc.net/ruby-bsearch/ PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} DISTNAME= ruby-${PORTNAME}-${PORTVERSION} DIST_SUBDIR= ruby MAINTAINER= ruby@FreeBSD.org COMMENT= Binary search library for Ruby USE_RUBY= yes NO_BUILD= yes RUBY_RD_FILES= bsearch.en.rd bsearch.ja.rd DOCS_EN= ChangeLog \ ${RUBY_RD_FILES:M*.en.rd} \ ${RUBY_RD_HTML_FILES:M*.en.html} DOCS_JA= ${RUBY_RD_FILES:M*.ja.rd} \ ${RUBY_RD_HTML_FILES:M*.ja.html} OPTIONS_DEFINE= DOCS do-install: @${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR} ${INSTALL_SCRIPT} ${WRKSRC}/bsearch.rb ${STAGEDIR}${RUBY_SITELIBDIR} ${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}/ja .for f in ${DOCS_EN} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR} .endfor .for f in ${DOCS_JA} ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/ja .endfor .include