openbsd-ports/net/ruby-net-sftp/Makefile

27 lines
592 B
Makefile

# $OpenBSD: Makefile,v 1.15 2011/03/14 09:17:01 sthen Exp $
COMMENT = pure-ruby implementation of the SFTP client protocol
DISTNAME = net-sftp-2.0.2
REVISION = 4
CATEGORIES = net
# bsd/ruby
PERMIT_PACKAGE_CDROM = yes
PERMIT_PACKAGE_FTP = yes
PERMIT_DISTFILES_CDROM = yes
PERMIT_DISTFILES_FTP = yes
MODULES = lang/ruby
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = net/ruby-net-ssh,${MODRUBY_FLAVOR}>=2.0.0
CONFIGURE_STYLE = ruby gem
REGRESS_DEPENDS = devel/ruby-mocha,${MODRUBY_FLAVOR}
do-regress:
@cd ${WRKBUILD} && ${RUBY} -rubygems -Ilib test/test_all.rb
.include <bsd.port.mk>