43 lines
982 B
Makefile
43 lines
982 B
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.5
|
|
CATEGORIES= devel ruby
|
|
MASTER_SITES= http://www.loveruby.net/archive/%SUBDIR%/ \
|
|
http://www.ruby-lang.org/~knu/backup/
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
DIST_SUBDIR= ruby
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
USE_RUBY= yes
|
|
USE_RUBY_SETUP= yes
|
|
|
|
RUBY_SETUP= install.rb
|
|
|
|
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-install:
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
|
|
.for f in ${DOCS_EN}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
|
|
.endfor
|
|
.for f in ${DOCS_JA}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|