Ticket #41460: xtide-2.13.2-builds.diff
File xtide-2.13.2-builds.diff, 3.3 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name xtide 6 version 2.11 7 revision 1 8 6 version 2.13.2 9 7 categories x11 science 10 8 platforms darwin 11 9 license GPL-3+ … … 17 15 can be generated, or a tide clock can be provided on your desktop. \ 18 16 For x11, plain command line, and as an http server. 19 17 20 homepage http://www.flaterco.com/xtide/21 master_sites ftp://ftp.flaterco.com/xtide/22 18 use_bzip2 yes 19 set source_file ${distfiles} 20 set harmonics_version 20121224 21 set harmonics_file harmonics-dwf-${harmonics_version}-free${extract.suffix} 23 22 24 set harmonics_version 20110410 25 set harmonics_file harmonics-dwf-${harmonics_version}-free.tar.bz2 23 homepage http://www.flaterco.com/xtide/ 24 master_sites ftp://ftp.flaterco.com/xtide/ \ 25 http://pkgs.fedoraproject.org/repo/pkgs/${name}/${source_file}/59de866e0684e123419d7a1c97ea23a5:source \ 26 http://pkgs.fedoraproject.org/repo/pkgs/${name}/${harmonics_file}/f9a8c5414aa14bd6b08d1be4e6a3eea7/:harmonics 26 27 27 distfiles-append ${harmonics_file} 28 checksums ${distname}${extract.suffix} \ 29 md5 1d85890bb13b3345154e0f68831b7ebd \ 30 sha1 6f2386ba0e6e1df0d304d3ef037317462d9cc24d \ 31 rmd160 8c302774f244e958de529653a903d9be2f45b07b \ 28 distfiles ${source_file}:source \ 29 ${harmonics_file}:harmonics 30 31 checksums ${source_file} \ 32 rmd160 1a6cb8885fb71361cc7ce035186a6ac627a9cb0d \ 33 sha256 fabf6b3097bb345598649ea55d1f2db269cbb651cddd73c60a9768088173d542 \ 32 34 ${harmonics_file} \ 33 md5 985c2f69eea343782142fa459fc34128 \ 34 sha1 9a33ade09c5ba0a6db007adb4075f7b1475b1130 \ 35 rmd160 43a788ce9864236d45087ba6ba0a9c6b8287c07d 35 rmd160 40ef64cff50ddcaf91b8648441a12ce2c6b07734 \ 36 sha256 d80d7e99181c60a42660392abbe25789c395453dd88944c41dc19c7f4b0f11be 36 37 37 38 depends_lib port:libpng port:libtcd port:xorg-libXaw 38 39 40 patchfiles patch-configure.ac.diff 41 39 42 post-patch { 40 43 # Make the default harmonics path conveniently point to our directory 41 reinplace s|harmonics.tcd|${prefix}/share/${name}/harmonics| ${worksrcpath}/HarmonicsPath.cc44 reinplace s|harmonics\\.tcd|${prefix}/share/${name}/harmonics| ${worksrcpath}/HarmonicsPath.cc 42 45 } 43 46 47 # per the configure script: "if using GCC, version 4.4 or later is required" 48 compiler.blacklist gcc-* apple-gcc-* macports-gcc-4.2 macports-gcc-4.3 49 50 # regenerate configure after patching configure.ac for clang compatibility 51 use_autoreconf yes 52 44 53 post-destroot { 45 54 xinstall -d -m 755 ${destroot}${prefix}/share/${name}/harmonics \ 46 55 ${destroot}${prefix}/share/doc/${name} … … 53 62 Additional harmonics licensed for non-commercial use only can be downloaded\ 54 63 from 55 64 56 [lindex ${master_sites} 0]harmonics-dwf-2011 0410-nonfree.tar.bz265 [lindex ${master_sites} 0]harmonics-dwf-20111230-nonfree${extract.suffix} 57 66 58 67 and extracted into ${prefix}/share/${name}/harmonics to make them available to ${name}. 59 68 "