summaryrefslogtreecommitdiffstats
path: root/textproc/ruby-tempura/Makefile
blob: 133b0855b0800c11b3e6148b8091451b8cf30e40 (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
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.2
CATEGORIES=	textproc ruby
MASTER_SITES=	http://www.imasy.or.jp/~hisa/ruby/tempura/files/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
EXTRACT_SUFX=	.tgz
DIST_SUBDIR=	ruby

MAINTAINER=	ports@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>
OpenPOWER on IntegriCloud