aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/kdepim44/Makefile
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2004-02-05 09:23:10 +0800
committerlofi <lofi@FreeBSD.org>2004-02-05 09:23:10 +0800
commitdd275e86771016b9e07f21b78d97fb8e7306a273 (patch)
treeaaa0565f51bf733a2ee63679e79f64b3565c1af3 /deskutils/kdepim44/Makefile
parent7353ea4a5c23d104ef03fff8654f23f71322a7a9 (diff)
downloadfreebsd-ports-gnome-dd275e86771016b9e07f21b78d97fb8e7306a273.tar.gz
freebsd-ports-gnome-dd275e86771016b9e07f21b78d97fb8e7306a273.tar.zst
freebsd-ports-gnome-dd275e86771016b9e07f21b78d97fb8e7306a273.zip
Update to KDE 3.2.0
Important changes: ================== - Kmail and knode have been moved from kdenetwork to kdepim. This means you will have to install kdepim if you want to continue using kmail or knode. This is to ease integration with korganizer, in the new 'Kontact' application. - The arabic translations for KDE and KOffice have been moved from misc to the arabic category. - There is a new module called kdeaccessibility in the accessibility category. It contains a few utilities for disabled users like a magnification lens and a text-to-speech frontend. - In KDM, you need to select the 'CUSTOM' session profile in order to have your .xsession executed. This is particularly important if you're using the aegypten tools (http://freebsd.kde.org/howtos/aegypten-kmail.php). - We have started making more parts of the ports optional. In kdepim, both Kandy and KPilot can be turned off with ports-knobs. This process will continue in the 3.2 series.
Diffstat (limited to 'deskutils/kdepim44/Makefile')
-rw-r--r--deskutils/kdepim44/Makefile31
1 files changed, 26 insertions, 5 deletions
diff --git a/deskutils/kdepim44/Makefile b/deskutils/kdepim44/Makefile
index 7fac76e97e92..26596ad53ecd 100644
--- a/deskutils/kdepim44/Makefile
+++ b/deskutils/kdepim44/Makefile
@@ -7,17 +7,14 @@
PORTNAME= kdepim
PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 2
-CATEGORIES= deskutils kde
+CATEGORIES= deskutils mail news kde
MASTER_SITES= ${MASTER_SITE_KDE}
-MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
+MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
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,11 +22,35 @@ USE_BZIP2= yes
USE_BISON= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
+KDE_BUILD_PLIST=yes
+
+.if exists(${LOCALBASE}/bin/pilot-link)
+WITH_KPILOT= yes
+.endif
+
+.if exists(${LOCALBASE}/bin/gnokii)
+WITH_GNOKII= yes
+.endif
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
+.if defined(WITH_GNOKII)
+LIB_DEPENDS+= gnokii.1:${PORTSDIR}/comms/gnokii
+.endif # defined ($(WITH_GNOKII))
+
+.if defined(WITH_KPILOT)
+LIB_DEPENDS= mal:${PORTSDIR}/palm/libmal \
+ pisock:${PORTSDIR}/palm/pilot-link
+PLIST_APPEND+= plist.kpilot
+.endif # defined ($(WITH_KPILOT))
+
+pre-configure:
+ ${REINPLACE_CMD} -e 's|-ldl||' ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e 's|-lgnokii|-lgnokii -liconv -lintl|' ${WRKSRC}/configure
+
.include <bsd.port.post.mk>