Changeset 79134
- Timestamp:
- 06/02/11 18:57:31 (4 years ago)
- Location:
- trunk/dports/x11/xtide
- Files:
-
- 1 deleted
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/x11/xtide/Portfile
r79132 r79134 4 4 5 5 name xtide 6 version 2.8.3 7 revision 2 6 version 2.11 8 7 9 8 categories x11 science 10 9 platforms darwin 10 license GPL-3+ 11 11 maintainers jberry openmaintainer 12 12 … … 21 21 use_bzip2 yes 22 22 23 set harmonics_version 20 06070824 set harmonics_file harmonics-dwf-${harmonics_version} .tcd.bz223 set harmonics_version 20110410 24 set harmonics_file harmonics-dwf-${harmonics_version}-free.tar.bz2 25 25 26 distfiles ${distname}${extract.suffix} \ 27 ${harmonics_file} 28 checksums ${distname}${extract.suffix} md5 653fd807116290ab96bd5aa1bb974315 \ 29 ${harmonics_file} md5 7e8acfeb5aa454c1c19fc14bb7263513 30 patchfiles patch-Makefile.in 31 extract.only ${distname}${extract.suffix} 26 distfiles-append ${harmonics_file} 27 checksums ${distname}${extract.suffix} \ 28 md5 1d85890bb13b3345154e0f68831b7ebd \ 29 sha1 6f2386ba0e6e1df0d304d3ef037317462d9cc24d \ 30 rmd160 8c302774f244e958de529653a903d9be2f45b07b \ 31 ${harmonics_file} \ 32 md5 985c2f69eea343782142fa459fc34128 \ 33 sha1 9a33ade09c5ba0a6db007adb4075f7b1475b1130 \ 34 rmd160 43a788ce9864236d45087ba6ba0a9c6b8287c07d 32 35 33 depends_lib port:xorg-libXaw port:libpng 34 configure.args --mandir=${prefix}/share/man 36 depends_lib port:libpng port:libtcd port:xorg-libXaw 35 37 36 38 post-patch { 37 # Make the default harmonics path conveniently point to our file38 reinplace s|harmonics.tcd|${prefix}/share/${name}/harmonics .tcd| ${worksrcpath}/TideContext.cc39 # Make the default harmonics path conveniently point to our directory 40 reinplace s|harmonics.tcd|${prefix}/share/${name}/harmonics| ${worksrcpath}/HarmonicsPath.cc 39 41 } 40 42 41 43 post-destroot { 42 xinstall -d -m 755 ${destroot}${prefix}/share/xtide 43 xinstall -m 644 ${distpath}/${harmonics_file} ${destroot}${prefix}/share/${name}/harmonics.tcd.bz2 44 system "bzip2 -d ${destroot}${prefix}/share/${name}/harmonics.tcd.bz2" 44 xinstall -d -m 755 ${destroot}${prefix}/share/${name}/harmonics \ 45 ${destroot}${prefix}/share/doc/${name} 46 xinstall -m 644 ${workpath}/harmonics-dwf-${harmonics_version}-free.tcd ${destroot}${prefix}/share/${name}/harmonics 47 xinstall -m 644 ${workpath}/harmonics_boilerplate.txt ${destroot}${prefix}/share/doc/${name} 45 48 } 49 50 notes \ 51 "Only public domain harmonics for the United States are included in this port. 52 Additional harmonics licensed for non-commercial use only can be downloaded 53 from <ftp://ftp.flaterco.com/xtide/harmonics-dwf-20110410-nonfree.tar.bz2> 54 and extracted into ${prefix}/share/${name}/harmonics to make them available to ${name}."
Note: See TracChangeset
for help on using the changeset viewer.

