aboutsummaryrefslogtreecommitdiffstats
path: root/www/ruby-div/Makefile
blob: 0207a80ace37616cf9080746d2f3eb611b52566c (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= ruby@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>