a43a09f64a
The validatable library can be included with any Ruby class and provide ActiveRecord looking validations. The library follows ActiveRecord's lead for features that are similar and introduce new features.
32 lines
636 B
Makefile
32 lines
636 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/08/09 08:33:32 bernd Exp $
|
|
|
|
COMMENT = provide ActiveRecord looking validations
|
|
|
|
DISTNAME = validatable-1.6.7
|
|
PKGNAME = ruby-${DISTNAME}
|
|
CATEGORIES = databases
|
|
|
|
HOMEPAGE = http://validatable.rubyforge.org/
|
|
|
|
# Ruby license
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_RUBYFORGE:=validatable/}
|
|
|
|
MODULES = lang/ruby
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
PKG_ARCH = *
|
|
|
|
REGRESS_DEPENDS = ::devel/ruby-mocha \
|
|
::devel/ruby-rake
|
|
|
|
do-regress:
|
|
@cd ${WRKBUILD} && ${LOCALBASE}/bin/rake test
|
|
|
|
.include <bsd.port.mk>
|