aboutsummaryrefslogtreecommitdiffstats
path: root/devel/ruby-rbbr/Makefile
blob: baf0d16c9290bc79a7edb18841a25c6bc2978051 (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
42
43
44
# New ports collection makefile for:    rbbr
# Date created:     24 November 2002
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   rbbr
PORTVERSION=    0.6.0
PORTREVISION=   1
CATEGORIES= devel ruby
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ruby-gnome2
PKGNAMEPREFIX=  ${RUBY_PKGNAMEPREFIX}
DISTNAME=   ${PORTNAME}-${PORTVERSION:S/r/rev/}
DIST_SUBDIR=    ruby

MAINTAINER= mezz@FreeBSD.org
COMMENT=    A GTK+2-based Ruby module browser

BUILD_DEPENDS=  ${RUBY_SITEARCHLIBDIR}/locale_system.so:${PORTSDIR}/devel/ruby-gettext
RUN_DEPENDS=    ${RUBY_SITEARCHLIBDIR}/gtk2.so:${PORTSDIR}/x11-toolkits/ruby-gtk2 \
        ${RUBY_SITEARCHLIBDIR}/locale_system.so:${PORTSDIR}/devel/ruby-gettext

USE_GETTEXT=    yes
USE_RUBY=   yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb

DOCS_EN=    AUTHORS COPYING ChangeLog README
DOCS_JA=    COPYING.ja README.ja

.if !defined(NOPORTDOCS)
post-install:
    @${MKDIR} ${RUBY_MODDOCDIR}/ja
.for f in ${DOCS_EN}
    @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.for f in ${DOCS_JA}
    @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
.endfor
.endif

.include <bsd.port.mk>