aboutsummaryrefslogtreecommitdiffstats
path: root/science/gave/Makefile
blob: ac19729e6f32858f26aef941253321c8aa00f120 (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
45
46
47
48
49
# New ports collection makefile for:    gave
# Date created:     14 March 2004
# Whom:         Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=   gave
PORTVERSION=    1.2.1
CATEGORIES= science graphics ruby
MASTER_SITES=   http://ruby.gfd-dennou.org/products/gave/
DIST_SUBDIR=    ruby

MAINTAINER= murakami@ahs.scitec.kobe-u.ac.jp
COMMENT=    A gtk+ based grid data analyser and viewer written in Ruby

RUN_DEPENDS=    ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \
        ${RUBY_SITEARCHLIBDIR}/numru/dcl_raw.so:${PORTSDIR}/science/ruby-dcl \
        ${RUBY_SITEARCHLIBDIR}/numru/netcdfraw.so:${PORTSDIR}/math/ruby-netcdf \
        ${RUBY_SITELIBDIR}/numru/gphys.rb:${PORTSDIR}/science/ruby-gphys \
        ${RUBY_SITEARCHLIBDIR}/libglade2.so:${PORTSDIR}/devel/ruby-libglade2 \
        ${RUBY_SITEARCHLIBDIR}/gnome2.so:${PORTSDIR}/x11/ruby-gnome2 \
        ${RUBY_SITEARCHLIBDIR}/gnomevfs.so:${PORTSDIR}/devel/ruby-gnomevfs

USE_RUBY=   yes
USE_RUBY_SETUP= yes

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_NLS)
RUN_DEPENDS+=   ${RUBY_SITEARCHLIBDIR}/gettext/_locale.so:${PORTSDIR}/devel/ruby-gettext
.if ${RUBY_VER} >= 1.7
RUN_DEPENDS+=   ${RUBY_ARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv
.else
RUN_DEPENDS+=   ${RUBY_SITEARCHLIBDIR}/iconv.so:${PORTSDIR}/converters/ruby-iconv
.endif
.endif

DOCS=       ChangeLog README

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>