summaryrefslogtreecommitdiff
path: root/x11/kde-baseapps-kde4/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/kde-baseapps-kde4/Makefile')
-rw-r--r--x11/kde-baseapps-kde4/Makefile41
1 files changed, 41 insertions, 0 deletions
diff --git a/x11/kde-baseapps-kde4/Makefile b/x11/kde-baseapps-kde4/Makefile
new file mode 100644
index 000000000000..c7774e714cbe
--- /dev/null
+++ b/x11/kde-baseapps-kde4/Makefile
@@ -0,0 +1,41 @@
+# $FreeBSD$
+
+PORTNAME= kde-baseapps
+PORTVERSION= ${KDE4_VERSION}
+PORTREVISION= 4
+CATEGORIES= x11 kde kde-kde4
+PKGNAMESUFFIX= -kde4
+
+MAINTAINER= kde@FreeBSD.org
+COMMENT= Basic applications for KDE
+
+LIB_DEPENDS= libtidy.so:www/tidy-lib
+
+USES= cmake:outsource gettext kde:4 tar:xz
+USE_GNOME= glib20
+USE_KDE= kdelibs baloo baloo-widgets libkonq \
+ automoc4 kactivities
+USE_QT4= corelib dbus gui script xml \
+ moc_build qmake_build rcc_build uic_build
+USE_XORG= x11 xt
+USE_LDCONFIG= yes
+
+CMAKE_ARGS+= -DCMAKE_REQUIRED_FLAGS:STRING="-L${LOCALBASE}/lib"
+
+OPTIONS_DEFINE= KONSOLE KWRITE
+OPTIONS_DEFAULT= ${OPTIONS_DEFINE}
+
+KONSOLE_DESC= Install Konsole terminal emulator
+KONSOLE_RUN_DEPENDS= ${KDE_PREFIX}/bin/konsole:x11/konsole-kde4
+
+KWRITE_DESC= Install KWrite text editor
+KWRITE_USE= KDE=kate_run
+
+pre-configure:
+# Quick hack to avoid building libkonq here
+ ${REINPLACE_CMD} -e '/add_subdirectory (konq)/d' \
+ ${WRKSRC}/lib/CMakeLists.txt
+ ${MKDIR} ${BUILD_WRKSRC}/lib && \
+ ${LN} -s ${KDE_PREFIX}/lib/libkonq.so ${BUILD_WRKSRC}/lib
+
+.include <bsd.port.mk>