aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_dav/Makefile
blob: 108b8a557042399a6df75781ee379bcb33d75369 (plain) (blame)
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
37
38
39
40
41
42
43
44
45
46
47
48
# New ports collection makefile for:    mod_dav (apache)
# Date created:     Sun Oct 17, 1999
# Whom:         patrick@mindstep.com
#
# $FreeBSD$
#

PORTNAME=   mod_dav
PORTVERSION=    1.0.3
CATEGORIES= www
MASTER_SITES=   http://www.webdav.org/mod_dav/
DISTNAME=   mod_dav-${PORTVERSION}-${APACHE_VERSION}

MAINTAINER= patrick@mindstep.com

BUILD_DEPENDS=  ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13
RUN_DEPENDS=    ${LOCALBASE}/sbin/apxs:${PORTSDIR}/www/apache13

# This port will work with the following version of Apache and anything newer.
APACHE_VERSION= 1.3.6

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 \
        --with-apxs=${PREFIX}/sbin/apxs

CONFIGURE_ENV=  CFLAGS='${CFLAGS}' \
        PATH="${PREFIX}/bin:${PREFIX}/sbin:${PATH}"

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."
    @${ECHO_MSG} "* ${PREFIX}/etc/apache/apache.conf"
    @${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>