Ticket #38801: patch-Portfile.diff
File patch-Portfile.diff, 2.0 KB (added by lpsinger (Leo Singer), 12 years ago) |
---|
-
Portfile
old new 29 29 are compatible with other packages and can be \ 30 30 easily converted. 31 31 32 depends_build port:perl5 \ 33 port:libtool 32 depends_lib port:perl5 34 33 35 depends_run port:perl5 \ 36 port:p5-archive-tar \ 34 depends_run port:p5-archive-tar \ 37 35 port:autoconf \ 38 36 port:automake \ 39 37 port:libtool 40 38 41 39 master_sites http://www.globus.org/ftppub/gt5/5.2/5.2.4/packages/src/ 42 40 43 dist files gpt-3.6.3.tar.gz41 distname gpt-${version} 44 42 45 checksums gpt-3.6.3.tar.gz \ 46 sha256 9aa59106de539476ab0c8d8c119f168e877a696c48737e5583b3fb561068a4e8 \ 47 rmd160 a4d7d12318ad990b576ac018f6fc903615ddd38e 43 checksums sha256 9aa59106de539476ab0c8d8c119f168e877a696c48737e5583b3fb561068a4e8 \ 44 rmd160 a4d7d12318ad990b576ac018f6fc903615ddd38e 48 45 49 worksrcdir gpt-3.6.3 46 use_autoreconf yes 50 47 51 48 configure.post_args --libexecdir='\${datadir}/globus' \ 52 49 --mandir='\${datadir}/man' \ … … 55 52 56 53 destroot.target-append install-man 57 54 58 pre-configure {59 foreach i {config.guess config.sub} {60 file copy -force ${prefix}/share/libtool/config/$i ${worksrcpath}/$i61 }62 }63 64 55 post-destroot { 65 # Rename libtoolize to glibtoolize66 reinplace "s/libtoolize/glibtoolize/g" \67 ${destroot}${prefix}/share/globus/gpt-bootstrap.sh68 69 56 # Install documentation 70 file mkdir ${destroot}${prefix}/share/doc/${name}-${version}57 xinstall -d ${destroot}${prefix}/share/doc/${name} 71 58 xinstall -m 644 ${worksrcpath}/CHANGES \ 72 59 ${worksrcpath}/LICENSE ${worksrcpath}/README \ 73 ${destroot}${prefix}/share/doc/${name} -${version}60 ${destroot}${prefix}/share/doc/${name} 74 61 }