aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/kdepim4
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2003-08-05 02:13:31 +0800
committerlofi <lofi@FreeBSD.org>2003-08-05 02:13:31 +0800
commitd377aca41ccc00dd82418b6482d0a3e24fd1e195 (patch)
tree532b5f2b68addd68e47e121cf5ccadb72711846c /deskutils/kdepim4
parent467fb562f3de96d2c809cf2ab7dd8d9047329848 (diff)
downloadfreebsd-ports-gnome-d377aca41ccc00dd82418b6482d0a3e24fd1e195.tar.gz
freebsd-ports-gnome-d377aca41ccc00dd82418b6482d0a3e24fd1e195.tar.zst
freebsd-ports-gnome-d377aca41ccc00dd82418b6482d0a3e24fd1e195.zip
Add libmal support and make kpilot optional.
PR: ports/53922 Approved by: arved (Mentor)
Diffstat (limited to 'deskutils/kdepim4')
-rw-r--r--deskutils/kdepim4/Makefile24
-rw-r--r--deskutils/kdepim4/files/patch-configure11
-rw-r--r--deskutils/kdepim4/files/plist.base (renamed from deskutils/kdepim4/pkg-plist)228
-rw-r--r--deskutils/kdepim4/files/plist.base.rm128
-rw-r--r--deskutils/kdepim4/files/plist.kpilot77
-rw-r--r--deskutils/kdepim4/files/plist.kpilot.rm9
6 files changed, 254 insertions, 223 deletions
diff --git a/deskutils/kdepim4/Makefile b/deskutils/kdepim4/Makefile
index 3f3f9cf6d6b6..fdaf93bad786 100644
--- a/deskutils/kdepim4/Makefile
+++ b/deskutils/kdepim4/Makefile
@@ -15,8 +15,6 @@ DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Personal Information Management tools for KDE
-LIB_DEPENDS= pisock:${PORTSDIR}/palm/pilot-link
-
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
@@ -25,6 +23,7 @@ USE_BISON= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
+KDE_BUILD_PLIST=yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
@@ -33,6 +32,25 @@ LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include <bsd.port.pre.mk>
pre-configure::
- ${REINPLACE_CMD} -e 's@-pedantic @@g' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s@-pedantic @@g; \
+ s@/usr/local/include/libmal@${LOCALBASE}/include/libmal@g" \
+ ${WRKSRC}/configure
+
+.if exists(${LOCALBASE}/bin/pilot-xfer)
+WITH_KPILOT=YES
+.endif # exists(${LOCALBASE}/bin/pilot-xfer)
+
+.if defined(WITH_KPILOT)
+LIB_DEPENDS+= pisock:${PORTSDIR}/palm/pilot-link \
+ mal:${PORTSDIR}/palm/libmal
+PLIST_APPEND+= plist.kpilot
+.else
+ @${ECHO_MSG}
+ @${ECHO_MSG} "====================================================="
+ @${ECHO_MSG} "If you want to compile with Palm Pilot support, hit"
+ @${ECHO_MSG} "Ctrl-C right now and use \"make WITH_KPILOT=yes\""
+ @${ECHO_MSG} "====================================================="
+ @${ECHO_MSG}
+.endif # defined(WITH_KPILOT)
.include <bsd.port.post.mk>
diff --git a/deskutils/kdepim4/files/patch-configure b/deskutils/kdepim4/files/patch-configure
new file mode 100644
index 000000000000..1f3c3c69f5d9
--- /dev/null
+++ b/deskutils/kdepim4/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Wed Jul 30 16:23:53 2003
++++ configure Wed Jul 30 16:24:58 2003
+@@ -30398,7 +30398,7 @@
+ kde_safe_LIBS="$LIBS"
+ kde_safe_CFLAGS="$CFLAGS"
+ kde_safe_CPPFLAGS="$CPPFLAGS"
+- LIBS="$LIBS $PISOCK_LIB $MAL_LIB -ldl"
++ LIBS="$LIBS $PISOCK_LIB $MAL_LIB"
+ CFLAGS="$CFLAGS $MAL_INCLUDE"
+ CPPFLAGS="$CPPFLAGS $PISOCK_INCLUDE $MAL_INCLUDE"
+
diff --git a/deskutils/kdepim4/pkg-plist b/deskutils/kdepim4/files/plist.base
index 5a1f8ee2d9a7..87ad2860993c 100644
--- a/deskutils/kdepim4/pkg-plist
+++ b/deskutils/kdepim4/files/plist.base
@@ -11,8 +11,6 @@ bin/konsolekalendar
bin/korgac
bin/korganizer
bin/korganizerIn
-bin/kpilot
-bin/kpilotDaemon
bin/ksync
include/KNotesIface.h
include/calendar/calendardecoration.h
@@ -32,24 +30,10 @@ include/korganizer/baseview.h
include/korganizer/calendarviewbase.h
include/korganizer/mainwindow.h
include/korganizer/part.h
-include/kpilot/kpilotlink.h
-include/kpilot/pilotDatabase.h
-include/kpilot/pilotLocalDatabase.h
-include/kpilot/pilotRecord.h
-include/kpilot/pilotSerialDatabase.h
-include/kpilot/plugin.h
-include/kpilot/syncAction.h
-include/kpilot/uiDialog.h
lib/kde3/kfile_vcf.la
lib/kde3/kfile_vcf.so
-lib/kde3/libaddressconduit.la
-lib/kde3/libaddressconduit.so
-lib/kde3/libexpenseconduit.la
-lib/kde3/libexpenseconduit.so
lib/kde3/libkaddressbookpart.la
lib/kde3/libkaddressbookpart.so
-lib/kde3/libknotesconduit.la
-lib/kde3/libknotesconduit.so
lib/kde3/libkorg_birthdays.la
lib/kde3/libkorg_birthdays.so
lib/kde3/libkorg_datenums.la
@@ -62,16 +46,6 @@ lib/kde3/libkorg_projectview.la
lib/kde3/libkorg_projectview.so
lib/kde3/libkorg_webexport.la
lib/kde3/libkorg_webexport.so
-lib/kde3/libnullconduit.la
-lib/kde3/libnullconduit.so
-lib/kde3/libpopmailconduit.la
-lib/kde3/libpopmailconduit.so
-lib/kde3/libtimeconduit.la
-lib/kde3/libtimeconduit.so
-lib/kde3/libtodoconduit.la
-lib/kde3/libtodoconduit.so
-lib/kde3/libvcalconduit.la
-lib/kde3/libvcalconduit.so
lib/libkalarmd.la
lib/libkalarmd.so
lib/libkalarmd.so.0
@@ -93,9 +67,6 @@ lib/libknewstuff.so.1
lib/libkorganizer.la
lib/libkorganizer.so
lib/libkorganizer.so.1
-lib/libkpilot.la
-lib/libkpilot.so
-lib/libkpilot.so.0
lib/libkpimexchange.la
lib/libkpimexchange.so
lib/libkpimexchange.so.1
@@ -112,8 +83,6 @@ share/applnk/Utilities/kaddressbook.desktop
share/applnk/Utilities/kandy.desktop
share/applnk/Utilities/karm.desktop
share/applnk/Utilities/knotes.desktop
-share/applnk/Utilities/kpilot.desktop
-share/applnk/Utilities/kpilotdaemon.desktop
share/apps/kaddressbook/csv-templates/kaddressbook.desktop
share/apps/kaddressbook/csv-templates/outlook2000.desktop
share/apps/kaddressbook/csv-templates/outlookxp.desktop
@@ -294,17 +263,6 @@ share/apps/korganizer/sounds/lightmag.wav
share/apps/korganizer/sounds/onscreen.wav
share/apps/korganizer/sounds/spinout.wav
share/apps/korganizer/tips
-share/apps/kpilot/icons/crystalsvg/16x16/actions/backup.png
-share/apps/kpilot/icons/crystalsvg/16x16/actions/busysync.png
-share/apps/kpilot/icons/crystalsvg/16x16/actions/fastsync.png
-share/apps/kpilot/icons/crystalsvg/16x16/actions/hotsync.png
-share/apps/kpilot/icons/crystalsvg/16x16/actions/restore.png
-share/apps/kpilot/kpilot-address.png
-share/apps/kpilot/kpilot-fileinstaller.png
-share/apps/kpilot/kpilot-hotsync.png
-share/apps/kpilot/kpilot-knotes.png
-share/apps/kpilot/kpilot-splash.png
-share/apps/kpilot/kpilotui.rc
share/apps/ksync/ksyncui.rc
share/autostart/kalarm.tray.desktop
share/autostart/kalarmd.autostart.desktop
@@ -385,212 +343,42 @@ share/icons/crystalsvg/16x16/apps/kalarm.png
share/icons/crystalsvg/16x16/apps/karm.png
share/icons/crystalsvg/16x16/apps/knotes.png
share/icons/crystalsvg/16x16/apps/korganizer.png
-share/icons/crystalsvg/16x16/apps/kpilot.png
-share/icons/crystalsvg/16x16/apps/kpilotDaemon.png
share/icons/crystalsvg/22x22/actions/kalarm.png
-share/icons/crystalsvg/22x22/apps/kpilot.png
share/icons/crystalsvg/32x32/apps/kaddressbook.png
share/icons/crystalsvg/32x32/apps/kalarm.png
share/icons/crystalsvg/32x32/apps/karm.png
share/icons/crystalsvg/32x32/apps/knotes.png
share/icons/crystalsvg/32x32/apps/korganizer.png
-share/icons/crystalsvg/32x32/apps/kpilot.png
share/icons/crystalsvg/48x48/apps/kaddressbook.png
share/icons/crystalsvg/48x48/apps/kalarm.png
share/icons/crystalsvg/48x48/apps/karm.png
share/icons/crystalsvg/48x48/apps/knotes.png
share/icons/crystalsvg/48x48/apps/korganizer.png
-share/icons/crystalsvg/48x48/apps/kpilot.png
-share/icons/crystalsvg/48x48/apps/kpilotDaemon.png
share/icons/locolor/16x16/apps/kalarm.png
-share/icons/locolor/16x16/apps/kpilot.png
share/icons/locolor/32x32/apps/kalarm.png
-share/services/abbrowser_conduit.desktop
-share/services/expense-conduit.desktop
share/services/kfile_vcf.desktop
-share/services/knotes-conduit.desktop
share/services/korganizer/birthdays.desktop
share/services/korganizer/datenums.desktop
share/services/korganizer/exchange.desktop
share/services/korganizer/holidays.desktop
share/services/korganizer/projectview.desktop
share/services/korganizer/webexport.desktop
-share/services/null-conduit.desktop
-share/services/popmail-conduit.desktop
-share/services/time_conduit.desktop
-share/services/todo-conduit.desktop
-share/services/vcal-conduit.desktop
share/services/webcal.protocol
share/servicetypes/calendardecoration.desktop
share/servicetypes/calendarplugin.desktop
share/servicetypes/korganizerpart.desktop
-share/servicetypes/kpilotconduit.desktop
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkpimexchange/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkpimexchange/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkdepim/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkdepim/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkcal/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkcal/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/ksync/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/ksync/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kpilot/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kpilot/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/korganizer/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/korganizer/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/konsolekalendar/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/konsolekalendar/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/knotes/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/knotes/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kgantt/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kgantt/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kfile-plugins/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kfile-plugins/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kandy/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kandy/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kalarmd/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kalarmd/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kalarm/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kalarm/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kaddressbook/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kaddressbook/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kabc/kabc2mutt/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kabc/kabc2mutt/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kabc/kabc2mutt/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/calendarsystem/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/calendarsystem/html
@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/calendarsystem/html
@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kabc/kabc2mutt/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kaddressbook/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kalarm/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kalarmd/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kandy/html
@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kfile-plugins/html
@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kgantt/html
@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/knotes/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkdepim/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkcal/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kandy/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kaddressbook/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kpilot/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/ksync/html
@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/konsolekalendar/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kalarmd/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkpimexchange/html
-@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kalarm/html
@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/korganizer/html
-@dirrm share/services/korganizer
-@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/crystalsvg/48x48/apps
-@dirrm share/icons/crystalsvg/32x32/apps
-@dirrm share/icons/crystalsvg/22x22/apps
-@dirrm share/icons/crystalsvg/16x16/apps
-@dirrm share/doc/HTML/en/kpilot
-@dirrm share/doc/HTML/en/korganizer
-@dirrm share/doc/HTML/en/knotes
-@dirrm share/doc/HTML/en/kdepim-apidocs/libkpimexchange/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/libkpimexchange
-@dirrm share/doc/HTML/en/kdepim-apidocs/libkdepim/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/libkdepim
-@dirrm share/doc/HTML/en/kdepim-apidocs/libkcal/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/libkcal
-@dirrm share/doc/HTML/en/kdepim-apidocs/ksync/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/ksync
-@dirrm share/doc/HTML/en/kdepim-apidocs/kpilot/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/kpilot
-@dirrm share/doc/HTML/en/kdepim-apidocs/korganizer/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/korganizer
-@dirrm share/doc/HTML/en/kdepim-apidocs/konsolekalendar/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/konsolekalendar
-@dirrm share/doc/HTML/en/kdepim-apidocs/knotes/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/knotes
-@dirrm share/doc/HTML/en/kdepim-apidocs/kgantt/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/kgantt
-@dirrm share/doc/HTML/en/kdepim-apidocs/kfile-plugins/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/kfile-plugins
-@dirrm share/doc/HTML/en/kdepim-apidocs/kandy/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/kandy
-@dirrm share/doc/HTML/en/kdepim-apidocs/kalarmd/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/kalarmd
-@dirrm share/doc/HTML/en/kdepim-apidocs/kalarm/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/kalarm
-@dirrm share/doc/HTML/en/kdepim-apidocs/kaddressbook/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/kaddressbook
-@dirrm share/doc/HTML/en/kdepim-apidocs/kabc/kabc2mutt/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/kabc/kabc2mutt
-@dirrm share/doc/HTML/en/kdepim-apidocs/kabc
-@dirrm share/doc/HTML/en/kdepim-apidocs/calendarsystem/html
-@dirrm share/doc/HTML/en/kdepim-apidocs/calendarsystem
-@dirrm share/doc/HTML/en/kdepim-apidocs
-@dirrm share/doc/HTML/en/kcontrol/kalarmd
-@dirrm share/doc/HTML/en/kcontrol
-@dirrm share/doc/HTML/en/karm
-@dirrm share/doc/HTML/en/kandy
-@dirrm share/doc/HTML/en/kalarm
-@dirrm share/doc/HTML/en/kaddressbook
-@dirrm share/apps/ksync
-@dirrm share/apps/kpilot/icons/crystalsvg/16x16/actions
-@dirrm share/apps/kpilot/icons/crystalsvg/16x16
-@dirrm share/apps/kpilot/icons/crystalsvg
-@dirrm share/apps/kpilot/icons
-@dirrm share/apps/kpilot
-@dirrm share/apps/korganizer/sounds
-@dirrm share/apps/korganizer/plugins
-@dirrm share/apps/korganizer/icons/crystalsvg/32x32/actions
-@dirrm share/apps/korganizer/icons/crystalsvg/32x32
-@dirrm share/apps/korganizer/icons/crystalsvg/22x22/actions/emptybox
-@dirrm share/apps/korganizer/icons/crystalsvg/22x22/actions
-@dirrm share/apps/korganizer/icons/crystalsvg/22x22
-@dirrm share/apps/korganizer/icons/crystalsvg/16x16/actions
-@dirrm share/apps/korganizer/icons/crystalsvg/16x16
-@dirrm share/apps/korganizer/icons/crystalsvg
-@dirrm share/apps/korganizer/icons
-@dirrm share/apps/korganizer
-@dirrm share/apps/knotes/pics
-@dirrm share/apps/knotes
-@dirrm share/apps/kgantt/icons/crystalsvg/32x32/actions
-@dirrm share/apps/kgantt/icons/crystalsvg/32x32
-@dirrm share/apps/kgantt/icons/crystalsvg/22x22/actions
-@dirrm share/apps/kgantt/icons/crystalsvg/22x22
-@dirrm share/apps/kgantt/icons/crystalsvg/16x16/actions
-@dirrm share/apps/kgantt/icons/crystalsvg/16x16
-@dirrm share/apps/kgantt/icons/crystalsvg
-@dirrm share/apps/kgantt/icons
-@dirrm share/apps/kgantt
-@dirrm share/apps/karm/pics
-@dirrm share/apps/karm
-@dirrm share/apps/kandy
-@dirrm share/apps/kalarmdgui/icons/crystalsvg/22x22/actions
-@dirrm share/apps/kalarmdgui/icons/crystalsvg/22x22
-@dirrm share/apps/kalarmdgui/icons/crystalsvg
-@dirrm share/apps/kalarmdgui/icons
-@dirrm share/apps/kalarmdgui
-@dirrm share/apps/kalarm/icons/crystalsvg/22x22/actions
-@dirrm share/apps/kalarm/icons/crystalsvg/22x22
-@dirrm share/apps/kalarm/icons/crystalsvg/16x16/actions
-@dirrm share/apps/kalarm/icons/crystalsvg/16x16
-@dirrm share/apps/kalarm/icons/crystalsvg
-@dirrm share/apps/kalarm/icons
-@dirrm share/apps/kalarm
-@dirrm share/apps/kaddressbook/printing
-@dirrm share/apps/kaddressbook/icons/locolor/22x22/actions
-@dirrm share/apps/kaddressbook/icons/locolor/22x22
-@dirrm share/apps/kaddressbook/icons/locolor/16x16/actions
-@dirrm share/apps/kaddressbook/icons/locolor/16x16
-@dirrm share/apps/kaddressbook/icons/locolor
-@dirrm share/apps/kaddressbook/icons/crystalsvg/32x32/actions
-@dirrm share/apps/kaddressbook/icons/crystalsvg/32x32
-@dirrm share/apps/kaddressbook/icons/crystalsvg/16x16/actions
-@dirrm share/apps/kaddressbook/icons/crystalsvg/16x16
-@dirrm share/apps/kaddressbook/icons/crystalsvg
-@dirrm share/apps/kaddressbook/icons
-@dirrm share/apps/kaddressbook/csv-templates
-@dirrm share/apps/kaddressbook
-@dirrm share/applnk/Utilities/More
-@dirrm share/applnk/Utilities
-@dirrm share/applnk/Applications
-@dirrm share/applnk/.hidden
-@dirrm include/kpilot
-@dirrm include/korganizer
-@dirrm include/kgantt
-@dirrm include/kdepim
-@dirrm include/calendar
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/ksync/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkcal/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkdepim/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkpimexchange/html
diff --git a/deskutils/kdepim4/files/plist.base.rm b/deskutils/kdepim4/files/plist.base.rm
new file mode 100644
index 000000000000..1279a4761e44
--- /dev/null
+++ b/deskutils/kdepim4/files/plist.base.rm
@@ -0,0 +1,128 @@
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/libkpimexchange/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/libkdepim/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/libkcal/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/ksync/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/korganizer/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/konsolekalendar/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/knotes/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/kgantt/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/kfile-plugins/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/kandy/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/kalarmd/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/kalarm/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/kaddressbook/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/kabc/kabc2mutt/html || true
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/calendarsystem/html || true
+@dirrm share/servicetypes
+@dirrm share/services/korganizer
+@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/crystalsvg/48x48/apps
+@dirrm share/icons/crystalsvg/48x48
+@dirrm share/icons/crystalsvg/32x32/apps
+@dirrm share/icons/crystalsvg/32x32
+@dirrm share/icons/crystalsvg/22x22/actions
+@dirrm share/icons/crystalsvg/22x22
+@dirrm share/icons/crystalsvg/16x16/apps
+@dirrm share/icons/crystalsvg/16x16/actions
+@dirrm share/icons/crystalsvg/16x16
+@dirrm share/icons/crystalsvg
+@dirrm share/icons
+@dirrm share/doc/HTML/en/kpilot
+@dirrm share/doc/HTML/en/korganizer
+@dirrm share/doc/HTML/en/knotes
+@dirrm share/doc/HTML/en/kdepim-apidocs/libkpimexchange
+@dirrm share/doc/HTML/en/kdepim-apidocs/libkdepim
+@dirrm share/doc/HTML/en/kdepim-apidocs/libkcal
+@dirrm share/doc/HTML/en/kdepim-apidocs/ksync
+@dirrm share/doc/HTML/en/kdepim-apidocs/korganizer
+@dirrm share/doc/HTML/en/kdepim-apidocs/konsolekalendar
+@dirrm share/doc/HTML/en/kdepim-apidocs/knotes
+@dirrm share/doc/HTML/en/kdepim-apidocs/kgantt
+@dirrm share/doc/HTML/en/kdepim-apidocs/kfile-plugins
+@dirrm share/doc/HTML/en/kdepim-apidocs/kandy
+@dirrm share/doc/HTML/en/kdepim-apidocs/kalarmd
+@dirrm share/doc/HTML/en/kdepim-apidocs/kalarm
+@dirrm share/doc/HTML/en/kdepim-apidocs/kaddressbook
+@dirrm share/doc/HTML/en/kdepim-apidocs/kabc/kabc2mutt
+@dirrm share/doc/HTML/en/kdepim-apidocs/kabc
+@dirrm share/doc/HTML/en/kdepim-apidocs/calendarsystem
+@dirrm share/doc/HTML/en/kdepim-apidocs
+@dirrm share/doc/HTML/en/kcontrol/kalarmd
+@dirrm share/doc/HTML/en/kcontrol
+@dirrm share/doc/HTML/en/karm
+@dirrm share/doc/HTML/en/kandy
+@dirrm share/doc/HTML/en/kalarm
+@dirrm share/doc/HTML/en/kaddressbook
+@dirrm share/doc/HTML/en
+@dirrm share/doc/HTML
+@dirrm share/config
+@dirrm share/autostart
+@dirrm share/apps/ksync
+@dirrm share/apps/korganizer/sounds
+@dirrm share/apps/korganizer/plugins
+@dirrm share/apps/korganizer/icons/crystalsvg/32x32/actions
+@dirrm share/apps/korganizer/icons/crystalsvg/32x32
+@dirrm share/apps/korganizer/icons/crystalsvg/22x22/actions/emptybox
+@dirrm share/apps/korganizer/icons/crystalsvg/22x22/actions
+@dirrm share/apps/korganizer/icons/crystalsvg/22x22
+@dirrm share/apps/korganizer/icons/crystalsvg/16x16/actions
+@dirrm share/apps/korganizer/icons/crystalsvg/16x16
+@dirrm share/apps/korganizer/icons/crystalsvg
+@dirrm share/apps/korganizer/icons
+@dirrm share/apps/korganizer
+@dirrm share/apps/knotes/pics
+@dirrm share/apps/knotes
+@dirrm share/apps/kgantt/icons/crystalsvg/32x32/actions
+@dirrm share/apps/kgantt/icons/crystalsvg/32x32
+@dirrm share/apps/kgantt/icons/crystalsvg/22x22/actions
+@dirrm share/apps/kgantt/icons/crystalsvg/22x22
+@dirrm share/apps/kgantt/icons/crystalsvg/16x16/actions
+@dirrm share/apps/kgantt/icons/crystalsvg/16x16
+@dirrm share/apps/kgantt/icons/crystalsvg
+@dirrm share/apps/kgantt/icons
+@dirrm share/apps/kgantt
+@dirrm share/apps/karm/pics
+@dirrm share/apps/karm
+@dirrm share/apps/kandy
+@dirrm share/apps/kalarmdgui/icons/crystalsvg/22x22/actions
+@dirrm share/apps/kalarmdgui/icons/crystalsvg/22x22
+@dirrm share/apps/kalarmdgui/icons/crystalsvg
+@dirrm share/apps/kalarmdgui/icons
+@dirrm share/apps/kalarmdgui
+@dirrm share/apps/kalarm/icons/crystalsvg/22x22/actions
+@dirrm share/apps/kalarm/icons/crystalsvg/22x22
+@dirrm share/apps/kalarm/icons/crystalsvg/16x16/actions
+@dirrm share/apps/kalarm/icons/crystalsvg/16x16
+@dirrm share/apps/kalarm/icons/crystalsvg
+@dirrm share/apps/kalarm/icons
+@dirrm share/apps/kalarm
+@dirrm share/apps/kaddressbook/printing
+@dirrm share/apps/kaddressbook/icons/locolor/22x22/actions
+@dirrm share/apps/kaddressbook/icons/locolor/22x22
+@dirrm share/apps/kaddressbook/icons/locolor/16x16/actions
+@dirrm share/apps/kaddressbook/icons/locolor/16x16
+@dirrm share/apps/kaddressbook/icons/locolor
+@dirrm share/apps/kaddressbook/icons/crystalsvg/32x32/actions
+@dirrm share/apps/kaddressbook/icons/crystalsvg/32x32
+@dirrm share/apps/kaddressbook/icons/crystalsvg/16x16/actions
+@dirrm share/apps/kaddressbook/icons/crystalsvg/16x16
+@dirrm share/apps/kaddressbook/icons/crystalsvg
+@dirrm share/apps/kaddressbook/icons
+@dirrm share/apps/kaddressbook/csv-templates
+@dirrm share/apps/kaddressbook
+@dirrm share/apps
+@dirrm share/applnk/Utilities/More
+@dirrm share/applnk/Utilities
+@dirrm share/applnk/Applications
+@dirrm share/applnk/.hidden
+@dirrm share/applnk
+@dirrm lib/kde3
+@dirrm include/korganizer
+@dirrm include/kgantt
+@dirrm include/kdepim
+@dirrm include/calendar
diff --git a/deskutils/kdepim4/files/plist.kpilot b/deskutils/kdepim4/files/plist.kpilot
new file mode 100644
index 000000000000..ecd4e20253e6
--- /dev/null
+++ b/deskutils/kdepim4/files/plist.kpilot
@@ -0,0 +1,77 @@
+bin/kpilot
+bin/kpilotDaemon
+include/kpilot/kpilotlink.h
+include/kpilot/pilotDatabase.h
+include/kpilot/pilotLocalDatabase.h
+include/kpilot/pilotRecord.h
+include/kpilot/pilotSerialDatabase.h
+include/kpilot/plugin.h
+include/kpilot/syncAction.h
+include/kpilot/uiDialog.h
+lib/kde3/libaddressconduit.la
+lib/kde3/libaddressconduit.so
+lib/kde3/libexpenseconduit.la
+lib/kde3/libexpenseconduit.so
+lib/kde3/libknotesconduit.la
+lib/kde3/libknotesconduit.so
+lib/kde3/libmalconduit.la
+lib/kde3/libmalconduit.so
+lib/kde3/libnullconduit.la
+lib/kde3/libnullconduit.so
+lib/kde3/libpopmailconduit.la
+lib/kde3/libpopmailconduit.so
+lib/kde3/libtimeconduit.la
+lib/kde3/libtimeconduit.so
+lib/kde3/libtodoconduit.la
+lib/kde3/libtodoconduit.so
+lib/kde3/libvcalconduit.la
+lib/kde3/libvcalconduit.so
+lib/libkpilot.la
+lib/libkpilot.so
+lib/libkpilot.so.0
+share/applnk/Utilities/kpilot.desktop
+share/applnk/Utilities/kpilotdaemon.desktop
+share/apps/kpilot/icons/crystalsvg/16x16/actions/backup.png
+share/apps/kpilot/icons/crystalsvg/16x16/actions/busysync.png
+share/apps/kpilot/icons/crystalsvg/16x16/actions/fastsync.png
+share/apps/kpilot/icons/crystalsvg/16x16/actions/hotsync.png
+share/apps/kpilot/icons/crystalsvg/16x16/actions/restore.png
+share/apps/kpilot/kpilot-address.png
+share/apps/kpilot/kpilot-fileinstaller.png
+share/apps/kpilot/kpilot-hotsync.png
+share/apps/kpilot/kpilot-knotes.png
+share/apps/kpilot/kpilot-splash.png
+share/apps/kpilot/kpilotui.rc
+share/icons/crystalsvg/16x16/apps/kpilot.png
+share/icons/crystalsvg/16x16/apps/kpilotDaemon.png
+share/icons/crystalsvg/22x22/apps/kpilot.png
+share/icons/crystalsvg/32x32/apps/kpilot.png
+share/icons/crystalsvg/48x48/apps/kpilot.png
+share/icons/crystalsvg/48x48/apps/kpilotDaemon.png
+share/icons/locolor/16x16/apps/kpilot.png
+share/services/abbrowser_conduit.desktop
+share/services/expense-conduit.desktop
+share/services/knotes-conduit.desktop
+share/services/mal_conduit.desktop
+share/services/null-conduit.desktop
+share/services/popmail-conduit.desktop
+share/services/time_conduit.desktop
+share/services/todo-conduit.desktop
+share/services/vcal-conduit.desktop
+share/servicetypes/kpilotconduit.desktop
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/calendarsystem/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kabc/kabc2mutt/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kaddressbook/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kalarm/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kalarmd/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kandy/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kfile-plugins/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kgantt/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/knotes/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/konsolekalendar/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/korganizer/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/kpilot/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/ksync/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkcal/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkdepim/html
+@exec /bin/mkdir -p %D/share/doc/HTML/en/kdepim-apidocs/libkpimexchange/html
diff --git a/deskutils/kdepim4/files/plist.kpilot.rm b/deskutils/kdepim4/files/plist.kpilot.rm
new file mode 100644
index 000000000000..f40368e8356f
--- /dev/null
+++ b/deskutils/kdepim4/files/plist.kpilot.rm
@@ -0,0 +1,9 @@
+@unexec /bin/rmdir %D/share/doc/HTML/en/kdepim-apidocs/kpilot/html || true
+@dirrm share/icons/crystalsvg/22x22/apps
+@dirrm share/doc/HTML/en/kdepim-apidocs/kpilot
+@dirrm share/apps/kpilot/icons/crystalsvg/16x16/actions
+@dirrm share/apps/kpilot/icons/crystalsvg/16x16
+@dirrm share/apps/kpilot/icons/crystalsvg
+@dirrm share/apps/kpilot/icons
+@dirrm share/apps/kpilot
+@dirrm include/kpilot