2000-05-16 22:18:56 +00:00
|
|
|
# New ports collection makefile for: kdebase2
|
|
|
|
# Date created: Fri Apr 14 2000 15:05:00 EDT
|
|
|
|
# Whom: will
|
1997-11-01 14:28:21 +00:00
|
|
|
#
|
1999-08-31 02:51:23 +00:00
|
|
|
# $FreeBSD$
|
1997-11-01 14:28:21 +00:00
|
|
|
#
|
|
|
|
|
2000-04-13 19:19:05 +00:00
|
|
|
PORTNAME= kdebase
|
2002-04-21 23:47:50 +00:00
|
|
|
PORTVERSION= 3.0
|
|
|
|
PORTREVISION= 1
|
2001-08-30 18:56:50 +00:00
|
|
|
CATEGORIES?= x11 kde
|
2000-09-15 21:40:47 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
2001-08-15 16:25:13 +00:00
|
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
|
2001-09-10 20:22:28 +00:00
|
|
|
DIST_SUBDIR= KDE
|
1997-11-01 14:28:21 +00:00
|
|
|
|
2001-08-30 18:56:50 +00:00
|
|
|
MAINTAINER?= kde@FreeBSD.org
|
1997-11-01 14:28:21 +00:00
|
|
|
|
2002-04-12 17:10:20 +00:00
|
|
|
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
|
1998-09-30 02:07:28 +00:00
|
|
|
|
2002-04-21 23:47:50 +00:00
|
|
|
USE_KDELIBS_VER=3
|
(1) Add new variable, XFREE86_VERSION, to specify which version of
XFree86 (3 or 4) to depend to when USE_XLIB is set.
XFREE86_VERSION defaults to 3 for now, but adventurous users can
override it in /etc/make.conf. When XFREE86_VERSION=3, USE_XLIB
will add a dependency to x11/XFree86; when it is set to 4, the
dependency will be to x11/XFree86-4-libraries. When
XFREE86_VERSION=4, the PKG_IGNORE_DEPENDS and ALWAYS_BUILD_DEPENDS
hacks to avoid messing with XFree86 are turned off.
Since XFree86 version 4 includes some software that used to be
separate ports, when XFREE86_VERSION=3 the following variables are
provided:
USE_DGS LIB_DEPENDS on x11/dgs
USE_FREETYPE LIB_DEPENDS on print/freetype
USE_MESA LIB_DEPENDS on graphics/Mesa3
USE_XPM LIB_DEPENDS on graphics/xpm
When XFREE86_VERSION=4, these variables have no effect. The
LIB_DEPENDS in the tree for the above four ports have all been
converted to the USE_* counterparts. For your information, this
is the count of the number of ports:
USE_DGS 0
USE_FREETYPE 16
USE_MESA 36
USE_XPM 236
There is a new variable, XAWVER, which is set to 6 when
XFREE86_VERSION=3 and 7 when XFREE86_VERSION=4. This is also
passed to PLIST_SUB so ports that build Xaw based shared libraries
can use this variable to substitute the shlib version number.
There is also a provision of using a separate mtree file for
XFREE86_VERSION=4, but that part is not enabled yet.
Reviewed by: the ports list
Tested by: make index (XFREE86_VERSION=3 only)
(2) Add hebrew to list of valid categories.
Submitted by: nbm
2000-08-03 09:28:57 +00:00
|
|
|
USE_XPM= yes
|
1999-02-28 21:48:09 +00:00
|
|
|
USE_BZIP2= yes
|
2000-06-16 21:52:40 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
Bring in my fixes for KDE2 for users of XFree86 4.0.x. Basically, what
this involves is this: Cull GL from Qt by default, but still provide a
Qt+GL library that may or may not have threads. Then also provide a Qt
library that has threads but not GL. This allows us to make KDE2 depend
on a library that will *not* have threads, ever. Threads will be
revisited at a later date. Ports that require GL support need to be
updated to use the hacked library, libqtgl.so.4. The net result is that
we bloat our qt2 package by 1.5-2.5MB for compatability. Also, static
qt will not have GL support.
Introduce bsd.kde.mk, which will be tested on bento before becoming
fully activated.
Replace qt22-static with qt2-static, since it's just a proxy. Update
qt-designer to depend on qt23. Also make the old hack to package the
correct lib obsolete by using PLIST_SUB instead.
Miscellaneous changes: remove LIBQTFILE from CONFIGURE_ENV, it's not
used anymore. Solve namespace pollution problems with the devel/pth and
devel/libgnugetopt ports. Hopefully.
Suggested by: ade, asami, sobomax (bsd.kde.mk)
Repocopied by: asami (qt22-static --> qt2-static)
2001-03-24 22:15:59 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2002-04-21 23:47:50 +00:00
|
|
|
CONFIGURE_TARGET=
|
|
|
|
CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2001-08-18 23:54:35 +00:00
|
|
|
CONFIGURE_ENV+= RUN_KAPPFINDER=no
|
Update to 20000724A (custom-rolled snapshot). Rejoice, because now
Konqueror can load HTML documents, KOffice works semi-well, and KDE2 in
general seems less buggy. Only kdeutils was left out of this mega-update.
However, it should return soon. :-)
The massive reduction in patches is mostly the result of using perl
regex replacement. This reduces the amount of time it will take in the
future to upgrade these ports, and load on the repository.
QT 2.2.0beta0 (aka qt-copy) is officially enabled for the express
purpose of allowing KDE2 to compile. It is available in the qt22 port.
Additionally, GIF support is re-enabled in both Qt2 ports, so that
people can now read GIF images. GIF support is enabled through an
internal GIF reader in Qt, and requires no patented libraries. Special
effort was made to ensure that people do not install both qt21 and qt22
ports at the same time.
I'd like to take a moment to thank the following people for their help:
Alex Zepeda <jazepeda@pacbell.net>, Stephan Kulow <coolo@kde.org>, Harri
Porten <porten@kde.org>, Waldo Bastian <waba@kde.org>, Marc G. Fournier
<scrappy@hub.org>, Arun Sharma <adsharma@sharmas.dhs.org>, Matthias
Hoelzer-Kluepfel <mhk@caldera.de>, and many others. Over 150 hours of hard
work, testing, etc. were put into this update. Another couple hundred of
hours were spent by CPUs trying to compile this behemoth. :->
Special thanks to: Physics Computer Network @ Purdue staff, especially
C. Stephen Gunn <csg@physics.purdue.edu>, for giving
me access to an extremely fast machine for doing
test builds (it performed 12 full builds of the
entire suite in the last 7 days).
PR: 18838
Submitted by: Arun Sharma <adsharma@sharmas.dhs.org>
Approved by: imura, asami
2000-07-29 02:44:58 +00:00
|
|
|
CONFIGURE_ARGS+=--with-xdmdir=${X11BASE}/lib/X11/xdm \
|
2002-01-05 02:29:15 +00:00
|
|
|
--without-ldap --disable-closure
|
2002-04-21 23:47:50 +00:00
|
|
|
.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_FINAL)
|
|
|
|
CONFIGURE_ARGS+=--enable-final
|
|
|
|
.endif
|
|
|
|
.if defined(PARALLEL_PACKAGE_BUILD) || defined(WANT_KDE_NDEBUG)
|
|
|
|
CONFIGURE_ARGS+=--disable-debug
|
|
|
|
.endif
|
1999-02-06 23:22:08 +00:00
|
|
|
USE_GMAKE= yes
|
1999-12-07 15:46:35 +00:00
|
|
|
|
2001-08-31 11:27:34 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${X11BASE}/include/Xm/Xm.h)
|
|
|
|
WITH_MOTIF= yes
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined(WITH_MOTIF) && ${WITH_MOTIF} == yes
|
|
|
|
USE_MOTIF= yes
|
|
|
|
PLIST_SUB+= MOTIF=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= MOTIF="@comment "
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "If you want to compile with Motif support,"
|
|
|
|
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MOTIF=yes\""
|
|
|
|
@${ECHO_MSG}
|
|
|
|
@${ECHO_MSG} "Motif is used for Netscape plugin compatibility."
|
|
|
|
@${ECHO_MSG}
|
|
|
|
.endif
|
|
|
|
|
2001-08-19 13:34:26 +00:00
|
|
|
post-extract:
|
2002-04-21 23:47:50 +00:00
|
|
|
@${ECHO} "#!/bin/sh" > ${WRKSRC}/mkpamserv
|
|
|
|
@${ECHO} "exit 0" >> ${WRKSRC}/mkpamserv
|
Update to 20000724A (custom-rolled snapshot). Rejoice, because now
Konqueror can load HTML documents, KOffice works semi-well, and KDE2 in
general seems less buggy. Only kdeutils was left out of this mega-update.
However, it should return soon. :-)
The massive reduction in patches is mostly the result of using perl
regex replacement. This reduces the amount of time it will take in the
future to upgrade these ports, and load on the repository.
QT 2.2.0beta0 (aka qt-copy) is officially enabled for the express
purpose of allowing KDE2 to compile. It is available in the qt22 port.
Additionally, GIF support is re-enabled in both Qt2 ports, so that
people can now read GIF images. GIF support is enabled through an
internal GIF reader in Qt, and requires no patented libraries. Special
effort was made to ensure that people do not install both qt21 and qt22
ports at the same time.
I'd like to take a moment to thank the following people for their help:
Alex Zepeda <jazepeda@pacbell.net>, Stephan Kulow <coolo@kde.org>, Harri
Porten <porten@kde.org>, Waldo Bastian <waba@kde.org>, Marc G. Fournier
<scrappy@hub.org>, Arun Sharma <adsharma@sharmas.dhs.org>, Matthias
Hoelzer-Kluepfel <mhk@caldera.de>, and many others. Over 150 hours of hard
work, testing, etc. were put into this update. Another couple hundred of
hours were spent by CPUs trying to compile this behemoth. :->
Special thanks to: Physics Computer Network @ Purdue staff, especially
C. Stephen Gunn <csg@physics.purdue.edu>, for giving
me access to an extremely fast machine for doing
test builds (it performed 12 full builds of the
entire suite in the last 7 days).
PR: 18838
Submitted by: Arun Sharma <adsharma@sharmas.dhs.org>
Approved by: imura, asami
2000-07-29 02:44:58 +00:00
|
|
|
|
2002-05-20 06:17:57 +00:00
|
|
|
.if ${MACHINE_ARCH} == "alpha"
|
|
|
|
pre-configure:
|
|
|
|
${PERL} -pi -e "s@-O2@-O@g" ${WRKSRC}/admin/acinclude.m4.in
|
|
|
|
.endif
|
|
|
|
|
Update to KDE 2.2:
* All patches except sysutils/kdeadmin/files/patch-rpmMessages.c:
- Either obsoleted or merged into KDE.
* All pkg-plists:
- Huge diffs are due to mass conversion from static HTML pages
to XML/XSL versions.
* audio/kdemultimedia2:
- aRts + Noatun, etc. now work and play MP3s et al properly,
using the mpg123 aRtsplugin. Remove mpeglib[,_artsplug]
from compile.
* converters/kdesupport2:
- Obsolete. No longer used in this version of KDE.
* deskutils/kdepim:
- Use autoconf and account for brokenness in the configure
script by replacing invocations of INSTALL under libical
with the proper incantations.
- Per David O'Brien's request, move libimap to libkimap;
this was performed by Rik Hemsley <rikkus@kde.org>.
* devel/kdesdk:
- New module with some helpful tools. One in particular that
seems demanded is ``kbabel'', which, as I've been told, is
a translator's wet dream.
- Workaround dumb problem in kbabel's libgettext (which I could
not figure out how to remove) by replacing its error() with
errc(). KBabel seems to run fine with this patch.
* devel/kdevelop:
- Fix lame check for libkdeui.so.* by replacing it with just
a check for libkdeui.so. It's been/being removed from
kdevelop after 2.2.
* editors/koffice:
- Fix kivio compile errors by substituting in PTHREAD_LIBS
in the correct place. Compensate for kivio's dependency
on pthreads by changing kivio to use LD_PRELOAD=/usr/lib/libc_r.so
in kivio.desktop.
* games/kdegames2:
- Some new games.
* graphics/kdegraphics2:
- Fix link errors in libkscan and kamera where they
require gettext (ie: add -lintl).
- Fix compile error in kamera.cpp which is dependent on a
correctly done gphoto2.. of course, this will only help
people who've manually installed gphoto2 themselves.
* net/kdenetwork2:
- Mimelib was moved here (reason for removal of kdesupport2).
* misc/kdeaddons:
- New module to FreeBSD ports; some simple addons for KDE2.
Suggested by Lauri Watts <lauri@kde.org>.
* misc/kdeutils2:
- Added a couple manpages.
* x11-clocks/kdetoys2:
- Some new apps.
* sysutils/kdeadmin:
- Remove kuser from compile because it has some problems. ;\
* x11/kdelibs2:
- Add libFAM dependency to help people who run FAM; FAM
increases the overall desktop responsiveness.
Submitted by Lauri Watts <lauri@kde.org>.
- Add CUPS dependency to bring in KDE's new print system.
- Add bzip2/libxml2 dependencies to support the new help kioslave.
- Disable installation of libltdl stuff to prevent conflicts
with other stuff. Submitted by wjv.
- Add pkg-req script to avoid conflicts with kdelibs11; add
to Makefile too. Submitted by benno.
- Be sure to remove the pth header conflicts stuff from the
arts/mcop_mt section.
- Fix problem with configure trying to find -lfam in the
wrong place.
- Remove kspell and api subdirs from doc; we don't need them,
and there are problems trying to build/install them.
Submitted by Lauri Watts <lauri@kde.org>.
* x11/kdebase2:
- Solve link permissions problem by changing the modes on
files installed by kdesktop/init/Templates to 644.
Submitted by Jim Durham <durham@w2xo.pgh.pa.us>.
* x11/kde2:
- Bump version; no other changes.
Special thanks to Lauri Watts <lauri@kde.org> for helping me test
packages generated by these changes on a virgin system. I believe
that this is the best-tested update I've ever done for KDE, and it
really shines this time around.
I just noticed there are a couple other PRs in the PR db that need
to be addressed. I will take care of those by tomorrow. Sorry...
PR: 22735, 28549
Blanket approval by: demon (kdesdk, kdevelop)
2001-08-15 12:43:08 +00:00
|
|
|
post-configure:
|
|
|
|
${PERL} -pi -e "s@444@644@g" ${WRKSRC}/kdesktop/init/Templates/Makefile
|
|
|
|
|
2001-09-03 17:48:23 +00:00
|
|
|
post-install:
|
2001-11-01 00:55:05 +00:00
|
|
|
${CHMOD} u+s ${PREFIX}/bin/kcheckpass
|
2002-04-21 23:47:50 +00:00
|
|
|
${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \
|
|
|
|
${CHMOD} g+s ${PREFIX}/bin/ksysguardd
|
2001-09-03 17:48:23 +00:00
|
|
|
|
2001-08-31 11:27:34 +00:00
|
|
|
.include <bsd.port.post.mk>
|