2004-12-24 05:32:54 +01:00
|
|
|
# $NetBSD: Makefile,v 1.49 2004/12/24 04:32:55 wiz Exp $
|
2002-10-08 16:15:53 +02:00
|
|
|
|
2004-11-23 21:24:08 +01:00
|
|
|
DISTNAME= koffice-1.3.5
|
2004-12-24 05:32:54 +01:00
|
|
|
PKGREVISION= 1
|
2002-10-08 16:15:53 +02:00
|
|
|
CATEGORIES= misc kde
|
2004-11-23 21:24:08 +01:00
|
|
|
MASTER_SITES= ftp://ftp.kde.org/pub/kde/stable/koffice-1.3.5/src/ \
|
|
|
|
ftp://ftp.us.kde.org/pub/kde/stable/koffice-1.3.5/src/ \
|
|
|
|
ftp://ftp.de.kde.org/pub/kde/stable/koffice-1.3.5/src/
|
2002-10-08 16:15:53 +02:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2003-07-17 23:41:05 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2002-10-08 16:15:53 +02:00
|
|
|
HOMEPAGE= http://www.koffice.org/
|
|
|
|
COMMENT= KDE Office Suite
|
|
|
|
|
2003-04-09 15:57:14 +02:00
|
|
|
CONFLICTS+= koffice3-[0-9]*
|
|
|
|
|
2004-04-26 04:06:23 +02:00
|
|
|
USE_BUILDLINK3= YES
|
2004-01-24 15:11:09 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2002-10-08 16:15:53 +02:00
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_LIBTOOL= YES
|
|
|
|
|
2004-02-01 02:43:28 +01:00
|
|
|
GCC_REQD+= 2.95.3
|
2003-09-12 22:07:06 +02:00
|
|
|
|
2002-10-08 16:15:53 +02:00
|
|
|
PTHREAD_OPTS+= require
|
|
|
|
|
2004-01-28 09:43:11 +01:00
|
|
|
PYTHON_VERSIONS_ACCEPTED= 23 23pth # needs shared library
|
|
|
|
CONFIGURE_ENV+= PYTHONDIR="${LOCALBASE}"
|
2004-02-10 22:06:33 +01:00
|
|
|
CONFIGURE_ENV+= PYVERSSUFFIX="${PYVERSSUFFIX}"
|
2004-01-28 09:43:11 +01:00
|
|
|
|
|
|
|
REPLACE_PERL+= lib/store/fix_storage.pl
|
|
|
|
REPLACE_PERL+= admin/config.pl
|
|
|
|
REPLACE_PERL+= admin/bcheck.pl
|
|
|
|
REPLACE_PERL+= admin/conf.change.pl
|
|
|
|
REPLACE_PERL+= admin/cvs-clean.pl
|
|
|
|
REPLACE_PERL+= kword/templates/make_template.pl
|
|
|
|
REPLACE_PERL+= tools/scripts/gdb_output_to_text.pl
|
|
|
|
REPLACE_PERL+= tools/thesaurus/extract.pl
|
|
|
|
REPLACE_PERL+= kpresenter/kprconverter.pl
|
2002-10-08 16:15:53 +02:00
|
|
|
|
|
|
|
# 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/*
|
|
|
|
|
2004-01-28 09:43:11 +01:00
|
|
|
.include "../../lang/python/pyversion.mk"
|
2004-04-26 04:06:23 +02:00
|
|
|
.include "../../converters/wv2/buildlink3.mk"
|
|
|
|
.include "../../textproc/aspell/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxml2/buildlink3.mk"
|
|
|
|
.include "../../textproc/libxslt/buildlink3.mk"
|
|
|
|
.include "../../graphics/ImageMagick/buildlink3.mk"
|
|
|
|
.include "../../graphics/jasper/buildlink3.mk"
|
|
|
|
.include "../../graphics/libart2/buildlink3.mk"
|
|
|
|
.include "../../graphics/tiff/buildlink3.mk"
|
|
|
|
.include "../../meta-pkgs/kde3/kde3.mk"
|
|
|
|
.include "../../x11/kdebase3/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2002-10-08 16:32:57 +02:00
|
|
|
|
2002-09-20 13:44:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|