freebsd-ports/science/ruby-gphys/Makefile
Mark Linimon ef1c7d5c96 Update to 0.3.3.
PR:		ports/71275
Submitted by:	Shin'ya Murakami <murakami at ahs dot scitec dot kobe-u dot ac dot jp> (maintainer)
2004-10-12 06:43:22 +00:00

48 lines
1.5 KiB
Makefile

# New ports collection makefile for: GPhys
# Date created: 14 March 2004
# Whom: Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
#
# $FreeBSD$
#
PORTNAME= gphys
PORTVERSION= 0.3.3
CATEGORIES= science ruby
MASTER_SITES= ftp://www.gfd-dennou.org/arch/ruby/products/gphys/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= murakami@ahs.scitec.kobe-u.ac.jp
COMMENT= A multi-purpose class to handle gridded physical quantities
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \
${RUBY_SITELIBDIR}/narray_miss.rb:${PORTSDIR}/math/ruby-narray_miss \
${RUBY_SITEARCHLIBDIR}/numru/dcl_raw.so:${PORTSDIR}/science/ruby-dcl-gtk \
${RUBY_SITEARCHLIBDIR}/numru/netcdfraw.so:${PORTSDIR}/math/ruby-netcdf \
${RUBY_SITEARCHLIBDIR}/numru/fftw3.so:${PORTSDIR}/math/ruby-fftw3 \
${RUBY_SITELIBDIR}/numru/misc.rb:${PORTSDIR}/math/ruby-numru_misc \
${RUBY_SITELIBDIR}/numru/units.rb:${PORTSDIR}/math/ruby-numru_units
USE_RUBY= yes
NO_BUILD= yes
DOCS= ChangeLog README doc/*
do-install:
@cd ${WRKSRC}/ && ${RUBY} ./install.rb
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${MKDIR} ${RUBY_MODEXAMPLESDIR}/testdata
${MKDIR} ${RUBY_MODEXAMPLESDIR}/sample
${INSTALL_DATA} ${WRKSRC}/testdata/* ${RUBY_MODEXAMPLESDIR}/testdata
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/sample
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
.endfor
.endif
.include <bsd.port.mk>