# $NetBSD: Makefile,v 1.15 2012/06/24 07:42:45 jperkin Exp $ DISTNAME= webunit-${VERSION} PKGREVISION= 3 CATEGORIES= www textproc ruby MASTER_SITES= http://www.xpenguin.biz/download/webunit/ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.xpenguin.biz/download/webunit/index-en.html COMMENT= HTTP unit testing framework for Ruby LICENSE= gnu-gpl-v2 OR ruby-license PKG_DESTDIR_SUPPORT= user-destdir DEPENDS+= ${RUBY_PKGPREFIX}-html-parser>=19990912p1:../../textproc/ruby-html-parser DEPENDS+= ${RUBY_PKGPREFIX}-htmlsplit>=1.0.2:../../www/ruby-htmlsplit USE_TOOLS= pax USE_RUBY_SETUP= yes RUBY_SETUP= install.rb WRKSRC= ${WRKDIR}/webunit VERSION= 20040429++ CONFIGURE_ARGS= --site-ruby=${PREFIX}/${RUBY_VENDORLIB} \ --so-dir=${PREFIX}/${RUBY_VENDORARCHLIB} INSTALLATION_DIRS+= ${RUBY_DOC}/webunit ${RUBY_EG}/webunit pre-patch: cd ${WRKSRC}/lib; \ ${RM} formatter.rb html-parser.rb sgml-parser.rb htmlsplit.rb post-install: cd ${WRKSRC}/doc; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_DOC}/webunit cd ${WRKSRC}/sample; ${PAX} -rw . ${DESTDIR}${PREFIX}/${RUBY_EG}/webunit .include "../../lang/ruby/modules.mk" .include "../../mk/bsd.pkg.mk"