diff options
Diffstat (limited to 'deskutils/kdepim4-runtime/Makefile')
-rw-r--r-- | deskutils/kdepim4-runtime/Makefile | 27 |
1 files changed, 20 insertions, 7 deletions
diff --git a/deskutils/kdepim4-runtime/Makefile b/deskutils/kdepim4-runtime/Makefile index d798bfa..0de1337 100644 --- a/deskutils/kdepim4-runtime/Makefile +++ b/deskutils/kdepim4-runtime/Makefile @@ -5,27 +5,40 @@ # $FreeBSD$ PORTNAME= kdepim-runtime -PORTVERSION= ${KDEPIM4_VERSION} -PORTREVISION= 1 +PORTVERSION= ${KDE4_VERSION} CATEGORIES= deskutils kde ipv6 MASTER_SITES= ${MASTER_SITE_KDE} -MASTER_SITE_SUBDIR= ${KDEPIM4_BRANCH}/kdepim-${PORTVERSION}/src +MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= Libraries for KDE-PIM applications -LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs +LIB_DEPENDS= boost_thread.4:${PORTSDIR}/devel/boost-libs +BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt -USE_KDE4= pimlibs kdeprefix kdehier sharedmime automoc4 +CONFLICTS_INSTALL= kdepim-runtime-4.4.* + +USE_XZ= yes +USE_GNOME= libxml2 +USE_KDE4= kdehier kdelibs kdeprefix pimlibs \ + akonadi automoc4 ontologies sharedmime soprano strigi KDE4_BUILDENV= yes -USE_BZIP2= yes USE_QT_VER= 4 -QT_COMPONENTS= qmake_build moc_build rcc_build uic_build +QT_COMPONENTS= dbus designer gui network xml xmlpatterns \ + qmake_build moc_build rcc_build uic_build MAKE_JOBS_SAFE= yes +CMAKE_ARGS= -DKDEPIM_MOBILE_UI:BOOL=OFF post-patch: ${GREP} -H -r "#include <q" ${WRKSRC} | ${CUT} -d: -f1 | uniq | \ ${XARGS} ${REINPLACE_CMD} -f ${FILESDIR}/qt3to4headers.txt +# Prevent updating MIME during build. + ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d' \ + ${PATCH_WRKSRC}/CMakeLists.txt \ + ${PATCH_WRKSRC}/accountwizard/CMakeLists.txt + +post-install: + @-update-mime-database ${KDE4_PREFIX}/share/mime .include <bsd.port.mk> |