aboutsummaryrefslogtreecommitdiffstats
path: root/www/mod_dav/Makefile
blob: e75613c1aa02a7f69416e2e78214542a40b322ab (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
49
# New ports collection makefile for:    mod_dav (apache)
# Version required: 0.9.14
# Date created:     Sun Oct 17, 1999
# Whom:         patrick@mindstep.com
#
# $FreeBSD$
#

DISTNAME=   mod_dav-${DAV_VERSION}-${APACHE_VERSION}
PKGNAME=    mod_dav-${DAV_VERSION}
CATEGORIES= www
MASTER_SITES=   http://www.webdav.org/mod_dav/

MAINTAINER= patrick@mindstep.com

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

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

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>