37 lines
746 B
Makefile
37 lines
746 B
Makefile
# $OpenBSD: Makefile,v 1.4 2009/05/19 21:53:48 bernd Exp $
|
|
|
|
COMMENT = DSL for quickly creating web-applications in Ruby
|
|
|
|
DISTNAME = sinatra-0.9.2
|
|
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 \
|
|
::devel/ruby-rack-test
|
|
|
|
do-regress:
|
|
@cd ${WRKBUILD} && ${LOCALBASE}/bin/rake test
|
|
|
|
.include <bsd.port.mk>
|