Ticket #48572: Portfile.diff

File Portfile.diff, 1.5 KB (added by ranauei@…, 9 years ago)

Now using the GitHub PortGroup

  • Portfile

    old new  
    11# -*- 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
    22# $Id: Portfile 90309 2012-03-01 18:28:05Z raimue@macports.org $
    33
    4 PortSystem 1.0
     4PortSystem      1.0
     5PortGroup       github 1.0
    56
    6 name            picocom
    7 version         1.7
     7github.setup    npat-efault picocom 1.8
    88categories      comms
    9 maintainers     gmail.com:ranauei
     9maintainers     gmail.com:ranauei openmaintainer
    1010platforms       darwin
     11license         GPL-2
    1112description     Minimal dumb-terminal emulation program
    1213long_description \
    1314                Picocom was designed to serve as a simple, manual, \
     
    1819                "open terminal window before / after dialing" feature). \
    1920                It could also prove useful in many other similar tasks.
    2021homepage        http://code.google.com/p/picocom
    21 master_sites    googlecode
    2222
    23 checksums       sha256 d0f31c8f7a215a76922d30c81a52b9a2348c89e02a84935517002b3bc2c1129e \
    24                 rmd160 f1311e84d21aa359dd98ed74d85ca7a94050e10f
    25 
    26 patchfiles      patch-picocom.c.diff patch-term.c.diff
     23checksums       sha256 e7a77e8315f00f344600f8567c344723426dbf9c306826ffdffd92298e58d555 \
     24                rmd160 7903716b827cc5fef7fe3d67a94d2f41bd5f1201
    2725
    2826use_configure   no
    2927
     28variant universal {}
     29
    3030build.target    ""
    31 build.args      CC=${configure.cc}
     31build.args      CC=${configure.cc} \
     32                CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
     33                LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
    3234
    3335destroot {
    3436        xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin