aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kde4-baseapps/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde4-baseapps/Makefile')
-rw-r--r--x11/kde4-baseapps/Makefile23
1 files changed, 12 insertions, 11 deletions
diff --git a/x11/kde4-baseapps/Makefile b/x11/kde4-baseapps/Makefile
index fd3215bc754e..eb86e7804ea1 100644
--- a/x11/kde4-baseapps/Makefile
+++ b/x11/kde4-baseapps/Makefile
@@ -8,7 +8,6 @@
PORTNAME= kdebase
PORTVERSION= ${KDE4_VERSION}
-PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
@@ -30,7 +29,7 @@ QT_COMPONENTS= corelib opengl dbus qt3support \
qmake_build moc_build rcc_build uic_build
USE_GETTEXT= yes
-USE_KDE4= kdelibs workspace kdeprefix kdehier automoc4
+USE_KDE4= kdelibs kdeprefix kdehier automoc4
KDE4_BUILDENV= yes
MAKE_JOBS_SAFE= yes
@@ -38,23 +37,25 @@ CMAKE_ARGS+= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib" \
-DWITH_RAW1394:BOOL=OFF \
-DWITH_PCIUTILS:BOOL=OFF
+OPTIONS= WEBKIT "KWebKit support in Konqueror KTTS plugin" off
+
MAN1= kappfinder.1 \
kbookmarkmerger.1 \
kfind.1
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
.if ${OSVERSION} < 800069
LIB_DEPENDS+= usb-0.1:${PORTSDIR}/devel/libusb
.endif
-post-patch:
-.if ${OSVERSION} > 800090
- @${PATCH} ${PATCH_ARGS} < ${PATCHDIR}/extra-patch-libusb20
-.endif
-.if ${OSVERSION} >= 800100
- @${REINPLACE_CMD} -e 's,usb_revision.h,usbdi.h,g' \
- ${PATCH_WRKSRC}/apps/kinfocenter/usbview/usbdevices.h
+.ifdef(WITH_WEBKIT)
+LIB_DEPENDS+= kwebkit.1:${PORTSDIR}/www/kwebkitpart
+CMAKE_ARGS+= -DWITH_KWebKitPart:BOOL=ON
+PLIST_SUB+= WEBKIT=""
+.else
+CMAKE_ARGS+= -DWITH_KWebKitPart:BOOL=OFF
+PLIST_SUB+= WEBKIT="@comment "
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>