PKG_ARCH = * removed from many ports as it is added automatically for pure ruby gem ports. Switch ports that previously used GEM_SKIPDEPENDS to adding dependencies or modifying the underlying gem metadata with patches. OK landry@
27 lines
628 B
Makefile
27 lines
628 B
Makefile
# $OpenBSD: Makefile,v 1.8 2010/11/08 23:28:55 jeremy Exp $
|
|
|
|
COMMENT = pure-Ruby implementation of the SCP protocol
|
|
|
|
DISTNAME = net-scp-1.0.2
|
|
REVISION = 2
|
|
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 = :${MODRUBY_PKG_PREFIX}-net-ssh->=2.0.0:net/ruby-net-ssh,${FLAVOR}
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
REGRESS_DEPENDS = :${MODRUBY_PKG_PREFIX}-mocha-*:devel/ruby-mocha,${FLAVOR}
|
|
do-regress:
|
|
@cd ${WRKBUILD} && ${RUBY} -rubygems -Ilib test/test_all.rb
|
|
|
|
.include <bsd.port.mk>
|