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" |
| 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 | } |