Changeset 54372


Ignore:
Timestamp:
Jul 25, 2009, 5:59:21 PM (10 years ago)
Author:
mcalhoun@…
Message:

jpeg: Undo r54369 because any port which depends on jpeg will break because of the version numbering scheme.
Do not increase epoch because portindex has not yet run.

Location:
trunk/dports/graphics/jpeg
Files:
1 edited
7 copied

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/jpeg/Portfile

    r54369 r54372  
    44
    55name            jpeg
    6 version         7
     6version         6b
     7revision        3
    78categories      graphics
    89maintainers     waqar
     
    2223platforms       darwin freebsd sunos
    2324master_sites    http://www.ijg.org/files \
    24                 ftp://ftp.uu.net/graphics/jpeg
     25                ftp://ftp.uu.net/graphics/jpeg \
     26                http://sylvana.net/jpegcrop/:drop
    2527
    2628distname        ${name}src.v${version}
    2729worksrcdir      ${name}-${version}
     30set jpegmain    ${distname}${extract.suffix}
     31distfiles       ${jpegmain} \
     32                droppatch.tar.gz:drop
    2833               
    29 checksums       md5     382ef33b339c299b56baf1296cda9785 \
    30                 sha1    88cced0fc3dbdbc82115e1d08abce4e9d23a4b47 \
    31                 rmd160  6049c5fee2682c0757d4b51740abd981d1b24487
     34checksums       ${jpegmain} md5 dbd5f3b47ed13132f04c685d608a7547 \
     35                droppatch.tar.gz md5 511c39779ac96cd41ca1e0a87b239287
     36extract.only    ${jpegmain}
    3237
    33 # See http://trac.macports.org/ticket/17865 and http://trac.macports.org/ticket/20145
    34 # This can be removed when r44901 (http://trac.macports.org/changeset/44901) is released.
    35 configure.cppflags-append  {}
    36 configure.ldflags-append   {}
     38patchfiles      patch-config.sub patch-config.guess patch-ltmain.sh \
     39                patch-ltconfig patch-makefile.cfg patch-jpeglib.h
     40post-patch {
     41    system "cd ${worksrcpath} &&
     42        tar zxf ${distpath}/droppatch.tar.gz"
    3743
    38 # See http://trac.macports.org/ticket/16411
    39 configure.ldflags-delete        -L${prefix}/lib
    40 configure.cppflags-delete       -I${prefix}/include
     44    # Reorder link flags so that so that local -L options come first (especially before -L${prefix}/lib)
     45    #     (see http://trac.macports.org/ticket/16411).
     46    reinplace {s|\(.*\)\($(LDFLAGS)\)\(.*\)\($(LDLIBS)\)\(.*\)|\1\4\3\2\5|} ${worksrcpath}/makefile.cfg
     47
     48    # As in the case of -L, CPPFLAGS come before -I. during compilation.
     49    configure.cppflags-append -isystem${prefix}/include
     50    configure.cppflags-delete -I${prefix}/include
     51}
     52
     53configure.args      --enable-shared --enable-static
    4154
    4255use_parallel_build  yes
     56
     57destroot.destdir    prefix=${destroot}${prefix}
     58pre-destroot {
     59    xinstall -d ${destroot}${prefix}/bin
     60    xinstall -d ${destroot}${prefix}/share/man/man1
     61    xinstall -d ${destroot}${prefix}/include
     62    xinstall -d ${destroot}${prefix}/lib
     63}
     64
    4365
    4466livecheck.check regex
Note: See TracChangeset for help on using the changeset viewer.