diff options
author | marcus <marcus@FreeBSD.org> | 2009-02-28 06:21:26 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2009-02-28 06:21:26 +0800 |
commit | c2b48ac4f12b9f28d4ceecfca886f355df231b2a (patch) | |
tree | 69ab9c9cc390b5d124fb5a26152f13b041f039b9 /www/mod_dnssd | |
parent | 3eee85e02ab7aca930d51974dd05b11f4b7c064c (diff) | |
download | freebsd-ports-gnome-c2b48ac4f12b9f28d4ceecfca886f355df231b2a.tar.gz freebsd-ports-gnome-c2b48ac4f12b9f28d4ceecfca886f355df231b2a.tar.zst freebsd-ports-gnome-c2b48ac4f12b9f28d4ceecfca886f355df231b2a.zip |
Add mod_dnssd, an Apache HTTPD module which adds Zeroconf support via DNS-SD
using Avahi.
WWW: http://0pointer.de/lennart/projects/mod_dnssd/
Diffstat (limited to 'www/mod_dnssd')
-rw-r--r-- | www/mod_dnssd/Makefile | 30 | ||||
-rw-r--r-- | www/mod_dnssd/distinfo | 3 | ||||
-rw-r--r-- | www/mod_dnssd/files/patch-src_Makefile.in | 13 | ||||
-rw-r--r-- | www/mod_dnssd/pkg-descr | 4 | ||||
-rw-r--r-- | www/mod_dnssd/pkg-plist | 5 |
5 files changed, 55 insertions, 0 deletions
diff --git a/www/mod_dnssd/Makefile b/www/mod_dnssd/Makefile new file mode 100644 index 000000000000..a3a890947bce --- /dev/null +++ b/www/mod_dnssd/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: mod_dnssd +# Date created: 27 February 2009 +# Whom: Joe Marcus Clarke <marcus@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= mod_dnssd +PORTVERSION= 0.6 +CATEGORIES= www +MASTER_SITES= http://0pointer.de/lennart/projects/mod_dnssd/ + +MAINTAINER= gnome@FreeBSD.org +COMMENT= An Apache module that provides DNS-SD capabilities + +LIB_DEPENDS= avahi-client.3:${PORTSDIR}/net/avahi-app + +USE_GMAKE= yes +USE_APACHE= 2.0+ +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}/README +.endif + +.include <bsd.port.mk> diff --git a/www/mod_dnssd/distinfo b/www/mod_dnssd/distinfo new file mode 100644 index 000000000000..22ab5cfab418 --- /dev/null +++ b/www/mod_dnssd/distinfo @@ -0,0 +1,3 @@ +MD5 (mod_dnssd-0.6.tar.gz) = bed3d95a98168bf0515922d1c05020c5 +SHA256 (mod_dnssd-0.6.tar.gz) = 2cd171d76eba398f03c1d5bcc468a1756f4801cd8ed5bd065086e4374997c5aa +SIZE (mod_dnssd-0.6.tar.gz) = 86417 diff --git a/www/mod_dnssd/files/patch-src_Makefile.in b/www/mod_dnssd/files/patch-src_Makefile.in new file mode 100644 index 000000000000..d0e9ea1340c8 --- /dev/null +++ b/www/mod_dnssd/files/patch-src_Makefile.in @@ -0,0 +1,13 @@ +--- src/Makefile.in.orig 2009-02-27 17:10:12.000000000 -0500 ++++ src/Makefile.in 2009-02-27 17:10:21.000000000 -0500 +@@ -16,8 +16,8 @@ + + APXS=@APXS@ + APACHECTL=@APACHECTL@ +-LIBS=-Wl,"@LIBS@" @AVAHI_LIBS@ +-CFLAGS=-Wc,"@CFLAGS@" @AVAHI_CFLAGS@ ++LIBS=-Wl,"@LIBS@ @AVAHI_LIBS@" ++CFLAGS=-Wc,"@CFLAGS@ @AVAHI_CFLAGS@" + + all: mod_dnssd.la + diff --git a/www/mod_dnssd/pkg-descr b/www/mod_dnssd/pkg-descr new file mode 100644 index 000000000000..22c086880af2 --- /dev/null +++ b/www/mod_dnssd/pkg-descr @@ -0,0 +1,4 @@ +mod_dnssd is an Apache HTTPD module which adds Zeroconf support via DNS-SD +using Avahi. + +WWW: http://0pointer.de/lennart/projects/mod_dnssd/ diff --git a/www/mod_dnssd/pkg-plist b/www/mod_dnssd/pkg-plist new file mode 100644 index 000000000000..dfdb864d4b61 --- /dev/null +++ b/www/mod_dnssd/pkg-plist @@ -0,0 +1,5 @@ +%%APACHEMODDIR%%/mod_dnssd.so +@exec %D/sbin/apxs -e -a -n dnssd %D/%f || true +@unexec %D/sbin/apxs -e -A -n dnssd %D/%f || true +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%@dirrm %%DOCSDIR%% |