Ticket #33447: Portfile.diff

File Portfile.diff, 1.9 KB (added by ranauei@…, 13 years ago)

Also added pkgconfig as build depencency

  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name            minicom
    6 version         2.5
     6version         2.6.1
    77categories      comms
    88maintainers     waqar openmaintainer
    99platforms       darwin
     10license         GPL-2
    1011description     Menu driven communications program
    1112long_description  \
    12         Minicom is a menu driven communications program. It emulates    \
    13         ANSI and VT102 terminals. It has a dialing directory and auto   \
    14         zmodem download.
     13                Minicom is a menu driven communications program. It emulates ANSI and \
     14                VT102 terminals. It has a dialing directory and auto zmodem download.
    1515homepage        http://alioth.debian.org/projects/minicom
    16 master_sites    http://alioth.debian.org/frs/download.php/3487
    17 checksums       md5 a5117d4d21e2c9e825edb586ee2fe8d2                    \
    18                 sha1 442250314de63189b619f8744c0669445e2cdd1d           \
    19                 rmd160 4131b9ef37d25cf8f77a70fc4b4de32e7896cc23
     16master_sites    http://alioth.debian.org/frs/download.php/3700
    2017
    21 depends_lib     port:ncurses port:gettext port:kermit
    22 depends_run     port:lrzsz
     18checksums       sha256 a6e7bf533c3796f3a67a7d109f328d46497c687ed13885bd1be4ce0548fc4f56 \
     19                rmd160 d9c7bf6d661427ff1a4007a917574e4ecd872c50
    2320
    24 use_autoreconf  yes
     21depends_build   port:pkgconfig
     22depends_lib     port:gettext
     23depends_run     port:kermit \
     24                port:lrzsz
    2525
    26 configure.args  --enable-dfl-port=/dev/cu.modem     \
    27                 --enable-lock-dir=/tmp              \
    28                 --infodir=${prefix}/share/info      \
    29                 --mandir=${prefix}/share/man        \
    30                 --with-libiconv-prefix=${prefix}/lib
    31 
    32 post-destroot   {
    33         file delete -force ${destroot}${prefix}/lib/charset.alias       \
    34                 ${destroot}${prefix}/share/locale/locale.alias
     26post-patch {
     27                reinplace "s|/usr/local|${prefix}|g" ${worksrcpath}/src/rwconf.c
     28                reinplace "s|/usr/bin/ascii-xfr|${prefix}/bin/ascii-xfr|g" ${worksrcpath}/src/rwconf.c
    3529}
     30
     31configure.args  --enable-lock-dir=/tmp \
     32                --enable-kermit=${prefix}/bin