[53359] trunk/dports/www
blb at macports.org
blb at macports.org
Fri Jul 3 17:37:17 PDT 2009
Revision: 53359
http://trac.macports.org/changeset/53359
Author: blb at macports.org
Date: 2009-07-03 17:37:17 -0700 (Fri, 03 Jul 2009)
Log Message:
-----------
New port - www/mod_dnssd, Apache module to add Zeroconf support via DNS-SD using Avahi; ticket #15032
Added Paths:
-----------
trunk/dports/www/mod_dnssd/
trunk/dports/www/mod_dnssd/Portfile
trunk/dports/www/mod_dnssd/files/
trunk/dports/www/mod_dnssd/files/patch-src_Makefile.in.diff
Added: trunk/dports/www/mod_dnssd/Portfile
===================================================================
--- trunk/dports/www/mod_dnssd/Portfile (rev 0)
+++ trunk/dports/www/mod_dnssd/Portfile 2009-07-04 00:37:17 UTC (rev 53359)
@@ -0,0 +1,50 @@
+# $Id$
+
+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_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"
+
+}
+
Property changes on: trunk/dports/www/mod_dnssd/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/www/mod_dnssd/files/patch-src_Makefile.in.diff
===================================================================
--- trunk/dports/www/mod_dnssd/files/patch-src_Makefile.in.diff (rev 0)
+++ trunk/dports/www/mod_dnssd/files/patch-src_Makefile.in.diff 2009-07-04 00:37:17 UTC (rev 53359)
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2009-01-22 09:42:02.000000000 -0700
++++ src/Makefile.in 2009-07-03 18:17:48.000000000 -0600
+@@ -25,7 +25,7 @@
+ $(APXS) -c $(CFLAGS) $(LIBS) @srcdir@/mod_dnssd.c
+
+ install: all
+- $(APXS) -i -a mod_dnssd.la
++ $(APXS) -S LIBEXECDIR=${DESTDIR}`${APXS} -q LIBEXECDIR`/ -i mod_dnssd.la
+
+ clean:
+ rm -rf *.o *.so *.loT .deps/ *.la *.lo *.slo .libs/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090703/cdcfa983/attachment.html>
More information about the macports-changes
mailing list