Ticket #13195: dialog-dist_subdir.diff
File dialog-dist_subdir.diff, 878 bytes (added by ryandesign (Ryan Carsten Schmidt), 17 years ago) |
---|
-
Portfile
19 19 homepage http://www.invisible-island.net/dialog/ 20 20 master_sites ftp://invisible-island.net/dialog/ 21 21 distname ${name} 22 dist_subdir ${name}/${version} 22 23 worksrcdir ${name}-${version} 23 24 24 pre-fetch {25 if {[file exists ${distpath}/${distname}-${version}.tar.gz]} {26 file rename ${distpath}/${distname}-${version}.tar.gz ${distpath}/${distname}.tar.gz27 }28 }29 30 25 checksums sha1 1d290e3c3fb38403fc183ced29b4faae4491169f \ 31 26 rmd160 d3ab49bfb3a16a106f219689f4a513eb6a02e892 32 27 … … 57 52 ${destroot}${prefix}/share/doc/${name}/examples 58 53 } 59 54 60 post-build {61 file rename ${distpath}/${distname}.tar.gz ${distpath}/${distname}-${version}.tar.gz62 }63 64 55 platform darwin 8 { 65 56 configure.compiler gcc-4.0 66 57 }