aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_dnssd/Makefile
blob: 4053b1ff82faa0ab075e2815df2ab5be20f99c2b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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
PORTREVISION=   4
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

MAKE_JOBS_SAFE=  yes

USE_GMAKE=  yes
USE_APACHE= 2.2+
GNU_CONFIGURE=  yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include" \
        LDFLAGS="-L${LOCALBASE}/lib" \
        APR_CFLAGS="`${LOCALBASE}/bin/apr-1-config --cflags --cppflags --includes`" \
        APR_LIBS="`${LOCALBASE}/bin/apr-1-config --ldflags`"
CONFIGURE_ARGS= --disable-lynx

post-install:
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}/README
.endif

.include <bsd.port.mk>