Ticket #13733: socat-update.diff

File socat-update.diff, 1.9 KB (added by jmroot (Joshua Root), 16 years ago)

update to version 1.6.0.1, and disable termios on Leopard

  • sysutils/socat/Portfile

     
    11# $Id$
    22
    33PortSystem 1.0
     4
    45name            socat
    5 version         1.4.2.0
     6version         1.6.0.1
    67categories      sysutils net
    7 maintainers     md@hudora.de
     8maintainers     hudora.de:md
    89platforms       darwin
    910description     netcat on steroids
    1011long_description        \
     
    1213 channels. Each of these data channels may be a file, pipe, device (serial line \
    1314 etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an \
    1415 SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the \
    15  GNU line editor (readline), a program, or a combination of two of these.
    16 master_sites    http://www.dest-unreach.org/socat/download/
    17 checksums       md5 17694e6390f3488c5318a2cb18ec9919
    18 worksrcdir      socat-1.4
    19 depends_lib             port:readline
    20 configure.cflags-append "-L${prefix}/lib -lreadline"
    21 post-configure {
    22     reinplace "s|\$(INSTALL) -m 644 socat.1 \$(DESTDIR)\$(MANDEST)/man1/|\$(INSTALL) -d -m 755 \$(DESTDIR)\$(MANDEST)/man1/\\\n\\\t\$(INSTALL) -m 644 socat.1 \$(DESTDIR)\$(MANDEST)/man1/|g" \
    23               ${worksrcpath}/Makefile
     16 GNU line editor (readline), a program, or a combination of two of these.
     17homepage        http://www.dest-unreach.org/socat/
     18
     19master_sites    ${homepage}download/
     20use_bzip2       yes
     21checksums       md5 6a0dd33cde2a18eb382433aca8f76ce2 \
     22                sha1 9bb850817d41b7628fc0a79c113581c413166530
     23
     24depends_lib             port:readline port:openssl
     25configure.ldflags-append    -lresolv
     26configure.args  --mandir=${prefix}/share/man
     27
     28platform darwin 9 {
     29    configure.args-append --disable-termios
    2430}
    25 post-destroot {
    26         file rename ${destroot}${prefix}/man/man1/socat.1 ${destroot}${prefix}/share/man/man1/socat.1
    27 }