blob: 78238bd180195fc6251594252ca756b490c5ee81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# $FreeBSD$
PORTNAME= kde-baseapps
PORTVERSION= ${KDE4_VERSION}
CATEGORIES= x11 kde
MASTER_SITES= KDE/${KDE4_BRANCH}/${PORTVERSION}/src
DIST_SUBDIR= KDE/${PORTVERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Basic applications for KDE
LIB_DEPENDS= libtidy.so:${PORTSDIR}/www/tidy-lib
USE_GNOME= glib20
USE_KDE4= kdelibs kdeprefix baloo baloo-widgets libkonq \
automoc4 kactivities
USES= cmake:outsource gettext tar:xz
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= ${KDE4_PREFIX}/bin/konsole:${PORTSDIR}/x11/konsole
KWRITE_DESC= Install KWrite text editor
KWRITE_USE= KDE4=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 ${KDE4_PREFIX}/lib/libkonq.so ${BUILD_WRKSRC}/lib
.include <bsd.port.mk>
|