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)
31 lines
950 B
Makefile
31 lines
950 B
Makefile
# Created by: Martin Wilke <miwi@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= kdeartwork
|
|
PORTVERSION= ${KDE4_VERSION}
|
|
CATEGORIES= x11-themes kde kde-kde4
|
|
|
|
MAINTAINER= kde@FreeBSD.org
|
|
COMMENT= KDE Artworks Themes
|
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/eigen3.pc:math/eigen3
|
|
|
|
USES= cmake:outsource kde:4 tar:xz
|
|
USE_KDE= kdelibs libkexiv2 workspace automoc4
|
|
USE_QT4= corelib gui opengl \
|
|
moc_build qmake_build rcc_build uic_build
|
|
USE_XORG= x11 xt
|
|
|
|
OPTIONS_DEFINE= GNOME
|
|
GNOME_DESC= Use Gnome screensavers
|
|
GNOME_BUILD_DEPENDS= ${LOCALBASE}/share/applications/xscreensaver-properties.desktop:x11/xscreensaver-gnome
|
|
GNOME_RUN_DEPENDS= ${GNOME_BUILD_DEPENDS}
|
|
GNOME_BUILD_DEPENDS_OFF= xscreensaver:x11/xscreensaver
|
|
GNOME_RUN_DEPENDS_OFF= ${GNOME_BUILD_DEPENDS_OFF}
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}|g' \
|
|
-e 's|/usr/share|${LOCALBASE}/share|g' \
|
|
${PATCH_WRKSRC}/cmake/modules/FindXscreensaver.cmake
|
|
|
|
.include <bsd.port.mk>
|