freebsd-ports/x11/kdebase4-runtime/Makefile
Michael Nottebrock ac4ef3820b Update KDE to the latest official release, KDE 3.1.3
Official KDE 3.1.3 announcement:
http://www.kde.org/announcements/announce-3.1.3.php

(may not work until a few hours after this commit - we jumped the gun a little
 in order to have the update in place at the time the security notifications for
 KDE 3.1.2 will be released together with the announcement of KDE 3.1.3).

Changelog from 3.1.2 to 3.1.3 release:
http://www.kde.org/announcements/changelogs/changelog3_1_2to3_1_3.php

Thanks and credits need to go to the whole KDE-FreeBSD team, as well
as everyone on kde@freebsd.org for providing feedback, reporting bugs
and just using the KDE ports.

Approved by: will (real mentor asleep)
2003-07-29 04:26:22 +00:00

89 lines
2.3 KiB
Makefile

# -*-mode: makefile-*-
# New ports collection makefile for: kdebase3.1
# Date created: 29 November 2002
# Whom: kde@freebsd.org
#
# $FreeBSD$
#
PORTNAME= kdebase
PORTVERSION= ${KDE_VERSION}
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${KDE_VERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= This package provides the basic applications for the KDE system
BUILD_DEPENDS= mkfontdir:${PORTSDIR}/x11/XFree86-4-clients
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
KDE_BUILD_PLIST=yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_XPM= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
CONFIGURE_ENV+= RUN_KAPPFINDER=no
CONFIGURE_ARGS+=--without-java \
--with-qt-dir=${X11BASE} \
--with-xdmdir=${X11BASE}/lib/X11/xdm
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
# This enables kio_ldap (needed by kaddresbook).
.if defined(WITH_LDAP) || exists($(LOCALBASE)/lib/libldap.so)
LIB_DEPENDS+= ldap:${PORTSDIR}/net/openldap21
PLIST_APPEND+= plist.ldap
.endif
.if exists(${X11BASE}/include/Xm/Xm.h)
WITH_MOTIF= yes
.endif # exists(${X11BASE}/include/Xm/Xm.h)
.if defined(WITHOUT_MOTIF)
.undef WITH_MOTIF
CONFIGURE_ARGS+= --without-motif
.endif # defined(WITHOUT_MOTIF)
.if defined(WITH_MOTIF)
USE_MOTIF= yes
PLIST_APPEND+= plist.motif
.else
pre-extract::
@${ECHO_MSG}
@${ECHO_MSG} "If you want to compile with Motif support,"
@${ECHO_MSG} "hit Ctrl-C right now and use \"make WITH_MOTIF=yes\""
@${ECHO_MSG}
@${ECHO_MSG} "Motif is used for Netscape plugin compatibility."
@${ECHO_MSG}
.endif # defined(WITH_MOTIF)
post-extract:
@${ECHO} "#!/bin/sh" > ${WRKSRC}/mkpamserv
@${ECHO} "exit 0" >> ${WRKSRC}/mkpamserv
${REINPLACE_CMD} -e 's|-pedantic ||g' ${WRKSRC}/configure
post-configure:
${REINPLACE_CMD} -e "s@genkdmconf --in@genkdmconf --no-old --in@" \
${WRKSRC}/kdm/kfrontend/Makefile
${REINPLACE_CMD} -e "s@^\s*Exec=.*\$$@Exec=ElectricEyes@" \
${WRKSRC}/kappfinder/apps/Graphics/ElectricEyes.desktop
${REINPLACE_CMD} -e 's/444/644/g' \
${WRKSRC}/kdesktop/init/Templates/Makefile
post-install:
${RM} -f ${PREFIX}/share/apps/konsole/linux.desktop
${CHMOD} u+s ${PREFIX}/bin/kcheckpass
${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \
${CHMOD} g+s ${PREFIX}/bin/ksysguardd
.include <bsd.port.post.mk>