e9a5b7bc43
Tested by msf@. Thanks!
42 lines
889 B
Makefile
42 lines
889 B
Makefile
# $OpenBSD: Makefile,v 1.2 2009/08/08 21:20:14 bernd Exp $
|
|
|
|
COMMENT = lean and RESTful interface to CouchDB
|
|
|
|
DISTNAME = couchrest-0.33
|
|
PKGNAME = ruby-${DISTNAME}
|
|
CATEGORIES = databases
|
|
|
|
HOMEPAGE = http://github.com/jchris/couchrest/
|
|
|
|
# Apache 2.0
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_RUBYFORGE:=couchapp/}
|
|
|
|
MODULES = lang/ruby
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = ::converters/ruby-json \
|
|
:ruby-rest-client->=1.0.3:www/ruby-rest-client \
|
|
::mail/ruby-mime-types
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
PKG_ARCH = *
|
|
|
|
REGRESS_DEPENDS = ::devel/ruby-rake \
|
|
::devel/ruby-rspec \
|
|
::devel/ruby-extlib \
|
|
::databases/apache-couchdb
|
|
|
|
# needs a running couchdb server
|
|
REGRESS_IS_INTERACTIVE = Yes
|
|
|
|
do-regress:
|
|
@cd ${WRKBUILD} && ${LOCALBASE}/bin/rake spec
|
|
|
|
.include <bsd.port.mk>
|