summaryrefslogtreecommitdiff
path: root/devel/ruby-strscan/Makefile
blob: 7d5da9342e14d5a44833ec6965f840dba197a74e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.6 2004/11/28 06:04:04 taca Exp $
# FreeBSD: ports/devel/ruby-strscan/Makefile,v 1.13 2001/01/27 09:41:20 knu Exp

DISTNAME=	strscan-0.6.7
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES=	devel ruby
MASTER_SITES=	http://www.loveruby.net/archive/strscan/

MAINTAINER=	taca@NetBSD.org
HOMEPAGE=	http://www.loveruby.net/en/strscan.html
COMMENT=	Fast string scanner class library for Ruby

RUBY_VERSION=		${RUBY16_VERSION}
USE_RUBY_SETUP=		yes
RUBY_SETUP=		install.rb

DOCS_EN=	README.en doc.en/ChangeLog doc.en/umanual.html \
		doc.en/umanual.rd
DOCS_JA=	README.ja doc.ja/ChangeLog doc.ja/umanual.html \
		doc.ja/umanual.rd

post-install:
	${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/strscan/ja
.for f in ${DOCS_EN}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/strscan
.endfor
.for f in ${DOCS_JA}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/strscan/ja
.endfor

.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"