New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #16106: Portfile.diff

File Portfile.diff, 2.3 KB (added by jgkim@…, 4 years ago)

Portfile patch

  • Portfile

    old new  
    11# $Id: Portfile 29068 2007-09-14 12:53:38Z nox@macports.org $ 
    22 
    3 PortSystem      1.0 
     3PortSystem                      1.0 
    44 
    5 name                    unalz 
    6 version         0.61 
    7 categories              archivers 
    8 platforms               darwin 
    9 maintainers             minskim@bawi.org 
    10 description             unarchiver for the AlZip format 
     5name                            unalz 
     6version                         0.62 
     7categories                      archivers 
     8platforms                       darwin 
     9maintainers                     minskim@bawi.org 
     10description                     unarchiver for the AlZip format 
    1111 
    1212long_description        Unalz is a BSD-licensed unarchiver for AlZip format which \ 
    13                                 requires proprietary and win32-only software but widely used \ 
    14                                 in Korea. 
     13                                        requires proprietary and win32-only software but widely used \ 
     14                                        in Korea. 
    1515 
    16 homepage                http://www.kipple.pe.kr/win/unalz/ 
    17 master_sites    ${homepage} 
    18 extract.suffix  .tgz 
     16homepage                        http://www.kipple.pe.kr/win/unalz/ 
     17master_sites            ${homepage} 
     18extract.suffix          .tgz 
    1919 
    20 depends_lib     port:libiconv 
     20depends_lib                     port:libiconv 
    2121 
    22 checksums       md5 f3ee5bad439f10e06b089b8db38b7566 \ 
    23                 sha1 a6cab2a02b7f44957211e694b7d8d144840b2255 \ 
    24                 rmd160 68cb957aeacfc8452e01637f7e0a50939d515ab6 
     22checksums                       md5 564bf1dc61bb443faf7e8be1d1b5efc8 \ 
     23                                        sha1 ddacadcb98235eba40bd8c1a2f120e1052a045dc \ 
     24                                        rmd160 3fcbbb7ef903c417f06769be9d88f6f8faac42dc 
    2525 
    26 worksrcdir              unalz 
     26worksrcdir                      unalz 
     27 
     28patchfiles                      UnAlz.cpp.patch 
    2729 
    2830post-patch { 
    2931    reinplace "s|/usr/local|\$(DESTDIR)${prefix}|" ${worksrcpath}/Makefile 
    3032} 
    3133 
    32 configure { 
    33     set CFLAGS [join ${configure.cflags} " "] 
    34     reinplace -E "/^CFLAGS/s|\$|${CFLAGS}\\\nCPPFLAGS=${CFLAGS}|" ${worksrcpath}/Makefile 
     34use_configure           no 
     35 
     36post-configure { 
     37    reinplace -E "/^CFLAGS/s|\$|[join [list ${configure.cflags} ${configure.cppflags} ${configure.cxxflags}] " "]|" ${worksrcpath}/Makefile 
    3538    reinplace -E "/^LDFLAGS/s|\$|[join ${configure.ldflags} " "]|" ${worksrcpath}/Makefile 
    3639} 
    3740 
    38 build.target    posix-utf8 
     41build.target            posix-utf8 
    3942 
    4043post-destroot { 
    4144    set docdir ${prefix}/share/doc/${name}-${version} 
     
    4346    xinstall -m 0644 ${worksrcpath}/readme.txt ${destroot}${docdir} 
    4447} 
    4548 
    46 livecheck.check regex 
    47 livecheck.url   ${homepage} 
    48 livecheck.regex ${name}-(\\d+(?:\\.\\d+)*) 
    49  
     49livecheck.check         regex 
     50livecheck.url           ${homepage} 
     51livecheck.regex         ${name}-(\\d+(?:\\.\\d+)*)