freebsd-ports/x11/kde4-baseapps/Makefile
Tobias C. Berner 1d16d53e19 Introduce new extensible virtual categories for KDE
A lot of KDE Ports share MASTERSITES, LICENSE and so one, as they are
released as a bundle upstream, however, there was not really a clean
way to share this information.

Using these new categories, we can simplify the Makefiles for the diverse
KDE ports.
At the moment we support the virtual category
	* kde-kde4
In the future, this will be extended to
	* kde-frameworks
	* kde-plasma
	* kde-applications

PR:						213406
Differential Revision:	https://reviews.freebsd.org/D7645
Exp-run by :			antoine
Reviewed by:			mat, rakuco
Approved by: 			portmgr (mat), rakuco (mentor)
2016-10-18 17:22:35 +00:00

40 lines
1 KiB
Makefile

# $FreeBSD$
PORTNAME= kde-baseapps
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 1
CATEGORIES= x11 kde kde-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
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>