diff options
author | miwi <miwi@FreeBSD.org> | 2008-08-10 00:52:28 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-08-10 00:52:28 +0800 |
commit | 4e715c72d3e6a4f08f2bfb8fa1a1f93600fbca08 (patch) | |
tree | db3c1cc1231d3aef48831d470847f62ba1858521 /x11/kde4-baseapps/Makefile | |
parent | d97d7e91b2c078b87375499ca4591297c54f5d50 (diff) | |
download | freebsd-ports-gnome-4e715c72d3e6a4f08f2bfb8fa1a1f93600fbca08.tar.gz freebsd-ports-gnome-4e715c72d3e6a4f08f2bfb8fa1a1f93600fbca08.tar.zst freebsd-ports-gnome-4e715c72d3e6a4f08f2bfb8fa1a1f93600fbca08.zip |
The KDE FreeBSD team is proud to announce the release of KDE 4.1.0
for FreeBSD. The official KDE 4.1.0 release notes can be found at
http://www.kde.org/announcements/4.1/.
Some note:
* Prefix
KDE4 will be install into a custom prefixes namely ${LOCALBASE}/kde4.
KDE4 and KDE3 can co-exist
* Sound
For sound to work, it is necessary to have dbus and hal enabled
in your system. Please see the respective documentation on how
to enable these.
For more Informations see the HEADS UP at ports@ and kde-freebsd@
or our wiki page http://wiki.freebsd.org/KDE4/Install.
Have fun!
Diffstat (limited to 'x11/kde4-baseapps/Makefile')
-rw-r--r-- | x11/kde4-baseapps/Makefile | 132 |
1 files changed, 26 insertions, 106 deletions
diff --git a/x11/kde4-baseapps/Makefile b/x11/kde4-baseapps/Makefile index 8334f1010544..39e806112943 100644 --- a/x11/kde4-baseapps/Makefile +++ b/x11/kde4-baseapps/Makefile @@ -7,122 +7,42 @@ # PORTNAME= kdebase -PORTVERSION= ${KDE_VERSION} -PORTREVISION= 3 +PORTVERSION= ${KDE4_VERSION} 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 COMMENT= Basic applications for the KDE system -RUN_DEPENDS= ${KDE_PREFIX}/env/xdg-env.sh:${PORTSDIR}/misc/kde-xdg-env -BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake -LIB_DEPENDS= sasl2:${PORTSDIR}/security/cyrus-sasl2 \ - smbclient:${PORTSDIR}/net/samba-libsmbclient \ - usb-0.1:${PORTSDIR}/devel/libusb +LIB_DEPENDS= searchclient:${PORTSDIR}/deskutils/strigi \ + soprano.4:${PORTSDIR}/textproc/soprano \ + qimageblitz.4:${PORTSDIR}/x11/qimageblitz -CONFLICTS= kdeartwork-3.[2-3]* kdelibs-3.[0-4]* kdeutils-3.[0-2]* - -USE_KDELIBS_VER=3 -PREFIX= ${KDE_PREFIX} - -USE_OPENLDAP= yes -USE_OPENSSL= yes +LATEST_LINK= ${PORTNAME}4 USE_BZIP2= yes -USE_GMAKE= yes -USE_XORG= xpm xkbfile xrandr xcursor -SUB_FILES= kdm pkg-deinstall pkg-install pkg-message -PKGMESSAGE= ${WRKDIR}/pkg-message -PKGINSTALL= ${WRKDIR}/pkg-install -PKGDEINSTALL= ${WRKDIR}/pkg-deinstall - -USE_AUTOTOOLS= libtool:15 -USE_LDCONFIG= yes -LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 - -CONFIGURE_ENV+= RUN_KAPPFINDER=no kde_cv_utmp_file=/var/run/utmp -CONFIGURE_ARGS+=--without-java \ - --with-qt-dir=${LOCALBASE} \ - --with-xdmdir=${LOCALBASE}/lib/X11/xdm \ - --with-ssl-dir=${OPENSSLBASE} - -OPTIONS= ARTSWRAPPER "Suid wrapper for aRts, req'd for realtime prio" on \ - HAL "Use HAL backend for media:/ (FreeBSD 5+ only)" on \ - HTDIG "Depend on htdig, used to build manual indices" off - -.include "${.CURDIR}/../../x11/kde3/Makefile.kde" -.include <bsd.port.pre.mk> - -BUILD_DEPENDS+= bdftopcf:${PORTSDIR}/x11-fonts/bdftopcf \ - mkfontdir:${PORTSDIR}/x11-fonts/mkfontdir -RUN_DEPENDS+= kompmgr:${PORTSDIR}/x11-wm/kompmgr +USE_QT_VER= 4 +QT_COMPONENTS= corelib opengl moc rcc uic dbus qt3support \ + designer network svg qtestlib -.if !defined(WITHOUT_ARTSWRAPPER) -RUN_DEPENDS+= artswrapper:${PORTSDIR}/audio/artswrapper -.endif - -.if defined(WITH_HTDIG) -RUN_DEPENDS+= htdig:${PORTSDIR}/textproc/htdig -.endif - -.if !defined(WITHOUT_HAL) && ${OSVERSION} > 500035 -EXTRA_PATCHES= ${FILESDIR}/extrapatch-kioslave_media_mediamanager-halbackend.cpp \ - ${FILESDIR}/extrapatch-kioslave_media_mediamanager-halbackend.h -LIB_DEPENDS+= dbus-qt-1.1:${PORTSDIR}/devel/dbus-qt3 \ - hal.1:${PORTSDIR}/sysutils/hal -PLIST_SUB+= MEDIA="" -.else -CONFIGURE_ARGS+=--without-hal -PLIST_SUB+= MEDIA="@comment " -.endif +USE_FAM= yes +USE_GETTEXT= yes +USE_KDE4= kdelibs workspace kdeprefix kdehier automoc4 +KDE4_BUILDENV= yes post-extract: - @${ECHO} "#!/bin/sh" > ${WRKSRC}/mkpamserv - @${ECHO} "exit 0" >> ${WRKSRC}/mkpamserv - -pre-configure: - ${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE},g" \ - ${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 - ${REINPLACE_CMD} \ - -e 's|-s|-u|g' \ - ${WRKSRC}/kioslave/media/services/media_safelyremove.desktop - ${REINPLACE_CMD} \ - -e 's|kgamma.desktop||g' ${WRKSRC}/applnk/old_desktop_files - -post-configure: - ${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: - ${INSTALL_DATA} ${FILESDIR}/freebsd.keytab ${PREFIX}/share/apps/konsole/ - ${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 - @${MV} ${PREFIX}/bin/kdm ${PREFIX}/bin/kdm-bin - @${MV} ${PREFIX}/bin/kdm_config ${PREFIX}/bin/kdm-bin_config - @${MV} ${PREFIX}/bin/kdm_greet ${PREFIX}/bin/kdm-bin_greet - @${INSTALL_SCRIPT} ${WRKDIR}/kdm ${PREFIX}/bin -.if !defined(PACKAGE_BUILDING) - @${SETENV} PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.endif - @${CAT} ${PKGMESSAGE} - -.include <bsd.port.post.mk> + ${MKDIR} ${WRKSRC} + +post-patch: + ${REINPLACE_CMD} -e "s,<qfile.h>,<QFile>,;s,<qevent.h>,<QtEvents>,; \ + s,<qapplication.h>,<QApplication>," \ + ${WRKSRC}/../apps/konqueror/src/konqbookmarkbar.cpp + ${REINPLACE_CMD} -e 's|<qstringlist.h>|<QStringList>|'\ + ${WRKSRC}/../apps/nsplugins/plugin_paths.h + ${REINPLACE_CMD} -e "s,<qtimer.h>,<QTimer>,; \ + s,<qwidget.h>,<QWidget>," \ + ${WRKSRC}/../apps/nsplugins/viewer/xtevents.h + +.include <bsd.port.mk> |