1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/www/mod_dnssd/Makefile
Dmitry Marakasov 6f6fbe4bdf - Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
2011-09-23 22:26:39 +00:00

38 lines
925 B
Makefile

# 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= 8
CATEGORIES= www
MASTER_SITES= http://0pointer.de/lennart/projects/mod_dnssd/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
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= 22+
GNU_CONFIGURE= yes
CONFIGURE_ENV= APR_CFLAGS="`${LOCALBASE}/bin/apr-1-config --cflags --cppflags --includes`" \
APR_LIBS="`${LOCALBASE}/bin/apr-1-config --ldflags`"
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-lynx
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}/README
.endif
.include <bsd.port.mk>