New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 80266


Ignore:
Timestamp:
07/08/11 00:52:17 (4 years ago)
Author:
takeshi@…
Message:

jpeg6b: more work to make this port replaced.

File:
1 edited

Legend:

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

    r80255 r80266  
    66set realname    jpeg 
    77version         6b 
     8revision        1 
    89name            ${realname}${version} 
    910 
     
    2526homepage        http://www.ijg.org/ 
    2627platforms       darwin freebsd sunos 
    27 master_sites    http://distfiles.macports.org/${realname}/ 
    2828 
    29 distname        ${realname}src.v${version} 
    30 worksrcdir      ${realname}-${version} 
    31 set jpegmain    ${distname}${extract.suffix} 
    32 distfiles       ${jpegmain} \ 
    33                 droppatch.tar.gz:drop 
    34 dist_subdir     ${realname} 
     29distfiles 
    3530                 
    36 checksums       ${jpegmain} md5 dbd5f3b47ed13132f04c685d608a7547 \ 
    37                 droppatch.tar.gz md5 511c39779ac96cd41ca1e0a87b239287 
    38 extract.only    ${jpegmain} 
    39  
    40 patchfiles      patch-config.sub patch-config.guess patch-ltmain.sh \ 
    41                 patch-ltconfig patch-makefile.cfg patch-jpeglib.h 
    42 post-patch { 
    43     system "cd ${worksrcpath} && 
    44         tar zxf ${distpath}/droppatch.tar.gz" 
    45  
    46     # Reorder link flags so that so that local -L options come first (especially before -L${prefix}/lib) 
    47     #     (see http://trac.macports.org/ticket/16411). 
    48     reinplace {s|\(.*\)\($(LDFLAGS)\)\(.*\)\($(LDLIBS)\)\(.*\)|\1\4\3\2\5|} ${worksrcpath}/makefile.cfg 
    49  
    50     # As in the case of -L, CPPFLAGS come before -I. during compilation. 
    51     configure.cppflags-append -isystem${prefix}/include 
    52     configure.cppflags-delete -I${prefix}/include 
     31pre-configure { 
     32    ui_error "${name} has been renamed to ${replaced_by}. Please install ${replaced_by} instead." 
     33    return -code error "obsolete port" 
    5334} 
    5435 
    55 configure.args      --prefix=${prefix}/lib/${name} --enable-shared --enable-static 
    56 if {![variant_isset universal]} { 
    57     configure.ldflags-append   ${configure.cc_archflags} 
    58 } 
    59  
    60 use_parallel_build  yes 
    61  
    62 destroot.destdir    prefix=${destroot}${prefix}/lib/${name} 
    63 pre-destroot { 
    64     xinstall -d ${destroot}${prefix}/lib/${name}/bin 
    65     xinstall -d ${destroot}${prefix}/lib/${name}/share/man/man1 
    66     xinstall -d ${destroot}${prefix}/lib/${name}/include 
    67     xinstall -d ${destroot}${prefix}/lib/${name}/lib 
    68 } 
     36livecheck.type  none 
Note: See TracChangeset for help on using the changeset viewer.