summaryrefslogtreecommitdiff
path: root/devel/ruby-strscan/Makefile
blob: fed1a46cf0c6e8d4a5ca1aca5880bc5010fb77b3 (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
33
34
# $NetBSD: Makefile,v 1.9 2005/03/06 17:19:06 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}
PKGREVISION=	2
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_HAS_ARCHLIB=	yes
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"