[120556] trunk/dports/science

takeshi at macports.org takeshi at macports.org
Sun Jun 1 02:35:31 PDT 2014


Revision: 120556
          https://trac.macports.org/changeset/120556
Author:   takeshi at macports.org
Date:     2014-06-01 02:35:31 -0700 (Sun, 01 Jun 2014)
Log Message:
-----------
yaxt: new port introduced to fix #41516

Added Paths:
-----------
    trunk/dports/science/yaxt/
    trunk/dports/science/yaxt/Portfile
    trunk/dports/science/yaxt/files/
    trunk/dports/science/yaxt/files/patch-src-Makefile.in.diff

Added: trunk/dports/science/yaxt/Portfile
===================================================================
--- trunk/dports/science/yaxt/Portfile	                        (rev 0)
+++ trunk/dports/science/yaxt/Portfile	2014-06-01 09:35:31 UTC (rev 120556)
@@ -0,0 +1,35 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem          1.0
+PortGroup           mpi 1.0
+
+mpi.setup           require
+
+name                yaxt
+version             0.2.2
+platforms           darwin
+maintainers         takeshi openmaintainer
+license             BSD
+categories          science parallel
+description         Yet Another eXchange Tool
+long_description    \
+    yaxt is a library for redistribution of data between two sets of processes \
+    on top of MPI with C and Fortran interfaces.
+homepage            https://www.dkrz.de/redmine/projects/${name}
+master_sites        https://www.dkrz.de/redmine/attachments/download/444
+use_xz              yes
+checksums           rmd160  3cf6d1251e48c175f511a5885c23ee06edacb3f7 \
+                    sha256  6feb7185b397f7249f48ce10b7c60c457885eb7b67b7231dc08656c353e7e93b
+
+patchfiles          patch-src-Makefile.in.diff
+configure.cppflags-append   -I../src
+configure.fcflags-append    -cpp
+
+if {![mpi_variant_isset]} {
+    default_variants +mpich
+}
+
+livecheck.type      regex
+livecheck.url       ${homepage}/wiki/Downloads
+livecheck.regex     {([0-9]+\.[0-9]+\.[0-9]+)}


Property changes on: trunk/dports/science/yaxt/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/science/yaxt/files/patch-src-Makefile.in.diff
===================================================================
--- trunk/dports/science/yaxt/files/patch-src-Makefile.in.diff	                        (rev 0)
+++ trunk/dports/science/yaxt/files/patch-src-Makefile.in.diff	2014-06-01 09:35:31 UTC (rev 120556)
@@ -0,0 +1,102 @@
+--- Makefile.in.orig	2014-03-06 23:32:58.000000000 +0900
++++ Makefile.in	2014-05-31 22:21:18.000000000 +0900
+@@ -142,29 +142,29 @@
+   sed_last='s,^.*/\([^/]*\)$$,\1,'; \
+   sed_butlast='s,/*[^/]*$$,,'; \
+   while test -n "$$dir1"; do \
+-    first=`echo "$$dir1" | sed -e "$$sed_first"`; \
++    first=`echo "$$dir1" | $(SED) -e "$$sed_first"`; \
+     if test "$$first" != "."; then \
+       if test "$$first" = ".."; then \
+-        dir2=`echo "$$dir0" | sed -e "$$sed_last"`/"$$dir2"; \
+-        dir0=`echo "$$dir0" | sed -e "$$sed_butlast"`; \
++        dir2=`echo "$$dir0" | $(SED) -e "$$sed_last"`/"$$dir2"; \
++        dir0=`echo "$$dir0" | $(SED) -e "$$sed_butlast"`; \
+       else \
+-        first2=`echo "$$dir2" | sed -e "$$sed_first"`; \
++        first2=`echo "$$dir2" | $(SED) -e "$$sed_first"`; \
+         if test "$$first2" = "$$first"; then \
+-          dir2=`echo "$$dir2" | sed -e "$$sed_rest"`; \
++          dir2=`echo "$$dir2" | $(SED) -e "$$sed_rest"`; \
+         else \
+           dir2="../$$dir2"; \
+         fi; \
+         dir0="$$dir0"/"$$first"; \
+       fi; \
+     fi; \
+-    dir1=`echo "$$dir1" | sed -e "$$sed_rest"`; \
++    dir1=`echo "$$dir1" | $(SED) -e "$$sed_rest"`; \
+   done; \
+   reldir="$$dir2"
+ DIST_ARCHIVES = $(distdir).tar.gz
+ GZIP_ENV = --best
+ distuninstallcheck_listfiles = find . -type f -print
+ am__distuninstallcheck_listfiles = $(distuninstallcheck_listfiles) \
+-  | sed 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
++  | $(SED) 's|^\./|$(prefix)/|' | grep -v '$(infodir)/dir$$'
+ distcleancheck_listfiles = find . -type f -print
+ ACLOCAL = @ACLOCAL@
+ AMTAR = @AMTAR@
+@@ -443,7 +443,7 @@
+ 	  esac; \
+ 	done; \
+ 	dot_seen=no; \
+-	target=`echo $@ | sed s/-recursive//`; \
++	target=`echo $@ | $(SED) s/-recursive//`; \
+ 	list='$(SUBDIRS)'; for subdir in $$list; do \
+ 	  echo "Making $$target in $$subdir"; \
+ 	  if test "$$subdir" = "."; then \
+@@ -478,7 +478,7 @@
+ 	  fi; \
+ 	done; \
+ 	rev="$$rev ."; \
+-	target=`echo $@ | sed s/-recursive//`; \
++	target=`echo $@ | $(SED) s/-recursive//`; \
+ 	for subdir in $$rev; do \
+ 	  echo "Making $$target in $$subdir"; \
+ 	  if test "$$subdir" = "."; then \
+@@ -566,21 +566,21 @@
+ distdir: $(DISTFILES)
+ 	$(am__remove_distdir)
+ 	test -d "$(distdir)" || mkdir "$(distdir)"
+-	@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
+-	topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
++	@srcdirstrip=`echo "$(srcdir)" | $(SED) 's/[].[^$$\\*]/\\\\&/g'`; \
++	topsrcdirstrip=`echo "$(top_srcdir)" | $(SED) 's/[].[^$$\\*]/\\\\&/g'`; \
+ 	list='$(DISTFILES)'; \
+ 	  dist_files=`for file in $$list; do echo $$file; done | \
+-	  sed -e "s|^$$srcdirstrip/||;t" \
++	  $(SED) -e "s|^$$srcdirstrip/||;t" \
+ 	      -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
+ 	case $$dist_files in \
+ 	  */*) $(MKDIR_P) `echo "$$dist_files" | \
+-			   sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
++			   $(SED) '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
+ 			   sort -u` ;; \
+ 	esac; \
+ 	for file in $$dist_files; do \
+ 	  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
+ 	  if test -d $$d/$$file; then \
+-	    dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
++	    dir=`echo "/$$file" | $(SED) -e 's,/[^/]*$$,,'`; \
+ 	    if test -d "$(distdir)/$$file"; then \
+ 	      find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
+ 	    fi; \
+@@ -691,7 +691,7 @@
+ 	mkdir $(distdir)/_inst
+ 	chmod a-w $(distdir)
+ 	test -d $(distdir)/_build || exit 0; \
+-	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
++	dc_install_base=`$(am__cd) $(distdir)/_inst && pwd | $(SED) -e 's,^[^:\\/]:[\\/],/,'` \
+ 	  && dc_destdir="$${TMPDIR-/tmp}/am-dc-$$$$/" \
+ 	  && am__cwd=`pwd` \
+ 	  && $(am__cd) $(distdir)/_build \
+@@ -723,7 +723,7 @@
+ 	$(am__remove_distdir)
+ 	@(echo "$(distdir) archives ready for distribution: "; \
+ 	  list='$(DIST_ARCHIVES)'; for i in $$list; do echo $$i; done) | \
+-	  sed -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
++	  $(SED) -e 1h -e 1s/./=/g -e 1p -e 1x -e '$$p' -e '$$x'
+ distuninstallcheck:
+ 	@test -n '$(distuninstallcheck_dir)' || { \
+ 	  echo 'ERROR: trying to run $@ with an empty' \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140601/c07da37c/attachment-0001.html>


More information about the macports-changes mailing list