d765f5df76
In the upgrade from ruby 1.8.6 to 1.8.7, the PLISTs changed due to differences in how RDoc processes files. This also has a number of changes to the regress tests to work with the changes to devel/ruby-rake. It moves most of the regress tests to use MODRUBY_REGRESS. OK jcs@, landry@, jasper@, sthen@
32 lines
677 B
Makefile
32 lines
677 B
Makefile
# $OpenBSD: Makefile,v 1.9 2010/09/23 22:30:28 jeremy Exp $
|
|
|
|
COMMENT = pure-ruby implementation of the SFTP client protocol
|
|
|
|
DISTNAME = net-sftp-2.0.2
|
|
PKGNAME = ruby-${DISTNAME}
|
|
REVISION = 0
|
|
CATEGORIES = net
|
|
|
|
# bsd/ruby
|
|
PERMIT_PACKAGE_CDROM = yes
|
|
PERMIT_PACKAGE_FTP = yes
|
|
PERMIT_DISTFILES_CDROM = yes
|
|
PERMIT_DISTFILES_FTP = yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_RUBYFORGE:=net-ssh/}
|
|
|
|
MODULES = lang/ruby
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = :ruby-net-ssh->=2.0.0:net/ruby-net-ssh
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
PKG_ARCH = *
|
|
|
|
REGRESS_DEPENDS = :ruby-mocha-*:devel/ruby-mocha
|
|
do-regress:
|
|
@cd ${WRKBUILD} && ${RUBY} -rubygems -Ilib test/test_all.rb
|
|
|
|
.include <bsd.port.mk>
|