aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-metaruby/Makefile
blob: 9dd575d4659c00930f5f849fa8cdd180e3c9d583 (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
# New ports collection makefile for:    MetaRuby
# Date created:     8 March 2001
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   metaruby
PORTVERSION=    0.5
CATEGORIES= devel ruby
MASTER_SITES=   http://hostname.2y.net/~matju/MetaRuby/
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   MetaRuby-${PORTVERSION}
DIST_SUBDIR=    ruby

MAINTAINER= knu@FreeBSD.org

USE_RUBY=   yes

NO_BUILD=   yes

DOCS=       ChangeLog   Overview    TODO

post-patch:
    ${RUBY} -i -ne '%r|^\$$: <<| or print' ${WRKSRC}/samples/*

do-install:
    ${INSTALL_DATA} ${WRKSRC}/lib/* ${RUBY_SITELIBDIR}/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
    ${INSTALL_DATA} ${WRKSRC}/samples/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/
    ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
.endfor
.endif

.include <bsd.port.mk>