2013-09-02 19:06:54 +02:00
|
|
|
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
|
2009-02-27 23:21:26 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mod_dnssd
|
|
|
|
PORTVERSION= 0.6
|
2014-09-11 15:29:43 +02:00
|
|
|
PORTREVISION= 11
|
2009-02-27 23:21:26 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://0pointer.de/lennart/projects/mod_dnssd/
|
2010-05-25 22:17:37 +02:00
|
|
|
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
2009-02-27 23:21:26 +01:00
|
|
|
|
2014-07-02 19:17:20 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-08-06 11:11:57 +02:00
|
|
|
COMMENT= Apache module that provides DNS-SD capabilities
|
2009-02-27 23:21:26 +01:00
|
|
|
|
2014-07-14 20:42:04 +02:00
|
|
|
LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app
|
2009-02-27 23:21:26 +01:00
|
|
|
|
2013-09-02 19:06:54 +02:00
|
|
|
USES= gmake pkgconfig
|
2014-07-25 16:16:50 +02:00
|
|
|
USE_APACHE= 22+
|
2009-02-27 23:21:26 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CONFIGURE_ENV= APR_CFLAGS="`${LOCALBASE}/bin/apr-1-config --cflags --cppflags --includes`" \
|
2009-03-01 20:04:16 +01:00
|
|
|
APR_LIBS="`${LOCALBASE}/bin/apr-1-config --ldflags`"
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2009-02-28 02:07:08 +01:00
|
|
|
CONFIGURE_ARGS= --disable-lynx
|
2009-02-27 23:21:26 +01:00
|
|
|
|
2014-07-25 16:16:50 +02:00
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' ${WRKSRC}/src/Makefile
|
|
|
|
|
|
|
|
pre-install:
|
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
|
|
|
|
|
2009-02-27 23:21:26 +01:00
|
|
|
post-install:
|
2014-07-25 16:16:50 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}/
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/doc/README ${STAGEDIR}${DOCSDIR}/README
|
2009-02-27 23:21:26 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|