Ticket #12419: libsdl_1.2.12_0_Portfile.patch

File libsdl_1.2.12_0_Portfile.patch, 1.1 KB (added by mdickens@…, 17 years ago)

libsdl 1.2.12_0 Portfile patch to correct for post-destroot error

  • Portfile

    old new  
    2626configure.args  --enable-shared \
    2727                        --mandir=${prefix}/share/man
    2828
    29 set docdir ${prefix}/share/doc/${name}-${version}
     29set dr_docdir ${destroot}${prefix}/share/doc/${name}-${version}
    3030
    3131post-destroot   {
    32         xinstall -m 0755 -d ${destroot}${docdir}/html
    33 
    34         xinstall -m 0644 -W ${worksrcpath} BUGS COPYING CREDITS INSTALL README README-SDL.txt \
    35         README.MacOSX TODO ${destroot}${docdir}
    36 
    37         xinstall -m 0644 -W ${worksrcpath}/docs index.html docs.html ${destroot}${docdir}/html
    38     eval xinstall -m 0644 [glob ${worksrcpath}/docs/*] ${destroot}${docdir}/html
     32        xinstall -m 0755 -d ${dr_docdir}/docs/html ${dr_docdir}/docs/images
     33        xinstall -m 0644 -W ${worksrcpath} BUGS COPYING CREDITS INSTALL \
     34                README README-SDL.txt README.MacOSX TODO \
     35                docs.html ${dr_docdir}
     36        xinstall -m 0644 -W ${worksrcpath}/docs index.html ${dr_docdir}/docs
     37   eval xinstall -m 0644 [glob ${worksrcpath}/docs/html/*] \
     38                ${dr_docdir}/docs/html
     39   eval xinstall -m 0644 [glob ${worksrcpath}/docs/images/*] \
     40                ${dr_docdir}/docs/images
    3941}
    4042
    4143platform darwin 7 {