aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kde4-baseapps/Makefile
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2006-12-20 05:19:54 +0800
committerlofi <lofi@FreeBSD.org>2006-12-20 05:19:54 +0800
commit3828fc39e5d63eefcdca3ff5af0109f10b93f877 (patch)
treedfe74a40edd57f02fbd57bfa287eb3281bb050e6 /x11/kde4-baseapps/Makefile
parentc888bac68f8b3b52cf311314ac186e603ae40703 (diff)
downloadfreebsd-ports-gnome-3828fc39e5d63eefcdca3ff5af0109f10b93f877.tar.gz
freebsd-ports-gnome-3828fc39e5d63eefcdca3ff5af0109f10b93f877.tar.zst
freebsd-ports-gnome-3828fc39e5d63eefcdca3ff5af0109f10b93f877.zip
Update to KDE 3.5.5 / KOffice 1.6.1
Approved by: portmgr
Diffstat (limited to 'x11/kde4-baseapps/Makefile')
-rw-r--r--x11/kde4-baseapps/Makefile36
1 files changed, 32 insertions, 4 deletions
diff --git a/x11/kde4-baseapps/Makefile b/x11/kde4-baseapps/Makefile
index 46b98442ee8c..d4de86a32d61 100644
--- a/x11/kde4-baseapps/Makefile
+++ b/x11/kde4-baseapps/Makefile
@@ -8,7 +8,6 @@
PORTNAME= kdebase
PORTVERSION= ${KDE_VERSION}
-PORTREVISION= 4
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
@@ -46,13 +45,14 @@ INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
CONFIGURE_ENV+= RUN_KAPPFINDER=no kde_cv_utmp_file=/var/run/utmp
-CONFIGURE_ARGS+=--without-hal \
- --without-java \
+CONFIGURE_ARGS+=--without-java \
--with-qt-dir=${X11BASE} \
--with-xdmdir=${X11BASE}/lib/X11/xdm \
--with-ssl-dir=${OPENSSLBASE}
-OPTIONS= ARTSWRAPPER "Suid wrapper for aRts, req'd for realtime prio" on
+OPTIONS= ARTSWRAPPER "Suid wrapper for aRts, req'd for realtime prio" on \
+ HAL "Use HAL backend for media:/ (FreeBSD 5 and newer only)" off \
+ HTDIG "Depend on htdig, used to build manual indices" off
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
@@ -65,6 +65,23 @@ RUN_DEPENDS+= kompmgr:${PORTSDIR}/x11-wm/kompmgr
RUN_DEPENDS+= artswrapper:${PORTSDIR}/audio/artswrapper
.endif
+.if defined(WITH_HTDIG)
+RUN_DEPENDS+= htdig:${PORTSDIR}/textproc/htdig
+.endif
+
+.if defined(WITH_HAL) && ${OSVERSION} > 500035
+EXTRA_PATCHES= ${FILESDIR}/extrapatch-kioslave_media_mediamanager-halbackend.cpp
+LIB_DEPENDS+= dbus-qt-1.1:${PORTSDIR}/devel/dbus-qt3 \
+ hal.1:${PORTSDIR}/sysutils/hal
+PLIST_SUB+= MEDIA=""
+.else
+CONFIGURE_ARGS+=--without-hal
+EXTRA_PATCHES= ${FILESDIR}/extrapatch-kio_media \
+ ${FILESDIR}/extrapatch-kioslave_media_mediamanager-fstabbackend.cpp
+PLIST_SUB+= MEDIA="@comment "
+.endif
+
+
post-extract:
@${ECHO} "#!/bin/sh" > ${WRKSRC}/mkpamserv
@${ECHO} "exit 0" >> ${WRKSRC}/mkpamserv
@@ -74,6 +91,17 @@ pre-configure:
${WRKSRC}/kdeprint/descriptions/Makefile.in
${REINPLACE_CMD} -e "s,applications-merged,kde-applications-merged,g" \
${WRKSRC}/applnk/Makefile.in
+ ${REINPLACE_CMD} \
+ -E -e '/XftAntialias/s/false/true/g' \
+ ${WRKSRC}/kcontrol/krdb/krdb.cpp
+ ${REINPLACE_CMD} \
+ -E -e '/htdigbin/s|/usr/bin|${LOCALBASE}/bin|g' \
+ -e '/htdigdata/s|/srv/www/htdig|${LOCALBASE}/share/htdig|g' \
+ -e '/htsearchpath/s|/srv/www|${LOCALBASE}/www|g' \
+ ${WRKSRC}/khelpcenter/searchhandlers/khc_htdig.pl.in \
+ ${WRKSRC}/khelpcenter/searchhandlers/khc_docbookdig.pl.in \
+ ${WRKSRC}/khelpcenter/searchhandlers/khc_htsearch.pl
+
post-configure:
${REINPLACE_CMD} -e "s@^\s*Exec=.*\$$@Exec=ElectricEyes@" \