f4542e4eb3
PKG_ARCH = * removed from many ports as it is added automatically for pure ruby gem ports. Switch ports that previously used GEM_SKIPDEPENDS to adding dependencies or modifying the underlying gem metadata with patches. OK landry@
34 lines
884 B
Makefile
34 lines
884 B
Makefile
# $OpenBSD: Makefile,v 1.5 2010/11/08 23:28:53 jeremy Exp $
|
|
|
|
COMMENT = lean and RESTful interface to CouchDB
|
|
|
|
DISTNAME = couchrest-0.33
|
|
REVISION = 1
|
|
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
|
|
|
|
MODULES = lang/ruby
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = :${MODRUBY_PKG_PREFIX}-json-*:converters/ruby-json,${FLAVOR} \
|
|
:${MODRUBY_PKG_PREFIX}-rest-client->=1.0.3:www/ruby-rest-client,${FLAVOR} \
|
|
:${MODRUBY_PKG_PREFIX}-mime-types-*:mail/ruby-mime-types,${FLAVOR}
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
REGRESS_DEPENDS = :${MODRUBY_PKG_PREFIX}-extlib-*:devel/ruby-extlib,${FLAVOR} \
|
|
::databases/apache-couchdb
|
|
MODRUBY_REGRESS = rake rspec
|
|
|
|
# needs a running couchdb server
|
|
REGRESS_IS_INTERACTIVE = Yes
|
|
|
|
.include <bsd.port.mk>
|