aboutsummaryrefslogtreecommitdiffstats
path: root/science/gave/Makefile
blob: f5eac2b729c9010dd4f7a24eaa09929b24de3909 (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.1.4
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} ${PREFIX}/share/doc/gave
.for f in ${DOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/gave
.endfor
.endif

.include <bsd.port.post.mk>