| @@ -1,64 +1,66 @@ | | | @@ -1,64 +1,66 @@ |
1 | # $NetBSD: Makefile,v 1.104 2009/02/09 22:56:25 joerg Exp $ | | 1 | # $NetBSD: Makefile,v 1.105 2009/02/12 04:01:13 markd Exp $ |
2 | | | 2 | |
3 | DISTNAME= koffice-1.6.3 | | 3 | DISTNAME= koffice-1.6.3 |
4 | PKGREVISION= 8 | | 4 | PKGREVISION= 8 |
5 | CATEGORIES= misc kde | | 5 | CATEGORIES= misc kde |
6 | MASTER_SITES= ${MASTER_SITE_KDE:=koffice-1.6.3/src/} | | 6 | MASTER_SITES= ${MASTER_SITE_KDE:=koffice-1.6.3/src/} |
7 | EXTRACT_SUFX= .tar.bz2 | | 7 | EXTRACT_SUFX= .tar.bz2 |
8 | | | 8 | |
9 | MAINTAINER= markd@NetBSD.org | | 9 | MAINTAINER= markd@NetBSD.org |
10 | HOMEPAGE= http://www.koffice.org/ | | 10 | HOMEPAGE= http://www.koffice.org/ |
11 | COMMENT= KDE Office Suite | | 11 | COMMENT= KDE Office Suite |
12 | | | 12 | |
| | | 13 | PKG_DESTDIR_SUPPORT= user-destdir |
| | | 14 | |
13 | PATCH_SITES= ftp://ftp.kde.org/pub/kde/security_patches/ | | 15 | PATCH_SITES= ftp://ftp.kde.org/pub/kde/security_patches/ |
14 | PATCHFILES= koffice-xpdf-CVE-2007-3387.diff koffice-1.6.3-xpdf2-CVE-2007-4352-5392-5393.diff | | 16 | PATCHFILES= koffice-xpdf-CVE-2007-3387.diff koffice-1.6.3-xpdf2-CVE-2007-4352-5392-5393.diff |
15 | | | 17 | |
16 | CONFLICTS+= koffice3-[0-9]* | | 18 | CONFLICTS+= koffice3-[0-9]* |
17 | | | 19 | |
18 | # to unpack krita/plugins/convolutionfilters properly on NetBSD 1.6 | | 20 | # to unpack krita/plugins/convolutionfilters properly on NetBSD 1.6 |
19 | ## EXTRACT_USING= gtar | | 21 | ## EXTRACT_USING= gtar |
20 | | | 22 | |
21 | USE_LANGUAGES= c c++ | | 23 | USE_LANGUAGES= c c++ |
22 | USE_LIBTOOL= yes | | 24 | USE_LIBTOOL= yes |
23 | USE_TOOLS+= gmake perl pkg-config | | 25 | USE_TOOLS+= gmake perl pkg-config |
24 | GNU_CONFIGURE= yes | | 26 | GNU_CONFIGURE= yes |
25 | | | 27 | |
26 | GCC_REQD+= 2.95.3 | | 28 | GCC_REQD+= 2.95.3 |
27 | | | 29 | |
28 | PTHREAD_OPTS+= require | | 30 | PTHREAD_OPTS+= require |
29 | | | 31 | |
30 | CONFIGURE_ENV+= PYTHONDIR=${LOCALBASE:Q} | | 32 | CONFIGURE_ENV+= PYTHONDIR=${LOCALBASE:Q} |
31 | CONFIGURE_ENV+= PYVERSSUFFIX=${PYVERSSUFFIX:Q} | | 33 | CONFIGURE_ENV+= PYVERSSUFFIX=${PYVERSSUFFIX:Q} |
32 | | | 34 | |
33 | REPLACE_PERL+= lib/store/fix_storage.pl | | 35 | REPLACE_PERL+= lib/store/fix_storage.pl |
34 | REPLACE_PERL+= admin/config.pl | | 36 | REPLACE_PERL+= admin/config.pl |
35 | REPLACE_PERL+= admin/bcheck.pl | | 37 | REPLACE_PERL+= admin/bcheck.pl |
36 | REPLACE_PERL+= admin/conf.change.pl | | 38 | REPLACE_PERL+= admin/conf.change.pl |
37 | REPLACE_PERL+= kword/templates/make_template.pl | | 39 | REPLACE_PERL+= kword/templates/make_template.pl |
38 | REPLACE_PERL+= tools/scripts/gdb_output_to_text.pl | | 40 | REPLACE_PERL+= tools/scripts/gdb_output_to_text.pl |
39 | REPLACE_PERL+= tools/thesaurus/extract.pl | | 41 | REPLACE_PERL+= tools/thesaurus/extract.pl |
40 | REPLACE_PERL+= kpresenter/kprconverter.pl | | 42 | REPLACE_PERL+= kpresenter/kprconverter.pl |
41 | | | 43 | |
42 | # Ensure we export symbols in the linked shared object. | | 44 | # Ensure we export symbols in the linked shared object. |
43 | LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS} | | 45 | LDFLAGS+= ${EXPORT_SYMBOLS_LDFLAGS} |
44 | | | 46 | |
45 | .include "options.mk" | | 47 | .include "options.mk" |
46 | | | 48 | |
47 | post-install: | | 49 | post-install: |
48 | @# The global desktop template files need to be user-writeable, or | | 50 | @# The global desktop template files need to be user-writeable, or |
49 | @# else users won't be able to alter them after copying them to | | 51 | @# else users won't be able to alter them after copying them to |
50 | @# their local directories. | | 52 | @# their local directories. |
51 | ${CHMOD} u+w ${PREFIX}/share/kde/templates/.source/* | | 53 | ${CHMOD} u+w ${DESTDIR}${PREFIX}/share/kde/templates/.source/* |
52 | | | 54 | |
53 | .include "../../lang/python/pyversion.mk" | | 55 | .include "../../lang/python/pyversion.mk" |
54 | .include "../../meta-pkgs/kde3/kde3.mk" | | 56 | .include "../../meta-pkgs/kde3/kde3.mk" |
55 | | | 57 | |
56 | .include "../../devel/libltdl/buildlink3.mk" | | 58 | .include "../../devel/libltdl/buildlink3.mk" |
57 | .include "../../graphics/ImageMagick/buildlink3.mk" | | 59 | .include "../../graphics/ImageMagick/buildlink3.mk" |
58 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" | | 60 | .include "../../graphics/hicolor-icon-theme/buildlink3.mk" |
59 | .include "../../graphics/jasper/buildlink3.mk" | | 61 | .include "../../graphics/jasper/buildlink3.mk" |
60 | .include "../../graphics/libart/buildlink3.mk" | | 62 | .include "../../graphics/libart/buildlink3.mk" |
61 | .include "../../graphics/libexif/buildlink3.mk" | | 63 | .include "../../graphics/libexif/buildlink3.mk" |
62 | .include "../../graphics/tiff/buildlink3.mk" | | 64 | .include "../../graphics/tiff/buildlink3.mk" |
63 | .include "../../print/poppler-qt/buildlink3.mk" | | 65 | .include "../../print/poppler-qt/buildlink3.mk" |
64 | .include "../../textproc/aspell/buildlink3.mk" | | 66 | .include "../../textproc/aspell/buildlink3.mk" |