blob: 70040a0c5908bf7425917068eff097ec588fc6c5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $NetBSD: Makefile,v 1.5 2005/03/06 17:19:08 taca Exp $
DISTNAME= webunit-${VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
PKGREVISION= 1
CATEGORIES= www textproc ruby
MASTER_SITES= http://www.xpenguin.biz/download/webunit/
MAINTAINER= rasputin@idoru.mine.nu
HOMEPAGE= http://www.xpenguin.biz/download/webunit/index-en.html
COMMENT= HTTP unit testing framework for Ruby
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
WRKSRC= ${WRKDIR}/webunit
VERSION= 20040429++
.include "../../lang/ruby/rubyversion.mk"
DEPENDS+= ${RUBY_PKGPREFIX}-html-parser>=19990912p1:../../textproc/ruby-html-parser
DEPENDS+= ${RUBY_PKGPREFIX}-htmlsplit>=1.0.2:../../www/ruby-htmlsplit
.if ${RUBY_VER} == 16
DEPENDS+= ${RUBY_PKGPREFIX}-testunit>=0.1:../../devel/ruby-testunit
DEPENDS+= ${RUBY_PKGPREFIX}-rexml>=2.4.8:../../textproc/ruby-rexml
.endif
pre-patch:
cd ${WRKSRC}/lib; \
${RM} formatter.rb html-parser.rb sgml-parser.rb htmlsplit.rb
post-install:
${CP} -R ${WRKSRC}/doc ${RUBY_DOCDIR}/webunit
${CP} -R ${WRKSRC}/sample ${RUBY_EXAMPLESDIR}/webunit
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"
|