Ticket #63238: Portfile.diff

File Portfile.diff, 2.9 KB (added by cooljeanius (Eric Gallager), 3 years ago)

diff between old Portfile and new Portfile

  • Portfile

    old new  
    1 PortSystem 1.0
     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
    22
    3 name            mdnsd
    4 version         0.7G
    5 revision        0
    6 categories      net
    7 license         {GPL BSD}
    8 maintainers     nomaintainer
    9 description     embeddable Multicast DNS Daemon
    10 long_description        \
    11         mdnsd is a very lightweight, simple, portable, and easy to integrate \
    12         open source implementation of Multicast DNS (part of Zeroconf, also \
    13         called Rendezvous by Apple) for developers. It supports both acting \
    14         as a Query and a Responder, allowing any software to participate \
    15         fully on the .local network just by including a few files and \
    16         calling a few functions.
    17 homepage        http://dotlocal.org/mdnsd/
    18 platforms       darwin
    19 master_sites    http://dotlocal.org/mdnsd/
    20 checksums       md5 3692107785567b0eff6cec979506da3b
    21 use_configure   no
    22 destroot {
    23         file mkdir ${destroot}${prefix}/bin
    24         system "install -m 755 ${worksrcpath}/mhttp ${destroot}${prefix}/bin"
    25         system "install -m 755 ${worksrcpath}/mquery ${destroot}${prefix}/bin"
     3PortSystem      1.0
     4PortGroup       github 1.0
     5
     6github.setup    cooljeanius mdnsd 0.8.1 v
     7categories      net
     8maintainers     gwmail.gwu.edu:egall openmaintainer
     9description     embeddable Multicast DNS Daemon
     10license         {GPL-3+ BSD} Permissive
     11platforms       darwin
     12long_description    \
     13    ${name} is a lightweight, simple, portable, and easy-to-integrate \
     14    open source implementation of Multicast DNS (part of Zeroconf, also \
     15    called Rendezvous by Apple) for developers. It supports both acting \
     16    as a Query and a Responder, allowing any software to participate \
     17    fully on the .local network just by including a few files and \
     18    calling a few functions.
     19
     20checksums       rmd160  bb4a4cf73eb584bb11f4897d91e804aa24190267 \
     21                sha256  40943113090343c4f60bd12e4db617af2f34684229856c0a06a6699793d517e7 \
     22                size    444316
     23
     24configure.args-append --includedir=${prefix}/include/${name}
     25
     26# Testsuite is just a stub so far, but it does exist:
     27test.run        yes
     28test.target     check
     29
     30variant autoreconf description {Regenerates configure script before building.} {
     31    depends_build-append port:gawk \
     32                         port:grep
     33    use_autoreconf       yes
     34    autoreconf.args      -fvi -Wall
     35}
     36
     37post-destroot {
     38    if {![file exists ${destroot}${prefix}/bin]} {
     39        xinstall -d ${destroot}${prefix}/bin
     40    }
     41    if {![file exists ${destroot}${prefix}/bin/mhttp]} {
     42        xinstall -m 755 ${worksrcpath}/mhttp ${destroot}${prefix}/bin
     43    }
     44    if {![file exists ${destroot}${prefix}/bin/mquery]} {
     45        xinstall -m 755 ${worksrcpath}/mquery ${destroot}${prefix}/bin
     46    }
    2647}