openbsd-ports/www/ap2-mod_dnssd/Makefile
ajacoutot 672948b6ed Import ap2-mod_dnssd-0.6.
mod_dnssd is an Apache HTTPD module which adds Zeroconf support via
DNS-SD using Avahi.

ok jasper@
2013-04-06 07:57:42 +00:00

45 lines
1003 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2013/04/06 07:57:42 ajacoutot Exp $
SHARED_ONLY= Yes
COMMENT= Apache2 Zeroconf module
DISTNAME= mod_dnssd-0.6
PKGNAME= ap2-${DISTNAME}
CATEGORIES= www net
HOMEPAGE= http://0pointer.de/lennart/projects/mod_dnssd/
# Apache 2.0
PERMIT_PACKAGE_CDROM= Yes
WANTLIB += apr-1 avahi-client avahi-common dbus-1 pthread
MASTER_SITES= ${HOMEPAGE}
MODULES= devel/gettext
LIB_DEPENDS= devel/apr \
net/avahi
RUN_DEPENDS= www/apache-httpd
BUILD_DEPENDS= www/apache-httpd
CONFIGURE_STYLE=gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/apache2" \
ac_cv_path_APXS=${LOCALBASE}/sbin/apxs2 \
ac_cv_path_APACHECTL=${LOCALBASE}/sbin/apachectl2
CONFIGURE_ARGS= --disable-lynx
NO_TEST= Yes
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib/apache2
${INSTALL_PROGRAM} ${WRKSRC}/src/.libs/mod_dnssd.so \
${PREFIX}/lib/apache2
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ap2-mod_dnssd
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/ap2-mod_dnssd/
.include <bsd.port.mk>