aboutsummaryrefslogtreecommitdiffstats
path: root/www/ruby-div/Makefile
blob: 1e9e7ce6e0c0e5625389ba5f3c5bc8c364070293 (plain) (blame)
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
31
32
# New ports collection makefile for:    Ruby-Div
# Date created:     10 February 2003
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   div
PORTVERSION=    1.2.0
CATEGORIES= www ruby
MASTER_SITES=   http://www2a.biglobe.ne.jp/~seki/ruby/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org
COMMENT=    A web application server using dRuby and ERB2

USE_RUBY=   yes
USE_RUBY_FEATURES=  drb erb

NO_BUILD=   yes

do-install:
    cd ${WRKSRC}; ${RUBY} install.rb
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}
    ${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
    ${MKDIR} ${RUBY_MODDOCDIR}
    ${CP} -R ${WRKSRC}/doc/* ${RUBY_MODDOCDIR}/
.endif

.include <bsd.port.mk>