1999-11-26 20:32:19 +01:00
|
|
|
# New ports collection makefile for: mod_dav (apache)
|
|
|
|
# Date created: Sun Oct 17, 1999
|
|
|
|
# Whom: patrick@mindstep.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 02:07:29 +02:00
|
|
|
PORTNAME= mod_dav
|
2002-05-02 23:42:21 +02:00
|
|
|
PORTVERSION= 1.0.3
|
2003-12-20 13:35:43 +01:00
|
|
|
PORTREVISION= 1
|
1999-11-26 20:32:19 +01:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://www.webdav.org/mod_dav/
|
2000-04-10 02:07:29 +02:00
|
|
|
DISTNAME= mod_dav-${PORTVERSION}-${APACHE_VERSION}
|
1999-11-26 20:32:19 +01:00
|
|
|
|
|
|
|
MAINTAINER= patrick@mindstep.com
|
2003-02-21 15:08:24 +01:00
|
|
|
COMMENT= An Apache module that provides DAV capabilities
|
1999-11-26 20:32:19 +01:00
|
|
|
|
|
|
|
# This port will work with the following version of Apache and anything newer.
|
|
|
|
APACHE_VERSION= 1.3.6
|
|
|
|
|
2003-11-07 10:12:58 +01:00
|
|
|
USE_APACHE= yes
|
1999-11-26 20:32:19 +01:00
|
|
|
HAS_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --prefix=${PREFIX} \
|
|
|
|
--bindir=${PREFIX}/bin \
|
|
|
|
--sbindir=${PREFIX}/sbin \
|
|
|
|
--libexecdir=${PREFIX}/libexec/apache \
|
|
|
|
--mandir=${PREFIX}/man \
|
|
|
|
--sysconfdir=${PREFIX}/etc/apache \
|
|
|
|
--datadir=${PREFIX}/share/apache \
|
|
|
|
--includedir=${PREFIX}/include/apache \
|
2003-11-07 10:12:58 +01:00
|
|
|
--with-apxs=${APXS}
|
1999-11-26 20:32:19 +01:00
|
|
|
|
|
|
|
CONFIGURE_ENV= CFLAGS='${CFLAGS}' \
|
|
|
|
PATH="${PREFIX}/bin:${PREFIX}/sbin:${PATH}"
|
|
|
|
|
2003-12-20 13:35:43 +01:00
|
|
|
.if defined(WITH_SYMLINK_PATCH)
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/SYMLINK-mod_dav.h ${FILESDIR}/SYMLINK-dav_fs_repos.c
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !defined(WITH_SYMLINK_PATCH)
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_MSG} "Use WITH_SYMLINK_PATCH=yes to let mod_dav follow symlinks."
|
|
|
|
@/bin/sleep 5
|
|
|
|
.endif
|
|
|
|
|
1999-11-26 20:32:19 +01:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/apache.conf.mod_dav ${PREFIX}/etc/apache
|
|
|
|
@${ECHO_MSG} "*******************************************************"
|
|
|
|
@${ECHO_MSG} "* Please review the mod_dav configuration in the main"
|
|
|
|
@${ECHO_MSG} "* Apache configuration file."
|
2002-12-12 08:16:36 +01:00
|
|
|
@${ECHO_MSG} "* ${PREFIX}/etc/apache/httpd.conf"
|
1999-11-26 20:32:19 +01:00
|
|
|
@${ECHO_MSG} "*"
|
|
|
|
@${ECHO_MSG} "* Look at the file ${PREFIX}/etc/apache/apache.conf.mod_dav"
|
|
|
|
@${ECHO_MSG} "* for indications on what to do."
|
|
|
|
@${ECHO_MSG} "*"
|
|
|
|
@${ECHO_MSG} "*******************************************************"
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|