summaryrefslogtreecommitdiff
path: root/misc/koffice/Makefile
blob: ee612a48b69f56202cf9308192a39800c52f6e7f (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
# $NetBSD: Makefile,v 1.16 2002/11/26 13:03:08 darcy Exp $

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

CONFLICTS+=	koffice3-[0-9]*

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.koffice.org/
COMMENT=	KDE Office Suite

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

PTHREAD_OPTS+=		require
GCC_REQD=		2.95.3

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 "../../lang/gcc/buildlink2.mk"
.include "../../textproc/libxml2/buildlink2.mk"
.include "../../textproc/libxslt/buildlink2.mk"
.include "../../graphics/libart2/buildlink2.mk"
.include "../../x11/kde3/buildlink2.mk"
.include "../../x11/kdebase3/buildlink2.mk"
.include "../../mk/pthread.buildlink2.mk"

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