aboutsummaryrefslogtreecommitdiffstats
path: root/devel/subversion/Makefile
blob: 319fb9accb23f9bb543f7e2a1cd7cff70a17c047 (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
# New ports collection makefile for:    subversion
# Date created:             10 September 2001
# Whom:                 rooneg@electricjellyfish.net
#
# $FreeBSD$

PORTNAME=   subversion
PORTVERSION=    r2927   # 0.14.1
CATEGORIES= devel
MASTER_SITES=   http://subversion.tigris.org/files/documents/15/690/

MAINTAINER= rooneg@electricjellyfish.net

LIB_DEPENDS=    db4:${PORTSDIR}/databases/db4 \
        neon.21:${PORTSDIR}/www/neon \
        expat.3:${PORTSDIR}/textproc/expat2 \
        apr:${PORTSDIR}/devel/apr
RUN_DEPENDS=    gdiff3:${PORTSDIR}/textproc/diffutils
BUILD_DEPENDS=  gdiff3:${PORTSDIR}/textproc/diffutils

WRKSRC= ${WRKDIR}/subversion-${PORTVERSION}
GNU_CONFIGURE=  yes
USE_REINPLACE=  yes
CONFIGURE_ARGS= --with-ssl \
        --with-neon=${LOCALBASE} \
        --with-berkeley-db=${LOCALBASE}/include/db4:${LOCALBASE}/lib \
        --with-apr=${LOCALBASE} \
        --with-apr-util=${LOCALBASE}

post-extract:
    @${REINPLACE_CMD} 's/ldb/ldb4/g' ${WRKSRC}/configure

    @${RM} -r ${WRKSRC}/neon
    @${RM} -r ${WRKSRC}/apr
    @${RM} -r ${WRKSRC}/apr-util

post-configure:
    @${REINPLACE_CMD} 's/install-swig-py-lib//g' ${WRKSRC}/Makefile
    @${REINPLACE_CMD} 's/swig-py-lib//g' ${WRKSRC}/Makefile
    @${REINPLACE_CMD} 's/install-man install-info//g' ${WRKSRC}/Makefile

.include <bsd.port.mk>