openbsd-ports/www/ruby-sinatra/Makefile

36 lines
720 B
Makefile

# $OpenBSD: Makefile,v 1.3 2009/03/10 10:37:35 bernd Exp $
COMMENT = DSL for quickly creating web-applications in Ruby
DISTNAME = sinatra-0.9.1.1
PKGNAME = ruby-${DISTNAME}
CATEGORIES = www
HOMEPAGE = http://sinatra.github.com/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_RUBYFORGE:=sinatra/}
MODULES = lang/ruby
CONFIGURE_STYLE = ruby gem
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = :ruby-rack->=0.9.1:www/ruby-rack
PKG_ARCH = *
REGRESS_DEPENDS = ::devel/ruby-rake \
::textproc/ruby-haml \
::textproc/ruby-builder
do-regress:
@cd ${WRKBUILD} && ${LOCALBASE}/bin/rake test
.include <bsd.port.mk>