diff options
-rw-r--r-- | www/Makefile | 1 | ||||
-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 |
6 files changed, 56 insertions, 0 deletions
diff --git a/www/Makefile b/www/Makefile index 267d802eadd6..881f2e40f232 100644 --- a/www/Makefile +++ b/www/Makefile @@ -429,6 +429,7 @@ SUBDIR += mod_cvs SUBDIR += mod_cvs2 SUBDIR += mod_dav + SUBDIR += mod_dnssd SUBDIR += mod_domaintree SUBDIR += mod_dtcl SUBDIR += mod_encoding 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%% |