diff options
Diffstat (limited to 'www/ruby-webunit/Makefile')
-rw-r--r-- | www/ruby-webunit/Makefile | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/www/ruby-webunit/Makefile b/www/ruby-webunit/Makefile new file mode 100644 index 000000000000..85a2dca8d322 --- /dev/null +++ b/www/ruby-webunit/Makefile @@ -0,0 +1,48 @@ +# New ports collection makefile for: Ruby/WebUnit +# Date created: 20 September 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= webunit +PORTVERSION= 20010919 +CATEGORIES= www textproc ruby +MASTER_SITES= http://www.jbt.co.jp/user/yuichi/ruby/webunit/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${PORTNAME}-${PORTVERSION}-alpha +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +RUN_DEPENDS= ${RUBY_SITELIBDIR}/runit/assert.rb:${PORTSDIR}/devel/ruby-unit \ + ${RUBY_SITELIBDIR}/html-parser.rb:${PORTSDIR}/textproc/ruby-html-parser \ + ${RUBY_SITELIBDIR}/htmlrepair.rb:${PORTSDIR}/textproc/ruby-htmlrepair \ + ${RUBY_SITELIBDIR}/htmlsplit.rb:${PORTSDIR}/textproc/ruby-htmlsplit + +USE_RUBY= yes + +WRKSRC= ${WRKDIR}/${PORTNAME} +NO_BUILD= yes + +EXAMPLES_EN= cgi test sample +DOCS_EN= index-en.html +DOCS_JA= index-ja.html TIPS-ja.html TODO-ja.sdf + +do-install: + cd ${WRKSRC} && ${RUBY} install.rb +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} +.for f in ${EXAMPLES_EN} + ${CP} -R ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/ +.endfor + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${RUBY_DOCDIR}/${PORTNAME}/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/ +.endfor +.endif + +.include <bsd.port.mk> |