openbsd-ports/net/ruby-net-ssh-gateway/Makefile
2009-05-18 14:30:53 +00:00

32 lines
675 B
Makefile

# $OpenBSD: Makefile,v 1.3 2009/05/18 14:30:53 pirofti Exp $
COMMENT = library for programmatically tunneling connections
DISTNAME = net-ssh-gateway-1.0.1
PKGNAME = ruby-${DISTNAME}
CATEGORIES = net
# MIT
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/gateway_test.rb
.include <bsd.port.mk>