From fedffbcdb68aa08d012cae7d4bc6db76aba07f3c Mon Sep 17 00:00:00 2001 From: stefan Date: Thu, 8 Jan 2009 17:13:47 +0000 Subject: - fix inappropriate use of NO* vars - add MASTER_SITES - change maintainer's email address PR: 127463 Submitted by: maintainer --- science/ruby-gphys/Makefile | 12 +++++++---- science/ruby-gphys/pkg-plist | 48 ++++++++++++++++++++++---------------------- 2 files changed, 32 insertions(+), 28 deletions(-) (limited to 'science/ruby-gphys') 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 -- cgit