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