aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/ruby-tempura/Makefile
blob: 3126fa7e6239c4b66c026c0e4fd66db2e420cd9c (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
33
34
35
36
37
38
39
40
41
# New ports collection makefile for:    Ruby-Tempura
# Date created:     18 March 2004
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   tempura
PORTVERSION=    0.1.2r3
CATEGORIES= textproc ruby
MASTER_SITES=   http://www.fobj.com/tempura/files/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX=   .tgz
DIST_SUBDIR=    ruby

MAINTAINER= ruby@FreeBSD.org
COMMENT=    TEMPlate Utility for Ruby Application

USE_RUBY=   yes
RUBY_FEATURES=  rexml

NO_BUILD=   yes

DOCS_EN=    ChangeLog README
DOCS_JA=    README.ja doc

do-install:
    cd ${WRKSRC}; ${RUBY} install.rb
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_MODEXAMPLESDIR}/
    ${CP} -R ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
    ${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
    ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
    ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif

.include <bsd.port.mk>