Ticket #22441: libdevil.diff

File libdevil.diff, 1.9 KB (added by blb@…, 14 years ago)

diff to Portfile

  • Portfile

     
    33PortSystem          1.0
    44
    55name                libdevil
    6 version             1.6.8-rc2
     6version             1.7.8
    77categories          devel multimedia
    88platforms           darwin
    99maintainers         simon openmaintainer
     
    2323homepage            http://openil.sourceforge.net/
    2424master_sites        sourceforge:openil
    2525distname            DevIL-${version}
    26 checksums           md5 9d815c8637adb6fb6c25c38dc178aca2 \
    27                     sha1 aa9c2012d15c511ec2db34463a21f84fcfb40170 \
    28                     rmd160 23d6bf1f9fef48b7a3350e3cd13148a982ff99a7
    29 worksrcdir          DevIL-1.6.8
     26checksums           md5     7918f215524589435e5ec2e8736d5e1d \
     27                    sha1    bc27e3e830ba666a3af03548789700d10561fcb1 \
     28                    rmd160  a3cdb14fcca5e75ada240a53cbdc3e749a759da5
     29worksrcdir          devil-${version}
    3030
    3131depends_lib         port:lcms \
    3232                    port:libmng \
    33                     port:libpng
     33                    port:libpng \
     34                    port:jasper
    3435
     36configure.args      --disable-exr
     37if {${configure.build_arch} == "i386"} {
     38    configure.args-append   --enable-x86
     39} elseif {${configure.build_arch} == "x86_64"} {
     40    configure.args-append   --enable-x86_64
     41} else {
     42    configure.args-append   --enable-ppc
     43}
     44
     45post-destroot {
     46    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     47    xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING CREDITS ChangeLog \
     48        NEWS README TODO ${destroot}${prefix}/share/doc/${name}
     49    file copy ${worksrcpath}/docs/html ${destroot}${prefix}/share/doc/${name}
     50}
     51
    3552livecheck.type      regex
    3653livecheck.url       http://sourceforge.net/project/showfiles.php?group_id=4470&package_id=24273
    3754livecheck.regex     "DevIL-(.+?).tar.gz"