blob: 996fc6b4d4297c0adbf83974c1487cdca69f1aa4 (
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
|
# $NetBSD: Makefile,v 1.10 2006/02/05 23:11:28 joerg Exp $
DISTNAME= webunit-${VERSION}
PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
PKGREVISION= 2
CATEGORIES= www textproc ruby
MASTER_SITES= http://www.xpenguin.biz/download/webunit/
MAINTAINER= tech-pkg@NetBSD.org
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
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"
|