blob: 659745b059ff51472be541663ac395cf823f7460 (
plain) (
blame)
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
37
38
39
40
41
42
43
44
45
46
47
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= 20040429
CATEGORIES= www textproc ruby
MASTER_SITES= http://www.xpenguin.biz/download/webunit/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DISTNAME= ${PORTNAME}-${PORTVERSION}++
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
COMMENT= A Ruby API for automated unit testing of web sites
RUN_DEPENDS= ${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
BROKEN= Incomplete pkg-plist
USE_RUBY= yes
USE_RUBY_FEATURES= rexml testunit
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
EXAMPLES= sample/*
DOCS= *.html *.rd
do-install:
${CP} -R ${WRKSRC}/lib/webunit* ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
.for f in ${EXAMPLES}
${CP} -R ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
.endfor
${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/doc/${f} ${RUBY_MODDOCDIR}/
.endfor
${MV} ${RUBY_MODDOCDIR}/*-ja.* ${RUBY_MODDOCDIR}/ja/
.endif
.include <bsd.port.mk>
|