39 lines
801 B
Makefile
39 lines
801 B
Makefile
# $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
|
|
|
|
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>
|