aboutsummaryrefslogtreecommitdiff
path: root/science/ruby-gphys
diff options
context:
space:
mode:
authorStefan Walter <stefan@FreeBSD.org>2009-01-08 17:13:47 +0000
committerStefan Walter <stefan@FreeBSD.org>2009-01-08 17:13:47 +0000
commitfca77a71fa80135088b8debb184dea2c2e5411c1 (patch)
treeb880e88efab31e70a5316d611965b871594c793a /science/ruby-gphys
parent78acfa44cbf0598ea4dcdb4aa6e378824d7c27ea (diff)
downloadports-fca77a71fa80135088b8debb184dea2c2e5411c1.tar.gz
ports-fca77a71fa80135088b8debb184dea2c2e5411c1.zip
Notes
Diffstat (limited to 'science/ruby-gphys')
-rw-r--r--science/ruby-gphys/Makefile12
-rw-r--r--science/ruby-gphys/pkg-plist48
2 files changed, 32 insertions, 28 deletions
diff --git a/science/ruby-gphys/Makefile b/science/ruby-gphys/Makefile
index e9bd6fe0d11c..02a94e09afb4 100644
--- a/science/ruby-gphys/Makefile
+++ b/science/ruby-gphys/Makefile
@@ -7,13 +7,15 @@
PORTNAME= gphys
PORTVERSION= 0.6.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= science ruby
-MASTER_SITES= http://ruby.gfd-dennou.org/products/gphys/
+MASTER_SITES= http://ruby.gfd-dennou.org/products/gphys/ \
+ http://dennou-h.gfd-dennou.org/library/ruby/products/gphys/ \
+ http://dennou-q.gfd-dennou.org/library/ruby/products/gphys/
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
-MAINTAINER= murakami@ahs.scitec.kobe-u.ac.jp
+MAINTAINER= murashin@gfd-dennou.org
COMMENT= A multi-purpose class to handle gridded physical quantities
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray \
@@ -35,7 +37,7 @@ do-install:
@cd ${WRKSRC}/ && ${RUBY} ./install.rb
post-install:
-.if !defined(NOPORTDOCS)
+.if !defined(NOPORTEXAMPLES)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${MKDIR} ${RUBY_MODEXAMPLESDIR}/test
${MKDIR} ${RUBY_MODEXAMPLESDIR}/testdata
@@ -45,6 +47,8 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/testdata/* ${RUBY_MODEXAMPLESDIR}/testdata
${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/sample
${INSTALL_DATA} ${WRKSRC}/sample/ep_flux/* ${RUBY_MODEXAMPLESDIR}/sample/ep_flux
+.endif
+.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODDOCDIR}
${MKDIR} ${RUBY_MODDOCDIR}/derivative
${MKDIR} ${RUBY_MODDOCDIR}/ep_flux
diff --git a/science/ruby-gphys/pkg-plist b/science/ruby-gphys/pkg-plist
index 104899918b96..40464b8a21d0 100644
--- a/science/ruby-gphys/pkg-plist
+++ b/science/ruby-gphys/pkg-plist
@@ -51,30 +51,30 @@ bin/grads2nc_with_gphys
%%RUBY_SITELIBDIR%%/numru/gphys/varraynusdas.rb
@dirrm %%RUBY_SITELIBDIR%%/numru/gphys
@dirrmtry %%RUBY_SITELIBDIR%%/numru
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/cira86_to_nc.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_cli1.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_cli2.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_serv1.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_serv2.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/ggraph_mapfit-axes_dr002687.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/ggraph_latlon_labelling_dr002690.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/map_projection.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/ep_flux/demo_NCEP_1.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/ep_flux/demo_NCEP_2.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/sample/ep_flux/demo_NCEP_3.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test/test_ep_flux.rb
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.ctl
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.dat
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.grib
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.nc
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.packed.withmiss.nc
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testdata/UV.jan.nc
-%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/testdata/cira86.dat
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/sample/ep_flux
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/sample
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/test
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%/testdata
-%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sample/cira86_to_nc.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_cli1.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_cli2.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_serv1.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sample/druby_serv2.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sample/ggraph_mapfit-axes_dr002687.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sample/ggraph_latlon_labelling_dr002690.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sample/map_projection.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sample/ep_flux/demo_NCEP_1.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sample/ep_flux/demo_NCEP_2.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/sample/ep_flux/demo_NCEP_3.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/test/test_ep_flux.rb
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.ctl
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.dat
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.grib
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.nc
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/testdata/T.jan.packed.withmiss.nc
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/testdata/UV.jan.nc
+%%PORTEXAMPLES%%%%RUBY_MODEXAMPLESDIR%%/testdata/cira86.dat
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%/sample/ep_flux
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%/sample
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%/test
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%/testdata
+%%PORTEXAMPLES%%@dirrm %%RUBY_MODEXAMPLESDIR%%
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO_ep_flux