summaryrefslogtreecommitdiff
path: root/www/ap22-dnssd/Makefile
blob: 819477f976345f5a992c55e07ffd650bfee81b78 (plain)
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
# $NetBSD: Makefile,v 1.8 2010/11/15 22:58:49 abs Exp $
#

DISTNAME=	mod_dnssd-0.5
PKGNAME=	${APACHE_PKG_PREFIX}-${DISTNAME:S/mod_//}
PKGREVISION=	4
CATEGORIES=	www
MASTER_SITES=	http://0pointer.de/lennart/projects/mod_dnssd/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://0pointer.de/lennart/projects/mod_dnssd/
COMMENT=	Apache module which adds Zeroconf support via DNS-SD using Avahi

PKG_DESTDIR_SUPPORT=	user-destdir

GNU_CONFIGURE=	yes
USE_TOOLS=	pkg-config gmake
USE_LIBTOOL=	yes

CONFIGURE_ENV+=		APXS=${APXS:Q}
CONFIGURE_ARGS+=	--disable-lynx

PKG_APACHE_ACCEPTED=	apache22
APACHE_MODULE_NAME=	mod_dnssd

INSTALLATION_DIRS+=	lib/httpd

do-install:
	cd ${WRKSRC}/src &&						\
	    libexecdir=`${APXS} -q LIBEXECDIR` &&			\
	    ${APXS} -i -S LIBEXECDIR=${DESTDIR}"$${libexecdir}" 	\
	      -n ${APACHE_MODULE_NAME} ${APACHE_MODULE_NAME}.la

.include "../../net/avahi/buildlink3.mk"
.include "../../mk/apache.mk"
.include "../../mk/bsd.pkg.mk"