summaryrefslogtreecommitdiff
path: root/misc/koffice/Makefile
blob: 83625803171fae7be81f4d2c0330a93140f88eb9 (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
# $NetBSD: Makefile,v 1.28 2003/09/17 19:40:50 grant Exp $

DISTNAME=	koffice-1.2.1
PKGREVISION=	4
CATEGORIES=	misc kde
MASTER_SITES=	ftp://ftp.kde.org/pub/kde/stable/koffice-1.2.1/src/ \
		ftp://ftp.us.kde.org/pub/kde/stable/koffice-1.2.1/src/ \
		ftp://ftp.de.kde.org/pub/kde/stable/koffice-1.2.1/src/
EXTRACT_SUFX=	.tar.bz2

PATCH_SITES=	http://www.koffice.org/bugfixes/
PATCHFILES=	1.2.1_kword_crashes.diff
PATCH_DIST_ARGS?=	-d ${WRKSRC}/kword -p0

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://www.koffice.org/
COMMENT=	KDE Office Suite

CONFLICTS+=	koffice3-[0-9]*

USE_BUILDLINK2=		YES
USE_GMAKE=		YES
GNU_CONFIGURE=		YES
USE_LIBTOOL=		YES
LIBTOOL_OVERRIDE=	${WRKSRC}/libtool

GCC_REQD=		2.95.3

PTHREAD_OPTS+=		require

REPLACE_PERL=		kpresenter/kprconverter.pl

# Ensure we export symbols in the linked shared object.
LDFLAGS+=	${EXPORT_SYMBOLS_LDFLAGS}

post-install:
	@# The global desktop template files need to be user-writeable, or
	@# else users won't be able to alter them after copying them to
	@# their local directories.
	${CHMOD} u+w ${PREFIX}/share/kde/templates/.source/*

.include "../../textproc/libxml2/buildlink2.mk"
.include "../../textproc/libxslt/buildlink2.mk"
.include "../../graphics/libart2/buildlink2.mk"
.include "../../meta-pkgs/kde3/buildlink2.mk"
.include "../../x11/kdebase3/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"

.include "../../mk/bsd.pkg.mk"