aboutsummaryrefslogtreecommitdiffstats
path: root/x11-themes/kdeartwork-kde4/Makefile
blob: a098c0a7c7b7a979f0bccee9965904ba37ba0cf4 (plain) (blame)
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
# Created by: Martin Wilke <miwi@FreeBSD.org>
# $FreeBSD$

PORTNAME=   kdeartwork
PORTVERSION=    ${KDE4_VERSION}
PORTREVISION=   3
CATEGORIES= x11-themes kde kde-kde4
PKGNAMESUFFIX=  -kde4

MAINTAINER= kde@FreeBSD.org
COMMENT=    KDE Artworks Themes

DEPRECATED= KDE4 is EOL upstream
EXPIRATION_DATE=    2018-12-31

USES=       cmake:outsource kde:4 qt:4 tar:xz
USE_KDE=    kdelibs libkexiv2 workspace automoc4
USE_QT=     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}

# Do not look for eigen. Eigen3 dropped the eigen2 compatibility with 3.2+.
CMAKE_ARGS= -DCMAKE_DISABLE_FIND_PACKAGE_Eigen3:BOOL=TRUE

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>