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 |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | PortGroup github 1.0 |
---|
5 | |
---|
6 | github.setup cooljeanius mdnsd 0.8.1 v |
---|
7 | categories net |
---|
8 | maintainers gwmail.gwu.edu:egall openmaintainer |
---|
9 | description embeddable Multicast DNS Daemon |
---|
10 | license {GPL-3+ BSD} Permissive |
---|
11 | platforms darwin |
---|
12 | long_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 | |
---|
20 | checksums rmd160 bb4a4cf73eb584bb11f4897d91e804aa24190267 \ |
---|
21 | sha256 40943113090343c4f60bd12e4db617af2f34684229856c0a06a6699793d517e7 \ |
---|
22 | size 444316 |
---|
23 | |
---|
24 | configure.args-append --includedir=${prefix}/include/${name} |
---|
25 | |
---|
26 | # Testsuite is just a stub so far, but it does exist: |
---|
27 | test.run yes |
---|
28 | test.target check |
---|
29 | |
---|
30 | variant 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 | |
---|
37 | post-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 | } |
---|
47 | } |
---|