2000-08-12 16:09:41 -04:00
|
|
|
# New ports collection makefile for: Ruby-OptionParser
|
|
|
|
# Date created: 7 Aug 2000
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
2000-08-07 07:23:12 -04:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= optparse
|
2001-06-08 07:21:49 -04:00
|
|
|
PORTVERSION= 0.8.2
|
2000-08-16 08:21:24 -04:00
|
|
|
CATEGORIES= devel ruby
|
2000-08-07 07:23:12 -04:00
|
|
|
MASTER_SITES= http://member.nifty.ne.jp/nokada/archive/
|
2000-09-07 03:23:43 -04:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2000-08-08 12:08:31 -04:00
|
|
|
DIST_SUBDIR= ruby
|
2000-08-07 07:23:12 -04:00
|
|
|
|
|
|
|
MAINTAINER= knu@FreeBSD.org
|
|
|
|
|
2000-09-07 03:23:43 -04:00
|
|
|
USE_RUBY= yes
|
2000-08-07 07:23:12 -04:00
|
|
|
|
|
|
|
NO_BUILD= yes
|
|
|
|
|
2001-04-10 12:13:36 -04:00
|
|
|
DOCS_EN= ChangeLog.html \
|
|
|
|
README.en \
|
|
|
|
optparse.en.rd \
|
|
|
|
optparse.html \
|
|
|
|
optparse.rlog \
|
|
|
|
rmi.html
|
|
|
|
DOCS_JA= FIRSTSTEP.ja.html \
|
|
|
|
FIRSTSTEP.ja.rd \
|
|
|
|
README.ja \
|
|
|
|
optparse.ja.html \
|
|
|
|
optparse.ja.rd
|
|
|
|
|
2000-08-07 07:23:12 -04:00
|
|
|
do-install:
|
2001-04-10 12:13:36 -04:00
|
|
|
${MKDIR} ${RUBY_SITELIBDIR}/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/optparse.rb ${RUBY_SITELIBDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/optparse/*.rb${f} ${RUBY_SITELIBDIR}/${PORTNAME}/
|
2000-08-07 07:23:12 -04:00
|
|
|
.if !defined(NOPORTDOCS)
|
2001-04-10 12:13:36 -04:00
|
|
|
${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ja
|
|
|
|
${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja
|
|
|
|
.for f in ${DOCS_EN}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
|
2000-08-07 07:23:12 -04:00
|
|
|
.endfor
|
2001-04-10 12:13:36 -04:00
|
|
|
.for f in ${DOCS_JA}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/
|
2000-08-07 07:23:12 -04:00
|
|
|
.endfor
|
|
|
|
.for f in cmd-ls.rb cmd.rb getopts.test.en opttest.rb
|
2001-04-10 12:13:36 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
|
2000-08-07 07:23:12 -04:00
|
|
|
.endfor
|
|
|
|
.for f in getopts.test
|
2001-04-10 12:13:36 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ja
|
2000-08-07 07:23:12 -04:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
2000-09-26 04:02:17 -04:00
|
|
|
.include <bsd.port.mk>
|