1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/x11-wm/kdeartwork3/Makefile
Will Andrews d075bf0f86 Fix the -pthread problem in case the option gets removed again. This
patch involved patching the core auto* routines in KDE to accept the
PTHREAD_* variables in the environment, with fallbacks.  We decided the
easiest way to implement this in ports was to generate configure instead
of risking incorrect generation at port configure time.

Said patch has already been committed to HEAD in KDE and as such will be
removed with the 3.2 upgrade once it is released.

Ports using Makefile.kde that shouldn't be using them (i.e. non-KDE
modules) have this support commented out due to lack of patch.

Helped out:	Adriaan de Groot <adridg@cs.kun.nl>
		Lauri Watts <lauri@kde.org>
		Andy Fawcett <andy@athame.co.uk>
2003-10-03 22:34:44 +00:00

54 lines
1.3 KiB
Makefile

# -*-mode: makefile-*-
# New ports collection makefile for: KDE artwork
# Date created: 20 August 2001
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= kdeartwork
PORTVERSION= ${KDE_VERSION}
CATEGORIES= x11-wm kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Additional themes, sounds, wallpapers and window styles for KDE
USE_KDEBASE_VER=3
PREFIX= ${KDE_PREFIX}
USE_MESA= yes
USE_BZIP2= yes
USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib/kde3
KDE_BUILD_PLIST=yes
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
.if exists(${X11BASE}/bin/xscreensaver)
WITH_XS= yes
.endif # exists(${X11BASE}/bin/xscreensaver)
.if exists(${X11BASE}/bin/screensaver-properties-capplet)
WITH_XSGNOME= yes
.endif # exists(${X11BASE}/bin/screensaver-properties-capplet)
.if defined(WITH_XS) && !defined(WITH_XSGNOME)
BUILD_DEPENDS+= xscreensaver:${PORTSDIR}/x11/xscreensaver
PLIST_APPEND+= plist.xs
.endif # defined(WITH_XS)
.if defined(WITH_XSGNOME)
BUILD_DEPENDS+= screensaver-properties-capplet:${PORTSDIR}/x11/xscreensaver-gnome
PLIST_APPEND+= plist.xs
.endif # defined(WITH_XSGNOME)
.include <bsd.port.post.mk>