# $Id: Portfile 82356 2011-08-12 22:15:55Z jmr@macports.org $ PortSystem 1.0 name mod_dnssd version 0.6 categories www maintainers nomaintainer description Apache module to add Zeroconf support via DNS-SD using Avahi long_description ${description} platforms darwin homepage http://0pointer.de/lennart/projects/mod_dnssd/ master_sites ${homepage} checksums md5 bed3d95a98168bf0515922d1c05020c5 \ sha1 22a90b4e3a5c042b47926888bbc41d79d9745b10 \ rmd160 75e3d85960761221be6ff1736d6dbe73da01d24f depends_build port:pkgconfig depends_lib port:apache2 port:avahi patchfiles patch-src_Makefile.in.diff configure.args --disable-lynx # Set APXS APACHECTL since configure appears to ignore --with-apxs and # --with-apachectl configure.env APXS=${prefix}/apache2/bin/apxs \ APACHECTL=${prefix}/apache2/bin/apachectl destroot.violate_mtree yes pre-destroot { xinstall -m 755 -d ${destroot}${prefix}/apache2/modules } post-destroot { xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} LICENSE README \ ${destroot}${prefix}/share/doc/${name} } post-activate { ui_msg "To enable ${name}, add" ui_msg " LoadModule dnssd_module modules/mod_dnssd.so" ui_msg "to your ${prefix}/apache2/conf/httpd.conf file." ui_msg "Please read the documentation at" ui_msg " http://0pointer.de/lennart/projects/mod_dnssd/" ui_msg " for further details on configuration of this module" }