freebsd-ports/devel/ruby-strscan/Makefile
2001-04-07 12:17:20 +00:00

46 lines
1.0 KiB
Makefile

# New ports collection makefile for: Ruby-strscan
# Date created: 7 Aug 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= strscan
PORTVERSION= 0.6.3
CATEGORIES= devel ruby
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://www9.xdsl.ne.jp/~aamine/soft/ \
http://www.xdsl.ne.jp/Cd/aamine/soft/
MASTER_SITE_SUBDIR= knu
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
USE_RUBY= yes
USE_RUBY_AMSTD= yes
USE_RUBY_SETUP= yes
DOCS_EN= README.en \
doc.en/changes.html doc.en/index.html \
doc.en/reference.html doc.en/usage.html
DOCS_JA= README.ja \
doc.ja/changes.html doc.ja/index.html \
doc.ja/reference.html doc.ja/usage.html
post-patch:
${RUBY} -i -pe "gsub /'ARCH'/, %q/'arch'/" ${WRKSRC}/setup.rb
do-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${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
.endif
.include <bsd.port.mk>