aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2002-04-22 07:47:50 +0800
committerwill <will@FreeBSD.org>2002-04-22 07:47:50 +0800
commit9a055e87611beb41b98be5a2fe9e0206e33101e8 (patch)
treec06250f8a52c1d8b199e541cd41068fe11b11219 /devel
parentb471bb2de2ef8435ad3f5071b5ba82d535385f85 (diff)
downloadfreebsd-ports-gnome-9a055e87611beb41b98be5a2fe9e0206e33101e8.tar.gz
freebsd-ports-gnome-9a055e87611beb41b98be5a2fe9e0206e33101e8.tar.zst
freebsd-ports-gnome-9a055e87611beb41b98be5a2fe9e0206e33101e8.zip
Please welcome Qt3/KDE3 to our ports tree. This includes work since the
original versions of these ports, so some PORTREVISIONs were bumped. See http://freebsd.kde.org/ and mailing lists linked to from there for info on the packages generated to test these ports. bsd.kde.mk has already been updated a few days ago to work with these. Some patches applied to fix a few bugs were: deskutils/kdepim3: [1] Remove kpilot from build because it wasn't ready at release. editors/koffice-kde3: [2] Fix compile time bugs for FreeBSD. misc/kdeedu3: [3] Fix compile problem with kvoctrain. x11/kdebase3: [4] Fix KDM CPU usage and login bug. Some caveats: * All PLISTs are broken for deinstall due to script bug that I didn't notice until very recently. This will be fixed when I commit an update tomorrow. These ports should still install perfectly fine though. They should also deinstall without giving errors, but will leave directories behind. * You can't install this with any other version of QT or KDE already installed. I am not sure the checks are 100% working, but fixes for these will be forthcoming. This is mainly due to a policy decision made by kde@ to make QT/KDE ports install the way the rest of the world expects it to while also still conforming to FreeBSD's hier(7). For reference on this decision, please consult the KDE/FreeBSD mailing list archives. This decision fixes 2-year-old bug reports relating to how we handled this for KDE2 vs KDE1. Submitted by: [1] Adrian de Groot <adridg@cs.kun.nl>, [2] David Faure <faure@kde.org>, Andy Fawcett <andy@athame.co.uk> Lauri Watts <lauri@kde.org> [3] Lauri Watts <lauri@kde.org> [4] Alan Eldridge <alane@geeksrus.net> Oswald Buddenhagen <ossi@kde.org> Reviewed by: kde
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/kdesdk3/Makefile40
-rw-r--r--devel/kdesdk3/distinfo2
-rw-r--r--devel/kdesdk3/files/patch-aa27
-rw-r--r--devel/kdesdk3/files/patch-kstartperf-libkstartperf.c11
-rw-r--r--devel/kdesdk4/Makefile40
-rw-r--r--devel/kdesdk4/distinfo2
-rw-r--r--devel/kdesdk4/files/patch-aa27
-rw-r--r--devel/kdesdk4/files/patch-kstartperf-libkstartperf.c11
9 files changed, 31 insertions, 130 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 9c4f1446c512..af7a39a489ee 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -220,6 +220,7 @@
SUBDIR += jam
SUBDIR += kdbg
SUBDIR += kdesdk
+ SUBDIR += kdesdk3
SUBDIR += kdestudio
SUBDIR += kdevelop
SUBDIR += kelp
diff --git a/devel/kdesdk3/Makefile b/devel/kdesdk3/Makefile
index 5b5180b3222f..f94657ed1c16 100644
--- a/devel/kdesdk3/Makefile
+++ b/devel/kdesdk3/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= kdesdk
-PORTVERSION= 2.2.2
+PORTVERSION= 3.0
+PORTREVISION= 1
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,36 +15,23 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
-BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
- automake14:${PORTSDIR}/devel/automake14
LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db
-USE_KDEBASE_VER=2
-USE_BZIP2= yes
+USE_KDEBASE_VER=3
GNU_CONFIGURE= yes
-
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500029
-_NO_KDE_OBJPRELINK=yes
+CONFIGURE_TARGET=
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_BZIP2= yes
+.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
-
-.include "${.CURDIR}/../../x11/kde2/Makefile.kde"
-
USE_GMAKE= yes
INSTALLS_SHLIB= yes
-LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde2
-
-MAN1= cvs2pack.1 cvschanged.1 cvsversion.1 noncvslist.1 kde-build.1
+LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
-pre-configure:
- ${MKDIR} ${WRKSRC}/auto-bin
-.for AC in autoconf autoheader
- ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
-.endfor
-.for AM in automake aclocal
- ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
-.endfor
- cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
- ${GMAKE} -f Makefile.cvs
+MAN1= cvs2pack.1 cvsversion.1 noncvslist.1 kde-build.1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/kdesdk3/distinfo b/devel/kdesdk3/distinfo
index 91704129044c..a22ffbf00ceb 100644
--- a/devel/kdesdk3/distinfo
+++ b/devel/kdesdk3/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdesdk-2.2.2.tar.bz2) = f8080a3269a99f0c22a55ad9cab0682d
+MD5 (KDE/kdesdk-3.0.tar.bz2) = 1c0c1329d5222ca26639370b62d4eabc
diff --git a/devel/kdesdk3/files/patch-aa b/devel/kdesdk3/files/patch-aa
deleted file mode 100644
index 2d65987e5766..000000000000
--- a/devel/kdesdk3/files/patch-aa
+++ /dev/null
@@ -1,27 +0,0 @@
---- kbabel/common/libgettext/xmalloc.c.orig Tue Aug 21 11:08:13 2001
-+++ kbabel/common/libgettext/xmalloc.c Tue Aug 21 11:09:28 2001
-@@ -26,6 +26,7 @@
- #endif
-
- #include <sys/types.h>
-+#include <err.h>
-
- #if STDC_HEADERS
- # include <stdlib.h>
-@@ -61,7 +62,6 @@
- The caller may set it to some other value. */
- int xmalloc_exit_failure = EXIT_FAILURE;
-
--void error (int, int, const char *, ...);
-
- static VOID *
- fixup_null_alloc (n)
-@@ -73,7 +73,7 @@
- if (n == 0)
- p = malloc ((size_t) 1);
- if (p == 0)
-- error (xmalloc_exit_failure, 0, _("Memory exhausted"));
-+ err (xmalloc_exit_failure, "Memory exhausted");
- return p;
- }
-
diff --git a/devel/kdesdk3/files/patch-kstartperf-libkstartperf.c b/devel/kdesdk3/files/patch-kstartperf-libkstartperf.c
deleted file mode 100644
index 8ffcc6b5d2f9..000000000000
--- a/devel/kdesdk3/files/patch-kstartperf-libkstartperf.c
+++ /dev/null
@@ -1,11 +0,0 @@
-
---- kstartperf/libkstartperf.c.orig Tue Dec 11 15:13:51 2001
-+++ kstartperf/libkstartperf.c Tue Dec 11 15:13:55 2001
-@@ -13,7 +13,6 @@
- * (C) 2000 Bill Soudan <soudan@kde.org>
- */
-
--#include <malloc.h>
- #include <unistd.h>
- #include <stdlib.h>
- #include <stdio.h>
diff --git a/devel/kdesdk4/Makefile b/devel/kdesdk4/Makefile
index 5b5180b3222f..f94657ed1c16 100644
--- a/devel/kdesdk4/Makefile
+++ b/devel/kdesdk4/Makefile
@@ -6,7 +6,8 @@
#
PORTNAME= kdesdk
-PORTVERSION= 2.2.2
+PORTVERSION= 3.0
+PORTREVISION= 1
CATEGORIES= devel kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -14,36 +15,23 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
-BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
- automake14:${PORTSDIR}/devel/automake14
LIB_DEPENDS= db2.0:${PORTSDIR}/databases/db
-USE_KDEBASE_VER=2
-USE_BZIP2= yes
+USE_KDEBASE_VER=3
GNU_CONFIGURE= yes
-
-.include <bsd.port.pre.mk>
-.if ${OSVERSION} >= 500029
-_NO_KDE_OBJPRELINK=yes
+CONFIGURE_TARGET=
+CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+USE_BZIP2= yes
+.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
-
-.include "${.CURDIR}/../../x11/kde2/Makefile.kde"
-
USE_GMAKE= yes
INSTALLS_SHLIB= yes
-LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde2
-
-MAN1= cvs2pack.1 cvschanged.1 cvsversion.1 noncvslist.1 kde-build.1
+LDCONFIG_DIRS= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
-pre-configure:
- ${MKDIR} ${WRKSRC}/auto-bin
-.for AC in autoconf autoheader
- ${LN} -sf ${LOCALBASE}/bin/${AC}213 ${WRKSRC}/auto-bin/${AC}
-.endfor
-.for AM in automake aclocal
- ${LN} -sf ${LOCALBASE}/bin/${AM}14 ${WRKSRC}/auto-bin/${AM}
-.endfor
- cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
- ${GMAKE} -f Makefile.cvs
+MAN1= cvs2pack.1 cvsversion.1 noncvslist.1 kde-build.1
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/devel/kdesdk4/distinfo b/devel/kdesdk4/distinfo
index 91704129044c..a22ffbf00ceb 100644
--- a/devel/kdesdk4/distinfo
+++ b/devel/kdesdk4/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdesdk-2.2.2.tar.bz2) = f8080a3269a99f0c22a55ad9cab0682d
+MD5 (KDE/kdesdk-3.0.tar.bz2) = 1c0c1329d5222ca26639370b62d4eabc
diff --git a/devel/kdesdk4/files/patch-aa b/devel/kdesdk4/files/patch-aa
deleted file mode 100644
index 2d65987e5766..000000000000
--- a/devel/kdesdk4/files/patch-aa
+++ /dev/null
@@ -1,27 +0,0 @@
---- kbabel/common/libgettext/xmalloc.c.orig Tue Aug 21 11:08:13 2001
-+++ kbabel/common/libgettext/xmalloc.c Tue Aug 21 11:09:28 2001
-@@ -26,6 +26,7 @@
- #endif
-
- #include <sys/types.h>
-+#include <err.h>
-
- #if STDC_HEADERS
- # include <stdlib.h>
-@@ -61,7 +62,6 @@
- The caller may set it to some other value. */
- int xmalloc_exit_failure = EXIT_FAILURE;
-
--void error (int, int, const char *, ...);
-
- static VOID *
- fixup_null_alloc (n)
-@@ -73,7 +73,7 @@
- if (n == 0)
- p = malloc ((size_t) 1);
- if (p == 0)
-- error (xmalloc_exit_failure, 0, _("Memory exhausted"));
-+ err (xmalloc_exit_failure, "Memory exhausted");
- return p;
- }
-
diff --git a/devel/kdesdk4/files/patch-kstartperf-libkstartperf.c b/devel/kdesdk4/files/patch-kstartperf-libkstartperf.c
deleted file mode 100644
index 8ffcc6b5d2f9..000000000000
--- a/devel/kdesdk4/files/patch-kstartperf-libkstartperf.c
+++ /dev/null
@@ -1,11 +0,0 @@
-
---- kstartperf/libkstartperf.c.orig Tue Dec 11 15:13:51 2001
-+++ kstartperf/libkstartperf.c Tue Dec 11 15:13:55 2001
-@@ -13,7 +13,6 @@
- * (C) 2000 Bill Soudan <soudan@kde.org>
- */
-
--#include <malloc.h>
- #include <unistd.h>
- #include <stdlib.h>
- #include <stdio.h>