diff options
Diffstat (limited to 'devel/kdesdk4/Makefile')
-rw-r--r-- | devel/kdesdk4/Makefile | 42 |
1 files changed, 30 insertions, 12 deletions
diff --git a/devel/kdesdk4/Makefile b/devel/kdesdk4/Makefile index 2d90c37c4308..3694e9b05cae 100644 --- a/devel/kdesdk4/Makefile +++ b/devel/kdesdk4/Makefile @@ -6,7 +6,6 @@ PORTNAME= kdesdk PORTVERSION= ${KDE4_VERSION} -PORTREVISION= 1 CATEGORIES= devel kde MASTER_SITES= ${MASTER_SITE_KDE} MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src @@ -15,30 +14,35 @@ DIST_SUBDIR= KDE MAINTAINER= kde@FreeBSD.org COMMENT= KDE Software Development Kit -BUILD_DEPENDS= ${LOCALBASE}/include/ltdl.h:${PORTSDIR}/devel/libltdl -RUN_DEPENDS= bash:${PORTSDIR}/shells/bash LIB_DEPENDS= svn_client-1.0:${PORTSDIR}/devel/subversion \ boost_thread.4:${PORTSDIR}/devel/boost-libs \ - hunspell-1.3.0:${PORTSDIR}/textproc/hunspell + hunspell-1.3.0:${PORTSDIR}/textproc/hunspell \ + searchclient.0:${PORTSDIR}/deskutils/strigi \ + qca.2:${PORTSDIR}/devel/qca + +BUILD_DEPENDS= ${LOCALBASE}/include/ltdl.h:${PORTSDIR}/devel/libltdl \ + ${LOCALBASE}/include/qimageblitz/qimageblitz.h:${PORTSDIR}/x11/qimageblitz + +RUN_DEPENDS= bash:${PORTSDIR}/shells/bash LATEST_LINK= ${PORTNAME}4 CONFLICTS= kdeutils-4.5.[0-5] USE_BZIP2= yes +USE_GNOME= libxml2 libxslt USE_KDE4= kdelibs pimlibs kdeprefix kdehier \ - automoc4 akonadi kdebase + automoc4 akonadi baseapps sharedmime KDE4_BUILDENV= yes +USE_PERL5= yes USE_QT_VER= 4 -QT_COMPONENTS= network gui svg qt3support \ - qmake_build moc_build rcc_build uic_build \ - porting_build uic3_build +QT_COMPONENTS= dbus designer gui qt3support \ + script scripttools sql svg xml \ + qmake_build moc_build rcc_build uic_build uic3_build USE_GMAKE= yes MAKE_JOBS_SAFE= yes CMAKE_ARGS+= -DCMAKE_REQUIRED_INCLUDES:STRING="${LOCALBASE}/include" -OPTIONS+= ANTLR "Support for po2xml and swappo tools" OFF - MAN1= adddebug.1 \ cervisia.1 \ cheatmake.1 \ @@ -53,7 +57,6 @@ MAN1= adddebug.1 \ extend_dmalloc.1 \ extractrc.1 \ fixincludes.1 \ - kate.1 \ po2xml.1 \ pruneemptydirs.1 \ qtdoc.1 \ @@ -64,9 +67,12 @@ MAN1= adddebug.1 \ xml2pot.1 \ zonetab2pot.py.1 +OPTIONS= ANTLR "Support for po2xml and swappo tools" off \ + KATE "Install Kate advanced text editor" on + .include <bsd.port.options.mk> -.if defined(WITH_ANTLR) +.ifdef(WITH_ANTLR) BUILD_DEPENDS+= antlr:${PORTSDIR}/devel/antlr RUN_DEPENDS+= antlr:${PORTSDIR}/devel/antlr PLIST_SUB+= ANTLR="" @@ -75,4 +81,16 @@ CMAKE_ARGS+= -DWITH_Antlr2:BOOL=off PLIST_SUB+= ANTLR="@comment " .endif +.ifndef(WITHOUT_KATE) +RUN_DEPENDS+= ${KDE4_PREFIX}/bin/kate:${PORTSDIR}/editors/kate +.endif + +post-patch: + # Prevent updating MIME during build. + ${REINPLACE_CMD} -e '/^update_xdg_mimetypes/ d; /SharedMimeInfo/ d' \ + ${PATCH_WRKSRC}/okteta/mimetypes/CMakeLists.txt + +post-install: + @-update-mime-database ${KDE4_PREFIX}/share/mime + .include <bsd.port.mk> |