[79134] trunk/dports/x11/xtide

jmr at macports.org jmr at macports.org
Thu Jun 2 18:57:32 PDT 2011


Revision: 79134
          http://trac.macports.org/changeset/79134
Author:   jmr at macports.org
Date:     2011-06-02 18:57:31 -0700 (Thu, 02 Jun 2011)
Log Message:
-----------
xtide: update to 2.11 (also fixes #24917)

Modified Paths:
--------------
    trunk/dports/x11/xtide/Portfile

Removed Paths:
-------------
    trunk/dports/x11/xtide/files/

Modified: trunk/dports/x11/xtide/Portfile
===================================================================
--- trunk/dports/x11/xtide/Portfile	2011-06-03 00:56:26 UTC (rev 79133)
+++ trunk/dports/x11/xtide/Portfile	2011-06-03 01:57:31 UTC (rev 79134)
@@ -3,11 +3,11 @@
 PortSystem 1.0
 
 name					xtide
-version					2.8.3
-revision				2
+version					2.11
 
 categories				x11 science
 platforms				darwin
+license                 GPL-3+
 maintainers				jberry openmaintainer
 
 description				Tide prediction software, with a large database of locations.
@@ -20,26 +20,35 @@
 master_sites			ftp://www.flaterco.com/xtide
 use_bzip2				yes
 
-set harmonics_version	20060708
-set harmonics_file		harmonics-dwf-${harmonics_version}.tcd.bz2
+set harmonics_version	20110410
+set harmonics_file		harmonics-dwf-${harmonics_version}-free.tar.bz2
 
-distfiles				${distname}${extract.suffix} \
-						${harmonics_file}
-checksums				${distname}${extract.suffix} md5 653fd807116290ab96bd5aa1bb974315 \
-						${harmonics_file} md5 7e8acfeb5aa454c1c19fc14bb7263513
-patchfiles				patch-Makefile.in
-extract.only			${distname}${extract.suffix}
+distfiles-append		${harmonics_file}
+checksums				${distname}${extract.suffix} \
+                            md5 1d85890bb13b3345154e0f68831b7ebd \
+                            sha1 6f2386ba0e6e1df0d304d3ef037317462d9cc24d \
+                            rmd160 8c302774f244e958de529653a903d9be2f45b07b \
+						${harmonics_file} \
+						    md5 985c2f69eea343782142fa459fc34128 \
+						    sha1 9a33ade09c5ba0a6db007adb4075f7b1475b1130 \
+						    rmd160 43a788ce9864236d45087ba6ba0a9c6b8287c07d
 
-depends_lib				port:xorg-libXaw port:libpng
-configure.args			--mandir=${prefix}/share/man
+depends_lib				port:libpng port:libtcd port:xorg-libXaw
 
 post-patch {
-	# Make the default harmonics path conveniently point to our file
-	reinplace s|harmonics.tcd|${prefix}/share/${name}/harmonics.tcd| ${worksrcpath}/TideContext.cc
+	# Make the default harmonics path conveniently point to our directory
+	reinplace s|harmonics.tcd|${prefix}/share/${name}/harmonics| ${worksrcpath}/HarmonicsPath.cc
 }
 
 post-destroot {
-	xinstall -d -m 755 ${destroot}${prefix}/share/xtide
-	xinstall -m 644 ${distpath}/${harmonics_file} ${destroot}${prefix}/share/${name}/harmonics.tcd.bz2
-	system "bzip2 -d ${destroot}${prefix}/share/${name}/harmonics.tcd.bz2"
+	xinstall -d -m 755 ${destroot}${prefix}/share/${name}/harmonics \
+	                   ${destroot}${prefix}/share/doc/${name}
+	xinstall -m 644 ${workpath}/harmonics-dwf-${harmonics_version}-free.tcd ${destroot}${prefix}/share/${name}/harmonics
+    xinstall -m 644 ${workpath}/harmonics_boilerplate.txt ${destroot}${prefix}/share/doc/${name}
 }
+
+notes \
+"Only public domain harmonics for the United States are included in this port.
+Additional harmonics licensed for non-commercial use only can be downloaded
+from <ftp://ftp.flaterco.com/xtide/harmonics-dwf-20110410-nonfree.tar.bz2>
+and extracted into ${prefix}/share/${name}/harmonics to make them available to ${name}."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110602/8798efe8/attachment-0001.html>


More information about the macports-changes mailing list