openbsd-ports/security/ruby-bcrypt/Makefile
jcs c27d48be73 make this actually work again after the last update from pirofti
the authors changed the interfaces to the bcrypt() and
bcrypt_gensalt() routines, so rename them to avoid conflicting with
our own routines in libc
2010-01-01 20:35:34 +00:00

38 lines
771 B
Makefile

# $OpenBSD: Makefile,v 1.4 2010/01/01 20:35:34 jcs Exp $
SHARED_ONLY = Yes
COMMENT = Ruby binding for the bcrypt() password hashing algorithm
VERSION = 2.1.2
DISTNAME = bcrypt-ruby-${VERSION}
PKGNAME = ruby-bcrypt-${VERSION}p0
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}
MODRUBY_REGRESS = rake rspec
.include <bsd.port.mk>