source: trunk/dports/www/mod_dnssd/Portfile

Last change on this file was 110868, checked in by jmr@…, 4 years ago

mod_dnssd: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 110868 2013-09-08 22:16:55Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                mod_dnssd
6version             0.6
7categories          www
8license             Apache-2
9maintainers         nomaintainer
10description         Apache module to add Zeroconf support via DNS-SD using Avahi
11long_description    ${description}
12
13platforms           darwin
14
15homepage            http://0pointer.de/lennart/projects/mod_dnssd/
16master_sites        ${homepage}
17
18checksums           md5     bed3d95a98168bf0515922d1c05020c5 \
19                    sha1    22a90b4e3a5c042b47926888bbc41d79d9745b10 \
20                    rmd160  75e3d85960761221be6ff1736d6dbe73da01d24f
21
22depends_build       port:pkgconfig
23depends_lib         port:apache2 port:avahi
24
25patchfiles          patch-src_Makefile.in.diff
26
27configure.args      --disable-lynx
28# Set APXS APACHECTL since configure appears to ignore --with-apxs and
29# --with-apachectl
30configure.env       APXS=${prefix}/apache2/bin/apxs \
31                    APACHECTL=${prefix}/apache2/bin/apachectl
32
33destroot.violate_mtree yes
34pre-destroot {
35   xinstall -m 755 -d ${destroot}${prefix}/apache2/modules
36}
37
38post-destroot {
39   xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
40   xinstall -m 644 -W ${worksrcpath} LICENSE README \
41      ${destroot}${prefix}/share/doc/${name}
42}
43
44post-activate {
45   ui_msg "To enable ${name}, add"
46   ui_msg "   LoadModule dnssd_module modules/mod_dnssd.so"
47   ui_msg "to your ${prefix}/apache2/conf/httpd.conf file."
48   ui_msg "Please read the documentation at"
49   ui_msg "   http://0pointer.de/lennart/projects/mod_dnssd/"
50   ui_msg " for further details on configuration of this module"
51
52}
Note: See TracBrowser for help on using the repository browser.