aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/kcharselect/Makefile12
-rw-r--r--deskutils/kcharselect/distinfo2
-rw-r--r--deskutils/kcharselect/pkg-plist76
-rw-r--r--deskutils/kdepim3/Makefile13
-rw-r--r--deskutils/kdepim3/distinfo2
-rw-r--r--deskutils/kdepim3/files/patch-icallangbind.c11
-rw-r--r--deskutils/kdepim3/files/patch-parseholiday.y11
-rw-r--r--deskutils/kdepim3/files/patch-vcc.y11
-rw-r--r--deskutils/kdepim3/files/patch-vobject.c11
-rw-r--r--deskutils/kdepim3/files/patch-y_tab.c11
-rw-r--r--deskutils/kdepim3/pkg-plist18
-rw-r--r--deskutils/kdepim4/Makefile13
-rw-r--r--deskutils/kdepim4/distinfo2
-rw-r--r--deskutils/kdepim4/files/patch-icallangbind.c11
-rw-r--r--deskutils/kdepim4/files/patch-parseholiday.y11
-rw-r--r--deskutils/kdepim4/files/patch-vcc.y11
-rw-r--r--deskutils/kdepim4/files/patch-vobject.c11
-rw-r--r--deskutils/kdepim4/files/patch-y_tab.c11
-rw-r--r--deskutils/kdepim4/pkg-plist18
-rw-r--r--deskutils/kdepim44/Makefile13
-rw-r--r--deskutils/kdepim44/distinfo2
-rw-r--r--deskutils/kdepim44/files/patch-icallangbind.c11
-rw-r--r--deskutils/kdepim44/files/patch-parseholiday.y11
-rw-r--r--deskutils/kdepim44/files/patch-vcc.y11
-rw-r--r--deskutils/kdepim44/files/patch-vobject.c11
-rw-r--r--deskutils/kdepim44/files/patch-y_tab.c11
-rw-r--r--deskutils/kdepim44/pkg-plist18
27 files changed, 284 insertions, 70 deletions
diff --git a/deskutils/kcharselect/Makefile b/deskutils/kcharselect/Makefile
index afe2b84b5758..927429579915 100644
--- a/deskutils/kcharselect/Makefile
+++ b/deskutils/kcharselect/Makefile
@@ -1,4 +1,4 @@
-# New ports collection makefile for: kdeutils2
+# New ports collection makefile for: kdeutils3
# Date created: 3 November 2001
# Whom: will@cvs.kde.org
#
@@ -6,23 +6,23 @@
#
PORTNAME= kdeutils
-PORTVERSION= 3.0
+PORTVERSION= 3.0.1
CATEGORIES?= misc kde
-MASTER_SITES= http://www.csociety.org/~will/kde/${PORTVERSION}/
+MASTER_SITES= ${MASTER_SITE_KDE}
+MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER?= kde@FreeBSD.org
-#WRKSRC= ${WRKDIR}/kdeutils
USE_KDELIBS_VER=3
USE_BZIP2= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
MAN1= efax.1 efix.1 fax.1
+.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
+
#klaptop doesn't like alpha because alpha doesn't support apm
.if ${MACHINE_ARCH} == "alpha"
post-extract:
diff --git a/deskutils/kcharselect/distinfo b/deskutils/kcharselect/distinfo
index 37fe27951179..0cf3762a9403 100644
--- a/deskutils/kcharselect/distinfo
+++ b/deskutils/kcharselect/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdeutils-3.0.tar.bz2) = 25df70632935464d9c4ca011ab9d22c2
+MD5 (KDE/kdeutils-3.0.1.tar.bz2) = ad6cd9a0cf8033a04ef9c2be8030a5b6
diff --git a/deskutils/kcharselect/pkg-plist b/deskutils/kcharselect/pkg-plist
index 5d023fd9f7e5..a9d11ccb5fa1 100644
--- a/deskutils/kcharselect/pkg-plist
+++ b/deskutils/kcharselect/pkg-plist
@@ -32,10 +32,10 @@ lib/kde3/kcm_kdf.la
lib/kde3/kcm_kdf.so
%%ALPHA_NA%%lib/kde3/kcm_laptop.la
%%ALPHA_NA%%lib/kde3/kcm_laptop.so
-lib/kde3/kedit.la
-lib/kde3/kedit.so
lib/kde3/libkregexpeditorgui.la
lib/kde3/libkregexpeditorgui.so
+lib/kedit.la
+lib/kedit.so
%%ALPHA_NA%%lib/klaptopdaemon.la
%%ALPHA_NA%%lib/klaptopdaemon.so
lib/libark.la
@@ -222,5 +222,75 @@ share/icons/locolor/32x32/apps/klprfax.png
share/services/arkpart.desktop
%%ALPHA_NA%%share/services/klaptopdaemon.desktop
share/services/kregexpeditorgui.desktop
+@comment empty dirs
@exec /bin/mkdir -p %D/share/apps/kcalc/pics
-@exec /bin/mkdir -p %D/share/apps/kcalc/pics
+@comment directories
+@dirrm share/services
+@dirrm share/icons/locolor/32x32/apps
+@dirrm share/icons/locolor/32x32
+@dirrm share/icons/locolor/16x16/apps
+@dirrm share/icons/locolor/16x16
+@dirrm share/icons/locolor
+@dirrm share/icons/hicolor/48x48/apps
+@dirrm share/icons/hicolor/48x48
+@dirrm share/icons/hicolor/32x32/apps
+@dirrm share/icons/hicolor/32x32
+@dirrm share/icons/hicolor/16x16/apps
+@dirrm share/icons/hicolor/16x16
+@dirrm share/icons/hicolor
+@dirrm share/icons
+@dirrm share/doc/HTML/en/klprfax
+@dirrm share/doc/HTML/en/klpq
+@dirrm share/doc/HTML/en/kljettool
+@dirrm share/doc/HTML/en/kjots
+@dirrm share/doc/HTML/en/khexedit
+@dirrm share/doc/HTML/en/kfloppy
+@dirrm share/doc/HTML/en/kedit
+@dirrm share/doc/HTML/en/kdf
+@dirrm share/doc/HTML/en/kcalc
+@dirrm share/doc/HTML/en/kab
+@dirrm share/doc/HTML/en/ark
+@dirrm share/doc/HTML/en/KRegExpEditor
+@dirrm share/doc/HTML/en
+@dirrm share/doc/HTML
+@dirrm share/doc
+@dirrm share/apps/kregexpeditor/predefined/general
+@dirrm share/apps/kregexpeditor/predefined
+@dirrm share/apps/kregexpeditor/pics
+@dirrm share/apps/kregexpeditor
+@dirrm share/apps/konqueror/servicemenus
+@dirrm share/apps/konqueror
+@dirrm share/apps/kljettool/pics
+@dirrm share/apps/kljettool
+@dirrm share/apps/klaptopdaemon/icons/hicolor/32x32/actions
+@dirrm share/apps/klaptopdaemon/icons/hicolor/32x32
+@dirrm share/apps/klaptopdaemon/icons/hicolor/16x16/actions
+@dirrm share/apps/klaptopdaemon/icons/hicolor/16x16
+@dirrm share/apps/klaptopdaemon/icons/hicolor
+@dirrm share/apps/klaptopdaemon/icons
+@dirrm share/apps/klaptopdaemon
+@dirrm share/apps/kjots/pics
+@dirrm share/apps/kjots
+@dirrm share/apps/kicker/applets
+@dirrm share/apps/kicker
+@dirrm share/apps/khexedit/toolbar
+@dirrm share/apps/khexedit
+@dirrm share/apps/kedit
+@dirrm share/apps/kdf/pics
+@dirrm share/apps/kdf
+@dirrm share/apps/kcalc/pics
+@dirrm share/apps/kcalc
+@dirrm share/apps/ark/icons/hicolor/22x22/actions
+@dirrm share/apps/ark/icons/hicolor/22x22
+@dirrm share/apps/ark/icons/hicolor
+@dirrm share/apps/ark/icons
+@dirrm share/apps/ark
+@dirrm share/apps
+@dirrm share/applnk/Utilities
+@dirrm share/applnk/System
+@dirrm share/applnk/Settings/PowerControl
+@dirrm share/applnk/Settings/Information
+@dirrm share/applnk/Settings
+@dirrm share/applnk/Editors
+@dirrm share/applnk
+@dirrm lib/kde3
diff --git a/deskutils/kdepim3/Makefile b/deskutils/kdepim3/Makefile
index fa9ca79b7d24..34bac7a8ffb6 100644
--- a/deskutils/kdepim3/Makefile
+++ b/deskutils/kdepim3/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= kdepim
-PORTVERSION= 3.0
-PORTREVISION= 1
+PORTVERSION= 3.0.1
CATEGORIES= deskutils kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -22,16 +21,10 @@ USE_BISON= yes
USE_BZIP2= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-.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
USE_GMAKE= yes
+.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
+
# Remove kpilot by author's request.
CONFIGURE_ENV+=DO_NOT_COMPILE="kpilot"
diff --git a/deskutils/kdepim3/distinfo b/deskutils/kdepim3/distinfo
index 6a8ef85b266f..28aa7cbbba76 100644
--- a/deskutils/kdepim3/distinfo
+++ b/deskutils/kdepim3/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdepim-3.0.tar.bz2) = b5d9cd56e7c43ee0f20d938cc0166dfb
+MD5 (KDE/kdepim-3.0.1.tar.bz2) = cbc606a7f63b8abd1d03441ced3fb8e6
diff --git a/deskutils/kdepim3/files/patch-icallangbind.c b/deskutils/kdepim3/files/patch-icallangbind.c
new file mode 100644
index 000000000000..60005c839535
--- /dev/null
+++ b/deskutils/kdepim3/files/patch-icallangbind.c
@@ -0,0 +1,11 @@
+--- libical/src/libical/icallangbind.c Wed Apr 11 15:37:32 2001
++++ libical/src/libical/icallangbind.c.new Sat Jun 1 05:06:07 2002
+@@ -22,7 +22,7 @@
+ #include "icalproperty.h"
+ #include "icalerror.h"
+ #include "icalmemory.h"
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ int* icallangbind_new_array(int size){
diff --git a/deskutils/kdepim3/files/patch-parseholiday.y b/deskutils/kdepim3/files/patch-parseholiday.y
new file mode 100644
index 000000000000..6d448861113d
--- /dev/null
+++ b/deskutils/kdepim3/files/patch-parseholiday.y
@@ -0,0 +1,11 @@
+--- korganizer/plugins/holidays/parseholiday.y Wed Jan 9 14:57:53 2002
++++ korganizer/plugins/holidays/parseholiday.y.new Mon Jun 3 05:53:59 2002
+@@ -29,7 +29,7 @@
+ #include <sys/stat.h>
+ #include <string.h>
+
+-#ifdef HAVE_MALLOC_H
++#if !defined(HAVE_MALLOC_H) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+
diff --git a/deskutils/kdepim3/files/patch-vcc.y b/deskutils/kdepim3/files/patch-vcc.y
new file mode 100644
index 000000000000..e94c1bd66c02
--- /dev/null
+++ b/deskutils/kdepim3/files/patch-vcc.y
@@ -0,0 +1,11 @@
+--- libical/src/libicalvcal/vcc.y Mon Jan 1 16:49:58 2001
++++ libical/src/libicalvcal/vcc.y.new Sun Jun 2 12:42:57 2002
+@@ -107,7 +107,7 @@
+ #endif
+
+ #include <string.h>
+-#ifndef __MWERKS__
++#if !defined(__MWERKS__) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+ #include <stdio.h>
diff --git a/deskutils/kdepim3/files/patch-vobject.c b/deskutils/kdepim3/files/patch-vobject.c
new file mode 100644
index 000000000000..4b5467f84837
--- /dev/null
+++ b/deskutils/kdepim3/files/patch-vobject.c
@@ -0,0 +1,11 @@
+--- libical/src/libicalvcal/vobject.c Mon Jan 1 16:37:08 2001
++++ libical/src/libicalvcal/vobject.c.new Mon Jun 3 02:49:58 2002
+@@ -42,7 +42,7 @@
+ * vobject, and convert a vobject into its textual representation.
+ */
+
+-#ifndef MWERKS
++#if !defined(MWERKS) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+
diff --git a/deskutils/kdepim3/files/patch-y_tab.c b/deskutils/kdepim3/files/patch-y_tab.c
new file mode 100644
index 000000000000..601a2dee96f9
--- /dev/null
+++ b/deskutils/kdepim3/files/patch-y_tab.c
@@ -0,0 +1,11 @@
+--- kpilot/conduits/vcalconduit/versit/y_tab.c Thu Jul 27 01:57:09 2000
++++ kpilot/conduits/vcalconduit/versit/y_tab.c.new Mon Jun 3 05:51:54 2002
+@@ -109,7 +109,7 @@
+ #endif
+
+ #include <string.h>
+-#ifndef __MWERKS__
++#if !defined(__MWERKS__) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+ #include <stdio.h>
diff --git a/deskutils/kdepim3/pkg-plist b/deskutils/kdepim3/pkg-plist
index 607e1e86bed9..e05eb504651e 100644
--- a/deskutils/kdepim3/pkg-plist
+++ b/deskutils/kdepim3/pkg-plist
@@ -1,4 +1,3 @@
-@comment files/links
bin/ical2vcal
bin/kabcfrontend
bin/kalarm
@@ -211,13 +210,12 @@ share/autostart/kalarm.tray.desktop
share/autostart/kalarmd.autostart.desktop
share/autostart/korgac.desktop
share/config/knotesrc
-share/config/korganizerrc
-share/doc/HTML/en/auto/alarmmessage.png
-share/doc/HTML/en/auto/common
-share/doc/HTML/en/auto/editwindow.png
-share/doc/HTML/en/auto/index.cache.bz2
-share/doc/HTML/en/auto/index.docbook
-share/doc/HTML/en/auto/mainwindow.png
+share/doc/HTML/en/kalarm/alarmmessage.png
+share/doc/HTML/en/kalarm/common
+share/doc/HTML/en/kalarm/editwindow.png
+share/doc/HTML/en/kalarm/index.cache.bz2
+share/doc/HTML/en/kalarm/index.docbook
+share/doc/HTML/en/kalarm/mainwindow.png
share/doc/HTML/en/kandy/common
share/doc/HTML/en/kandy/index.cache.bz2
share/doc/HTML/en/kandy/index.docbook
@@ -322,9 +320,10 @@ share/servicetypes/korganizerpart.desktop
@dirrm share/doc/HTML/en/knotes
@dirrm share/doc/HTML/en/karm
@dirrm share/doc/HTML/en/kandy
-@dirrm share/doc/HTML/en/auto
+@dirrm share/doc/HTML/en/kalarm
@dirrm share/doc/HTML/en
@dirrm share/doc/HTML
+@dirrm share/doc
@dirrm share/config
@dirrm share/autostart
@dirrm share/apps/korganizer/sounds
@@ -382,6 +381,7 @@ share/servicetypes/korganizerpart.desktop
@dirrm share/applnk/Settings
@dirrm share/applnk/Applications
@dirrm share/applnk
+@dirrm lib/kde3
@dirrm include/korganizer
@dirrm include/kgantt
@dirrm include/calendar
diff --git a/deskutils/kdepim4/Makefile b/deskutils/kdepim4/Makefile
index fa9ca79b7d24..34bac7a8ffb6 100644
--- a/deskutils/kdepim4/Makefile
+++ b/deskutils/kdepim4/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= kdepim
-PORTVERSION= 3.0
-PORTREVISION= 1
+PORTVERSION= 3.0.1
CATEGORIES= deskutils kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -22,16 +21,10 @@ USE_BISON= yes
USE_BZIP2= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-.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
USE_GMAKE= yes
+.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
+
# Remove kpilot by author's request.
CONFIGURE_ENV+=DO_NOT_COMPILE="kpilot"
diff --git a/deskutils/kdepim4/distinfo b/deskutils/kdepim4/distinfo
index 6a8ef85b266f..28aa7cbbba76 100644
--- a/deskutils/kdepim4/distinfo
+++ b/deskutils/kdepim4/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdepim-3.0.tar.bz2) = b5d9cd56e7c43ee0f20d938cc0166dfb
+MD5 (KDE/kdepim-3.0.1.tar.bz2) = cbc606a7f63b8abd1d03441ced3fb8e6
diff --git a/deskutils/kdepim4/files/patch-icallangbind.c b/deskutils/kdepim4/files/patch-icallangbind.c
new file mode 100644
index 000000000000..60005c839535
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-icallangbind.c
@@ -0,0 +1,11 @@
+--- libical/src/libical/icallangbind.c Wed Apr 11 15:37:32 2001
++++ libical/src/libical/icallangbind.c.new Sat Jun 1 05:06:07 2002
+@@ -22,7 +22,7 @@
+ #include "icalproperty.h"
+ #include "icalerror.h"
+ #include "icalmemory.h"
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ int* icallangbind_new_array(int size){
diff --git a/deskutils/kdepim4/files/patch-parseholiday.y b/deskutils/kdepim4/files/patch-parseholiday.y
new file mode 100644
index 000000000000..6d448861113d
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-parseholiday.y
@@ -0,0 +1,11 @@
+--- korganizer/plugins/holidays/parseholiday.y Wed Jan 9 14:57:53 2002
++++ korganizer/plugins/holidays/parseholiday.y.new Mon Jun 3 05:53:59 2002
+@@ -29,7 +29,7 @@
+ #include <sys/stat.h>
+ #include <string.h>
+
+-#ifdef HAVE_MALLOC_H
++#if !defined(HAVE_MALLOC_H) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+
diff --git a/deskutils/kdepim4/files/patch-vcc.y b/deskutils/kdepim4/files/patch-vcc.y
new file mode 100644
index 000000000000..e94c1bd66c02
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-vcc.y
@@ -0,0 +1,11 @@
+--- libical/src/libicalvcal/vcc.y Mon Jan 1 16:49:58 2001
++++ libical/src/libicalvcal/vcc.y.new Sun Jun 2 12:42:57 2002
+@@ -107,7 +107,7 @@
+ #endif
+
+ #include <string.h>
+-#ifndef __MWERKS__
++#if !defined(__MWERKS__) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+ #include <stdio.h>
diff --git a/deskutils/kdepim4/files/patch-vobject.c b/deskutils/kdepim4/files/patch-vobject.c
new file mode 100644
index 000000000000..4b5467f84837
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-vobject.c
@@ -0,0 +1,11 @@
+--- libical/src/libicalvcal/vobject.c Mon Jan 1 16:37:08 2001
++++ libical/src/libicalvcal/vobject.c.new Mon Jun 3 02:49:58 2002
+@@ -42,7 +42,7 @@
+ * vobject, and convert a vobject into its textual representation.
+ */
+
+-#ifndef MWERKS
++#if !defined(MWERKS) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+
diff --git a/deskutils/kdepim4/files/patch-y_tab.c b/deskutils/kdepim4/files/patch-y_tab.c
new file mode 100644
index 000000000000..601a2dee96f9
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-y_tab.c
@@ -0,0 +1,11 @@
+--- kpilot/conduits/vcalconduit/versit/y_tab.c Thu Jul 27 01:57:09 2000
++++ kpilot/conduits/vcalconduit/versit/y_tab.c.new Mon Jun 3 05:51:54 2002
+@@ -109,7 +109,7 @@
+ #endif
+
+ #include <string.h>
+-#ifndef __MWERKS__
++#if !defined(__MWERKS__) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+ #include <stdio.h>
diff --git a/deskutils/kdepim4/pkg-plist b/deskutils/kdepim4/pkg-plist
index 607e1e86bed9..e05eb504651e 100644
--- a/deskutils/kdepim4/pkg-plist
+++ b/deskutils/kdepim4/pkg-plist
@@ -1,4 +1,3 @@
-@comment files/links
bin/ical2vcal
bin/kabcfrontend
bin/kalarm
@@ -211,13 +210,12 @@ share/autostart/kalarm.tray.desktop
share/autostart/kalarmd.autostart.desktop
share/autostart/korgac.desktop
share/config/knotesrc
-share/config/korganizerrc
-share/doc/HTML/en/auto/alarmmessage.png
-share/doc/HTML/en/auto/common
-share/doc/HTML/en/auto/editwindow.png
-share/doc/HTML/en/auto/index.cache.bz2
-share/doc/HTML/en/auto/index.docbook
-share/doc/HTML/en/auto/mainwindow.png
+share/doc/HTML/en/kalarm/alarmmessage.png
+share/doc/HTML/en/kalarm/common
+share/doc/HTML/en/kalarm/editwindow.png
+share/doc/HTML/en/kalarm/index.cache.bz2
+share/doc/HTML/en/kalarm/index.docbook
+share/doc/HTML/en/kalarm/mainwindow.png
share/doc/HTML/en/kandy/common
share/doc/HTML/en/kandy/index.cache.bz2
share/doc/HTML/en/kandy/index.docbook
@@ -322,9 +320,10 @@ share/servicetypes/korganizerpart.desktop
@dirrm share/doc/HTML/en/knotes
@dirrm share/doc/HTML/en/karm
@dirrm share/doc/HTML/en/kandy
-@dirrm share/doc/HTML/en/auto
+@dirrm share/doc/HTML/en/kalarm
@dirrm share/doc/HTML/en
@dirrm share/doc/HTML
+@dirrm share/doc
@dirrm share/config
@dirrm share/autostart
@dirrm share/apps/korganizer/sounds
@@ -382,6 +381,7 @@ share/servicetypes/korganizerpart.desktop
@dirrm share/applnk/Settings
@dirrm share/applnk/Applications
@dirrm share/applnk
+@dirrm lib/kde3
@dirrm include/korganizer
@dirrm include/kgantt
@dirrm include/calendar
diff --git a/deskutils/kdepim44/Makefile b/deskutils/kdepim44/Makefile
index fa9ca79b7d24..34bac7a8ffb6 100644
--- a/deskutils/kdepim44/Makefile
+++ b/deskutils/kdepim44/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= kdepim
-PORTVERSION= 3.0
-PORTREVISION= 1
+PORTVERSION= 3.0.1
CATEGORIES= deskutils kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
@@ -22,16 +21,10 @@ USE_BISON= yes
USE_BZIP2= yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-.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
USE_GMAKE= yes
+.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
+
# Remove kpilot by author's request.
CONFIGURE_ENV+=DO_NOT_COMPILE="kpilot"
diff --git a/deskutils/kdepim44/distinfo b/deskutils/kdepim44/distinfo
index 6a8ef85b266f..28aa7cbbba76 100644
--- a/deskutils/kdepim44/distinfo
+++ b/deskutils/kdepim44/distinfo
@@ -1 +1 @@
-MD5 (KDE/kdepim-3.0.tar.bz2) = b5d9cd56e7c43ee0f20d938cc0166dfb
+MD5 (KDE/kdepim-3.0.1.tar.bz2) = cbc606a7f63b8abd1d03441ced3fb8e6
diff --git a/deskutils/kdepim44/files/patch-icallangbind.c b/deskutils/kdepim44/files/patch-icallangbind.c
new file mode 100644
index 000000000000..60005c839535
--- /dev/null
+++ b/deskutils/kdepim44/files/patch-icallangbind.c
@@ -0,0 +1,11 @@
+--- libical/src/libical/icallangbind.c Wed Apr 11 15:37:32 2001
++++ libical/src/libical/icallangbind.c.new Sat Jun 1 05:06:07 2002
+@@ -22,7 +22,7 @@
+ #include "icalproperty.h"
+ #include "icalerror.h"
+ #include "icalmemory.h"
+-#include <malloc.h>
++#include <stdlib.h>
+ #include <string.h>
+
+ int* icallangbind_new_array(int size){
diff --git a/deskutils/kdepim44/files/patch-parseholiday.y b/deskutils/kdepim44/files/patch-parseholiday.y
new file mode 100644
index 000000000000..6d448861113d
--- /dev/null
+++ b/deskutils/kdepim44/files/patch-parseholiday.y
@@ -0,0 +1,11 @@
+--- korganizer/plugins/holidays/parseholiday.y Wed Jan 9 14:57:53 2002
++++ korganizer/plugins/holidays/parseholiday.y.new Mon Jun 3 05:53:59 2002
+@@ -29,7 +29,7 @@
+ #include <sys/stat.h>
+ #include <string.h>
+
+-#ifdef HAVE_MALLOC_H
++#if !defined(HAVE_MALLOC_H) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+
diff --git a/deskutils/kdepim44/files/patch-vcc.y b/deskutils/kdepim44/files/patch-vcc.y
new file mode 100644
index 000000000000..e94c1bd66c02
--- /dev/null
+++ b/deskutils/kdepim44/files/patch-vcc.y
@@ -0,0 +1,11 @@
+--- libical/src/libicalvcal/vcc.y Mon Jan 1 16:49:58 2001
++++ libical/src/libicalvcal/vcc.y.new Sun Jun 2 12:42:57 2002
+@@ -107,7 +107,7 @@
+ #endif
+
+ #include <string.h>
+-#ifndef __MWERKS__
++#if !defined(__MWERKS__) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+ #include <stdio.h>
diff --git a/deskutils/kdepim44/files/patch-vobject.c b/deskutils/kdepim44/files/patch-vobject.c
new file mode 100644
index 000000000000..4b5467f84837
--- /dev/null
+++ b/deskutils/kdepim44/files/patch-vobject.c
@@ -0,0 +1,11 @@
+--- libical/src/libicalvcal/vobject.c Mon Jan 1 16:37:08 2001
++++ libical/src/libicalvcal/vobject.c.new Mon Jun 3 02:49:58 2002
+@@ -42,7 +42,7 @@
+ * vobject, and convert a vobject into its textual representation.
+ */
+
+-#ifndef MWERKS
++#if !defined(MWERKS) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+
diff --git a/deskutils/kdepim44/files/patch-y_tab.c b/deskutils/kdepim44/files/patch-y_tab.c
new file mode 100644
index 000000000000..601a2dee96f9
--- /dev/null
+++ b/deskutils/kdepim44/files/patch-y_tab.c
@@ -0,0 +1,11 @@
+--- kpilot/conduits/vcalconduit/versit/y_tab.c Thu Jul 27 01:57:09 2000
++++ kpilot/conduits/vcalconduit/versit/y_tab.c.new Mon Jun 3 05:51:54 2002
+@@ -109,7 +109,7 @@
+ #endif
+
+ #include <string.h>
+-#ifndef __MWERKS__
++#if !defined(__MWERKS__) && !defined(__FreeBSD__)
+ #include <malloc.h>
+ #endif
+ #include <stdio.h>
diff --git a/deskutils/kdepim44/pkg-plist b/deskutils/kdepim44/pkg-plist
index 607e1e86bed9..e05eb504651e 100644
--- a/deskutils/kdepim44/pkg-plist
+++ b/deskutils/kdepim44/pkg-plist
@@ -1,4 +1,3 @@
-@comment files/links
bin/ical2vcal
bin/kabcfrontend
bin/kalarm
@@ -211,13 +210,12 @@ share/autostart/kalarm.tray.desktop
share/autostart/kalarmd.autostart.desktop
share/autostart/korgac.desktop
share/config/knotesrc
-share/config/korganizerrc
-share/doc/HTML/en/auto/alarmmessage.png
-share/doc/HTML/en/auto/common
-share/doc/HTML/en/auto/editwindow.png
-share/doc/HTML/en/auto/index.cache.bz2
-share/doc/HTML/en/auto/index.docbook
-share/doc/HTML/en/auto/mainwindow.png
+share/doc/HTML/en/kalarm/alarmmessage.png
+share/doc/HTML/en/kalarm/common
+share/doc/HTML/en/kalarm/editwindow.png
+share/doc/HTML/en/kalarm/index.cache.bz2
+share/doc/HTML/en/kalarm/index.docbook
+share/doc/HTML/en/kalarm/mainwindow.png
share/doc/HTML/en/kandy/common
share/doc/HTML/en/kandy/index.cache.bz2
share/doc/HTML/en/kandy/index.docbook
@@ -322,9 +320,10 @@ share/servicetypes/korganizerpart.desktop
@dirrm share/doc/HTML/en/knotes
@dirrm share/doc/HTML/en/karm
@dirrm share/doc/HTML/en/kandy
-@dirrm share/doc/HTML/en/auto
+@dirrm share/doc/HTML/en/kalarm
@dirrm share/doc/HTML/en
@dirrm share/doc/HTML
+@dirrm share/doc
@dirrm share/config
@dirrm share/autostart
@dirrm share/apps/korganizer/sounds
@@ -382,6 +381,7 @@ share/servicetypes/korganizerpart.desktop
@dirrm share/applnk/Settings
@dirrm share/applnk/Applications
@dirrm share/applnk
+@dirrm lib/kde3
@dirrm include/korganizer
@dirrm include/kgantt
@dirrm include/calendar