Ticket #14699: patch-Portfile.diff
File patch-Portfile.diff, 1.6 KB (added by pixilla (Bradley Giesbrecht), 13 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name spread 6 version 3.17.36 version 4.1.0 7 7 categories devel 8 8 platforms darwin 9 9 maintainers stechert openmaintainer … … 13 13 or internal networks. 14 14 15 15 homepage http://www.spread.org/ 16 master_sites http://www.cnds.jhu.edu/download/noformdown/16 master_sites freebsd 17 17 distname spread-src-${version} 18 checksums md5 2eec25b5adc96fd840aa251e44325f9f19 patchfiles patch-Makefile.in20 18 19 checksums sha1 a923f61727060d62ff32e608302af5227dbff2e1 \ 20 rmd160 8495e1b87503104c43fc8aa0c3505496dbf6a95c 21 21 22 configure.args --mandir=${prefix}/share/man \ 22 23 --with-pid-dir=${prefix}/var/run 24 25 post-patch { 26 set LIBFULLVERSION ${version} 27 set LIBCOMPATVERSION [join [lrange [split ${version} .] 0 2] .] 28 set LIBVERSION [join [lrange [split ${version} .] 0 1] .] 29 reinplace "s|^LIBFULLVERSION=2.0.1\$|LIBFULLVERSION=${LIBFULLVERSION}|" \ 30 ${worksrcpath}/libspread/Makefile.in 31 # reinplace "s|^LIBCOMPATVERSION=2.0\$|LIBCOMPATVERSION=${LIBCOMPATVERSION}|" \ 32 # ${worksrcpath}/libspread/Makefile.in 33 reinplace "s|^LIBVERSION=2\$|LIBVERSION=${LIBVERSION}|" \ 34 ${worksrcpath}/libspread/Makefile.in 35 } 36 37 post-destroot { 38 foreach dylib [glob -nocomplain -directory ${destroot}${prefix}/lib -tails *${version}.dylib] { 39 system "install_name_tool -id ${prefix}/lib/${dylib} ${destroot}${prefix}/lib/${dylib}" 40 } 41 }