diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2004-03-09 19:41:12 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2004-03-09 19:41:12 +0000 |
commit | f64c6af4f4d0803346188ad60d5055ea8b8d63dc (patch) | |
tree | a4ccebaea6c27a0834589e8629dbcdc5ee328c8b /x11/kdebase4-runtime/Makefile | |
parent | . Build and install API documentation if NOPORTDOCS isn't set. (diff) |
Update to KDE 3.2.1 / QT 3.3.1
Important changes:
==================
KDE:
- Audio/arts does not install artswrapper anymore, instead it is provided by
audio/artswrapper. See UPDATING.
- misc/kdeaddons3 is now a metaport with
editors/kate-plugins
editors/vimpart
games/atlantikdesigner
misc/kaddressbook-plugins
misc/kfile-plugins
misc/kicker-applets
misc/knewsticker-scripts
misc/konq-plugins
misc/ksig
misc/renamedlgplugins
multimedia/noatun-plugins
net/kontact-plugins
as slave ports.
- A number of KDE ports now uses OPTIONS do make various WITH_* options more
visible.
- Plist fixes
- devel/kdevelop should be able to detect FreeBSD's autoconf/automake now for
newly created projects.
- kdebase will no longer remove previous KDM configurations. This won't take
effect during the update from 3.2.0 to 3.2.1 (as deinstalling 3.2.0 will still
remove the configuration), but subsequent updates will merge old configs.
QT:
- Previous versions of QT could be compiled with debugging-support enabled by
defining DEBUG. This switch has been renamed to the more unambiguous
WANT_QT_DEBUG (similar to WANT_KDE_DEBUG in the KDE ports).
Diffstat (limited to 'x11/kdebase4-runtime/Makefile')
-rw-r--r-- | x11/kdebase4-runtime/Makefile | 41 |
1 files changed, 28 insertions, 13 deletions
diff --git a/x11/kdebase4-runtime/Makefile b/x11/kdebase4-runtime/Makefile index 7d257ddd8199..595550df90f8 100644 --- a/x11/kdebase4-runtime/Makefile +++ b/x11/kdebase4-runtime/Makefile @@ -8,10 +8,9 @@ PORTNAME= kdebase PORTVERSION= ${KDE_VERSION} -PORTREVISION= 1 CATEGORIES= x11 kde MASTER_SITES= ${MASTER_SITE_KDE} -MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src +MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org @@ -39,37 +38,53 @@ CONFIGURE_ARGS+=--without-java \ --with-qt-dir=${X11BASE} \ --with-xdmdir=${X11BASE}/lib/X11/xdm +OPTIONS= ARTSWRAPPER "Suid wrapper for aRts, req'd for realtime prio" on \ + MOTIF "Support Netscape plugins, requires openmotif" on + .include "${.CURDIR}/../../x11/kde3/Makefile.kde" .include <bsd.port.pre.mk> -.if defined(WITHOUT_MOTIF) -CONFIGURE_ARGS+= --without-motif -.else +.if exists(${X11BASE}/bin/mwm) +. if !defined(WITH_MOTIF) +MOTIF_OVERRIDE= yes +WITH_MOTIF= yes +. endif +.endif + +.if defined(WITH_ARTSWRAPPER) +RUN_DEPENDS+= artswrapper:${PORTSDIR}/audio/artswrapper +.endif + +.if defined(WITH_MOTIF) USE_MOTIF= yes PLIST_APPEND+= plist.motif +.else +CONFIGURE_ARGS+= --without-motif +.endif -pre-extract:: - @${ECHO_MSG} - @${ECHO_MSG} "If you want to compile WITHOUT Motif support, hit" - @${ECHO_MSG} "Ctrl-C right now and use \"make WITHOUT_MOTIF=yes\"" +pre-everything:: +.if defined(MOTIF_OVERRIDE) @${ECHO_MSG} - @${ECHO_MSG} "This will DISABLE netscape plugin compatibility." + @${ECHO_MSG} "*******************************************************" + @${ECHO_MSG} "* openmotif is installed but WITH_MOTIF is not set! *" + @${ECHO_MSG} "* WITH_MOTIF has been enabled automatically. *" + @${ECHO_MSG} "*******************************************************" @${ECHO_MSG} -.endif # defined(WITHOUT_MOTIF) +.endif post-extract: @${ECHO} "#!/bin/sh" > ${WRKSRC}/mkpamserv @${ECHO} "exit 0" >> ${WRKSRC}/mkpamserv 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: + ${LOCALBASE}/bin/genkdmconf --no-old --in ${PREFIX}/share/config/kdm/default + ${LOCALBASE}/bin/genkdmconf --no-backup --no-old-scripts --in ${PREFIX}/share/config/kdm ${RM} -f ${PREFIX}/share/apps/konsole/linux.desktop ${CHMOD} u+s ${PREFIX}/bin/kcheckpass ${CHGRP} kmem ${PREFIX}/bin/ksysguardd && \ |