# -*- 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 # $Id: Portfile 59401 2009-10-14 18:16:22Z snc@macports.org $ PortSystem 1.0 name dnsmasq version 2.51 categories net license GPL maintainers snc openmaintainer description lightweight DNS forwarder and DHCP server long_description Dnsmasq is lightweight, easy to configure DNS \ forwarder and DHCP server. It is designed to provide \ DNS and, optionally, DHCP, to a small network. It can \ serve the names of local machines which are not in the \ global DNS. The DHCP server integrates with the DNS \ server and allows machines with DHCP-allocated \ addresses to appear in the DNS with names configured \ either in each host or in a central configuration \ file. Dnsmasq supports static and dynamic DHCP leases \ and BOOTP for network booting of diskless machines. homepage http://www.thekelleys.org.uk/dnsmasq/doc.html platforms darwin depends_build port:nawk master_sites http://www.thekelleys.org.uk/dnsmasq/ checksums md5 97465261a6de5258a3c3edfe51ca16a4 \ sha1 2f161b9bce87de6cfc18e2c84017753bdb0ef209 \ rmd160 ea15249d6f8a8e1bb62dc061899885c2791d6a28 patchfiles patch-src-config.h.diff \ patch-Makefile.diff post-patch { reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/config.h } use_configure no destroot.args PREFIX=${prefix} startupitem.create yes #startupitem.type launchd livecheck.type regex livecheck.url ${master_sites} livecheck.regex LATEST_IS_(\\d\\.\\d+)