summaryrefslogtreecommitdiff
path: root/devel/kdesvn-kde4/Makefile
blob: 4a720d86b0ebd7394ce2cddaa32af3b910b7b86b (plain)
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
50
51
52
# Created by: Yuan Jue <yuanjue@yuanjue.net>
# $FreeBSD$

PORTNAME=	kdesvn
DISTVERSION=	1.7.0
PORTREVISION=	12
CATEGORIES=	devel kde
MASTER_SITES=	KDE/stable/${PORTNAME}/${PORTVERSION}/
PKGNAMESUFFIX=	-kde4

MAINTAINER=	kde@FreeBSD.org
COMMENT=	KDE frontend for Subversion

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

DEPRECATED=	KDE4 is EOL upstream
EXPIRATION_DATE=	2018-12-31

LIB_DEPENDS=	libsvn_client-1.so:devel/subversion \
		libapr-1.so:devel/apr1 \
		libgdbm.so:databases/gdbm \
		libexpat.so:textproc/expat2

CONFLICTS=	kdesvn-2.* \
		qsvn-[0-9]*

CMAKE_ARGS+=	-DSUBVERSION_INCLUDE_DIR=${LOCALBASE}/include/subversion-1 \
		-DMAN_INSTALL_DIR=${MANPREFIX}/man

USES=		cmake:outsource compiler:c11 bdb kde:4 qt:4 tar:xz
USE_KDE=	automoc4 kdelibs soprano baseapps_run
USE_LDCONFIG=	yes
USE_QT=		corelib gui xml network dbus svg sql \
		qmake_build moc_build rcc_build uic_build linguist_build

OPTIONS_DEFINE=	DOCS NLS
OPTIONS_SUB=	yes

NLS_CMAKE_OFF=	-DBUILD_po=OFF
NLS_USES=	gettext

PORTSCOUT=	limit:1\.7.*

post-patch:
	${RM} ${WRKSRC}/src/kiosvn/svn*.protocol

post-patch-DOCS-off:
	${FIND} ${WRKSRC}/docs -name CMakeLists.txt | \
		${XARGS} ${REINPLACE_CMD} -n '/kde4_create_manpage/p'

.include <bsd.port.mk>