openbsd-ports/net/ruby-net-ssh-gateway/Makefile

31 lines
636 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.5 2010/09/28 20:12:18 jeremy Exp $
COMMENT = library for programmatically tunneling connections
DISTNAME = net-ssh-gateway-1.0.1
PKGNAME = ruby-${DISTNAME}
REVISION = 0
CATEGORIES = net
# MIT
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 = :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/gateway_test.rb
.include <bsd.port.mk>