summaryrefslogtreecommitdiff
path: root/www/ruby16-borges/Makefile
blob: 9e2c7f9d58094528cec776ab28bd7c76ccc7911d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# $NetBSD: Makefile,v 1.1.1.1 2004/11/28 06:13:22 taca Exp $

DISTNAME=	borges-0.2.0
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES=	www ruby
MASTER_SITES=	http://segment7.net/projects/ruby/borges/

MAINTAINER=	rasputin@idoru.mine.nu
HOMEPAGE=	http://segment7.net/projects/ruby/borges/
COMMENT=	Ruby web application framework

.include "../../lang/ruby/rubyversion.mk"

DEPENDS+=	ruby16-installpkg>=0.0.1:../../devel/ruby-installpkg
DEPENDS+=	ruby16-webrick>=1.2.3:../../www/ruby-webrick

RUBY_VERSION=		${RUBY16_VERSION}
USE_RUBY_INSTALL=	yes
NO_BUILD=		yes
BORGES_SHARE_DIR=	data/doc data/examples

.if !empty(RUBY_SUFFIX)
pre-configure:
.for d in ${BORGES_SHARE_DIR}
	cd ${WRKSRC}; ${MV} $d/ruby $d/${RUBY_NAME}
.endfor
.endif

.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"