blob: f47793e282898d9c8e0bb6f0a54a7159f25649e8 (
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
|
# $NetBSD: Makefile,v 1.10 2002/03/13 17:37:27 fredb Exp $
DISTNAME= koffice-1.1.1
PKGREVISION= 1
CATEGORIES= misc kde
MASTER_SITES= ftp://ftp.kde.org/pub/kde/stable/koffice-1.1.1/src/ \
ftp://ftp.us.kde.org/pub/kde/stable/koffice-1.1.1/src/ \
ftp://ftp.de.kde.org/pub/kde/stable/koffice-1.1.1/src/
.include "../../x11/kde2/Makefile.kde2"
MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://www.koffice.org/
COMMENT= KDE Office Suite with text processor, spreadsheet, etc.
BUILD_DEPENDS+= qt2-designer-kde>=2.3.1nb2:../../x11/qt2-designer-kde
USE_BUILDLINK_ONLY= YES
.include "../../mk/bsd.prefs.mk"
REPLACE_PERL= kpresenter/kprconverter.pl
.if ${OPSYS} == "NetBSD"
LIBS+= -Wl,--export-dynamic
# On egcs-1.1.2, the C++ compiler system isn't quite ISO-compliant. It lacks
# a std::auto_ptr implementation in <memory>, doesn't handle static inline
# functions in headers properly (although that concept, in itself, is quite
# flawed), and just plain has bugs when compiling large functions with
# optimization. For certains parts of KOffice, we pass in
# ${OPTIMIZATION_BUG_CXXFLAGS}, which is meant to be appended to
# ${KDE_CXXFLAGS} so that it can turn off all code optimization by the
# compiler.
#
MAKE_ENV+= OPTIMIZATION_BUG_CXXFLAGS="-O0"
.endif
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 "../../x11/kde2/buildlink.mk"
.include "../../x11/kdebase2/buildlink.mk"
.include "../../mk/x11.buildlink.mk"
.include "../../mk/bsd.pkg.mk"
|