aboutsummaryrefslogtreecommitdiffstats
path: root/devel/kdesvn-kde4/Makefile
blob: 25dbd917fb254f72ec49b1596aa5a4024d4618cb (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
# New ports collection makefile for:    kdesvn
# Date created:             08 April 2006
# Whom:                 Yuan Jue <yuanjue@yuanjue.net>
#
# $FreeBSD$

PORTNAME=   kdesvn
PORTVERSION=    0.9.1
CATEGORIES= devel kde
MASTER_SITES=   http://www.alwins-world.de/programs/download/${PORTNAME}/ \
        http://www.yuanjue.net/download/

MAINTAINER= yuanjue@yuanjue.net
COMMENT=    KDE frontend for Subversion

EXTRA_PATCHES=  ${PORTSDIR}/x11/kde3/files/extrapatch-old_configure

LIB_DEPENDS+=   apr-1:${PORTSDIR}/devel/apr-svn \
        svn_client-1:${PORTSDIR}/devel/subversion \
        neon:${PORTSDIR}/www/neon

USE_KDELIBS_VER=3
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15
INSTALLS_SHLIB= yes

CONFIGURE_ARGS+=--with-apr-config=apr-1-config \
        --with-apu-config=apu-1-config

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=     Does not compile on 4.x
.endif

post-patch:
    @${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.post.mk>