1f8475f22f
- rework KDE4_BUILDENV All ports: - remove needless post-extract target - make patches relative to ${PATCH_WRKSRC} - clean up - bump PORTREVISION when required databases/akonadi: - replace dependency on boost-python-libs with boost-libs (finally, boost-pyhton does not conflict with boost \o/) deskutils/kdepim*: - replace boost-python-libs with boost-libs - reduce dependencies - respect PREFIX - fix build with qt3 installed misc/kdeedu4: - add dependency on astro/xplanet (for KStars) misc/kdeutils4: - add dependency on devel/qca (for okteta) - make dependency on kdebase non-optional multimedia/kdemultimedia4: - add optional support for PulseAudio x11/kdebase4: - remove needless dependency on kdebase4-runtime x11/kdebase4-runtime, x11/kdebase4-workspace - remove extra CMAKE_ARGS to fix build for qt3/kde3 users x11/kdelibs4 - remove needless dependencies - remove extra CMAKE_ARGS to fix build for qt3/kde3 users
51 lines
1.5 KiB
Makefile
51 lines
1.5 KiB
Makefile
# New ports collection Makefile for: kdeadmin
|
|
# Date created: 2008-01-30
|
|
# Whom: Martin Wilke <miwi@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kdeadmin
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
CATEGORIES= sysutils kde ipv6
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
|
MASTER_SITE_SUBDIR= ${KDE4_BRANCH}/${PORTVERSION}/src
|
|
DIST_SUBDIR= KDE
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= KDE Admin applications
|
|
|
|
LATEST_LINK= ${PORTNAME}4
|
|
|
|
USE_BZIP2= yes
|
|
USE_QT_VER= 4
|
|
USE_KDE4= kdelibs pimlibs kdeprefix kdehier automoc4
|
|
KDE4_BUILDENV= yes
|
|
USE_OPENSSL= yes
|
|
QT_COMPONENTS= corelib opengl dbus qt3support designer network svg qtestlib \
|
|
network porting_build qmake_build moc_build rcc_build \
|
|
uic_build uic3_build
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CMAKE_ARGS+= -DBUILD_kpackage:BOOL=Off \
|
|
-DBUILD_lilo-config:BOOL=Off
|
|
|
|
OPTIONS= PRINTER_CONFIG "Install printer configuration utility" off
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_PRINTER_CONFIG)
|
|
RUN_DEPENDS+= ${KDE4_PREFIX}/share/apps/system-config-printer-kde/system-config-printer-kde.py:${PORTSDIR}/print/system-config-printer-kde
|
|
.endif
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e \
|
|
's,$${LIB_INSTALL_DIR}/pkgconfig,libdata/pkgconfig,' \
|
|
${PATCH_WRKSRC}/knetworkconf/backends/CMakeLists.txt
|
|
#disable documentation for kpackage
|
|
${REINPLACE_CMD} -e '/add_subdirectory(kpackage)/d' \
|
|
${PATCH_WRKSRC}/doc/CMakeLists.txt
|
|
#disable system-config-printer-kde, it comes with print/kdeadmin4-system-config-printer-kde
|
|
${REINPLACE_CMD} -e '/add_subdirectory.*system-config-printer-kde/d' \
|
|
${PATCH_WRKSRC}/CMakeLists.txt
|
|
|
|
.include <bsd.port.post.mk>
|