openbsd-ports/security/ruby-bcrypt/Makefile

39 lines
801 B
Makefile
Raw Normal View History

2009-05-19 18:44:21 -04:00
# $OpenBSD: Makefile,v 1.2 2009/05/19 22:44:21 bernd Exp $
SHARED_ONLY = Yes
COMMENT = Ruby binding for the bcrypt() password hashing algorithm
2009-05-19 18:44:21 -04:00
VERSION = 2.0.5
DISTNAME = bcrypt-ruby-${VERSION}
PKGNAME = ruby-bcrypt-${VERSION}
CATEGORIES = security
HOMEPAGE = http://bcrypt-ruby.rubyforge.org/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_RUBYFORGE:=bcrypt-ruby/}
MODULES = lang/ruby
WANTLIB = c m
LIB_DEPENDS = ${MODRUBY_LIB_DEPENDS}
CONFIGURE_STYLE = ruby gem
REGRESS_DEPENDS = ::devel/ruby-rake \
::devel/ruby-rspec \
::devel/ruby-rcov \
::devel/ruby-diff-lcs \
:${PKGNAME}:${BASE_PKGPATH}
do-regress:
@cd ${WRKBUILD} && ${LOCALBASE}/bin/rake spec
.include <bsd.port.mk>