New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83219


Ignore:
Timestamp:
08/28/11 12:53:03 (4 years ago)
Author:
ryandesign@…
Message:

pwlib: whitespace changes / reformatting / add modeline

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/pwlib/Portfile

    r82846 r83219  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 
    12# $Id$ 
    23 
    3 PortSystem        1.0 
     4PortSystem          1.0 
    45 
    5 name              pwlib 
    6 version           1.5.2 
    7 revision        1 
    8 distname           ${name}_${version} 
    9 categories        net 
    10 maintainers       nomaintainer 
    11 description       PWLib libraries for openh323 
    12 long_description  \ 
    13                   libraries for openh323 
    14 homepage          http://www.openh323.org 
     6name                pwlib 
     7version             1.5.2 
     8revision            1 
     9categories          net 
     10platforms           darwin 
     11maintainers         nomaintainer 
     12 
     13description         PWLib libraries for openh323 
     14 
     15long_description    libraries for openh323 
     16 
     17homepage            http://www.openh323.org 
    1518# Disable this mirror, #23915 
    16 #master_sites      http://www.openh323.org/bin/ 
    17 master_sites      sourceforge:openh323 
    18 platforms         darwin 
    19 checksums         md5 0fa33ba1b32b254abe0b731a52c0f2f9 
    20 worksrcdir    pwlib 
    21 patchfiles      patch-all.diff 
    22 configure.args    --mandir=${prefix}/share/man 
    23 configure.env   PWLIBDIR="${worksrcpath}" \ 
    24                 CFLAGS="-I${prefix}/include" \ 
    25                 LDFLAGS="-L${prefix}/lib" \ 
    26                 CPPFLAGS="-I${prefix}/include" \ 
    27                 LD_LIBRARY_PATH="${worksrcpath}/lib" 
    28 depends_lib     lib:libldap:openldap \ 
    29                 lib:libsdl:libsdl \ 
    30                 lib:libexpat:expat \ 
    31                 lib:libssl:openssl 
    32 build.target      both 
     19#master_sites        http://www.openh323.org/bin/ 
     20master_sites        sourceforge:openh323 
     21distname            ${name}_${version} 
     22 
     23checksums           md5     0fa33ba1b32b254abe0b731a52c0f2f9 
     24 
     25depends_lib         lib:libldap:openldap \ 
     26                    lib:libsdl:libsdl \ 
     27                    lib:libexpat:expat \ 
     28                    lib:libssl:openssl 
     29 
     30worksrcdir          pwlib 
     31 
     32patchfiles          patch-all.diff 
     33 
    3334post-patch { 
    34                 reinplace "s|@@PREFIX@@|${prefix}|g" \ 
    35                         ${worksrcpath}/src/ptlib/unix/Makefile \ 
    36                         ${worksrcpath}/make/unix.mak 
     35    reinplace "s|@@PREFIX@@|${prefix}|g" \ 
     36        ${worksrcpath}/src/ptlib/unix/Makefile \ 
     37        ${worksrcpath}/make/unix.mak 
    3738} 
     39 
     40configure.args      --mandir=${prefix}/share/man 
     41 
     42configure.env       PWLIBDIR="${worksrcpath}" \ 
     43                    CFLAGS="-I${prefix}/include" \ 
     44                    LDFLAGS="-L${prefix}/lib" \ 
     45                    CPPFLAGS="-I${prefix}/include" \ 
     46                    LD_LIBRARY_PATH="${worksrcpath}/lib" 
     47 
     48build.target        both 
     49 
    3850destroot { 
    39         # sigh sigh sigh 
    40         file mkdir ${destroot}${prefix}/include 
    41         file mkdir ${destroot}${prefix}/bin 
    42         file mkdir ${destroot}${prefix}/lib 
    43         file mkdir ${destroot}${prefix}/share/pwlib 
    44         system " cd ${worksrcpath} && \ 
     51    # sigh sigh sigh 
     52    file mkdir ${destroot}${prefix}/include 
     53    file mkdir ${destroot}${prefix}/bin 
     54    file mkdir ${destroot}${prefix}/lib 
     55    file mkdir ${destroot}${prefix}/share/pwlib 
     56    system "cd ${worksrcpath} && \ 
    4557        chmod a+r lib/*dylib && \ 
    4658        cp -R lib/*dylib* ${destroot}${prefix}/lib/ && \ 
     
    5062        cp -R include/ptlib.h ${destroot}${prefix}/include/ && \ 
    5163        cp tools/asnparser/obj*/asnparser ${destroot}${prefix}/bin/" 
    52         file mkdir ${destroot}${prefix}/share/pwlib/make/ 
    53         system " cd ${worksrcpath} && \ 
     64    file mkdir ${destroot}${prefix}/share/pwlib/make/ 
     65    system "cd ${worksrcpath} && \ 
    5466        cp -R make/*.mak ${destroot}${prefix}/share/pwlib/make/ && \ 
    5567        cp make/ptlib-config ${destroot}${prefix}/bin/ && \ 
     
    5870        rm -rf ${destroot}${prefix}/include/ptlib/unix/ptlib/CVS/ && \ 
    5971        rm -rf ${destroot}${prefix}/include/ptclib/CVS/ && \ 
    60         cd ${destroot}${prefix}/lib && ln -fs libpt_Darwin_ppc_r.dylib libpt.dylib && cd - && \ 
    61         chmod -R a+r ${destroot}${prefix}/include/ptlib ${destroot}${prefix}/include/ptclib \ 
    62                 ${destroot}${prefix}/include/ptlib.h \ 
    63                 ${destroot}${prefix}/share/pwlib ${destroot}${prefix}/include/ptbuildopts.h \ 
    64                 ${destroot}${prefix}/include/ptlib.h && \ 
    65         chmod a+rx ${destroot}${prefix}/include/ptlib ${destroot}${prefix}/include/ptlib/unix \ 
    66                 ${destroot}${prefix}/include/ptlib/unix/ptlib ${destroot}${prefix}/include/ptclib \ 
    67                 ${destroot}${prefix}/bin/ptlib-config ${destroot}${prefix}/share/pwlib/make/ \ 
    68         " 
     72        cd ${destroot}${prefix}/lib && \ 
     73        ln -fs libpt_Darwin_ppc_r.dylib libpt.dylib && \ 
     74        cd - && \ 
     75        chmod -R a+r ${destroot}${prefix}/include/ptlib \ 
     76            ${destroot}${prefix}/include/ptclib \ 
     77            ${destroot}${prefix}/include/ptlib.h \ 
     78            ${destroot}${prefix}/share/pwlib \ 
     79            ${destroot}${prefix}/include/ptbuildopts.h \ 
     80            ${destroot}${prefix}/include/ptlib.h && \ 
     81        chmod a+rx ${destroot}${prefix}/include/ptlib \ 
     82            ${destroot}${prefix}/include/ptlib/unix \ 
     83            ${destroot}${prefix}/include/ptlib/unix/ptlib \ 
     84            ${destroot}${prefix}/include/ptclib \ 
     85            ${destroot}${prefix}/bin/ptlib-config \ 
     86            ${destroot}${prefix}/share/pwlib/make/ \ 
     87    " 
    6988} 
Note: See TracChangeset for help on using the changeset viewer.