2003-01-28 19:36:58 +01:00
|
|
|
# -*-mode: makefile-*-
|
2001-08-20 17:21:09 +02:00
|
|
|
# New ports collection makefile for: KDE artwork
|
|
|
|
# Date created: 20 August 2001
|
|
|
|
# Whom: Dmitry Sivachenko <demon@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= kdeartwork
|
2002-07-04 21:39:36 +02:00
|
|
|
PORTVERSION= ${KDE_VERSION}
|
2005-03-12 11:54:27 +01:00
|
|
|
PORTREVISION= 1
|
2004-06-02 05:02:13 +02:00
|
|
|
CATEGORIES= x11-themes kde
|
2001-08-20 17:21:09 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_KDE}
|
2004-08-30 21:55:42 +02:00
|
|
|
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
|
2001-09-10 22:22:28 +02:00
|
|
|
DIST_SUBDIR= KDE
|
2001-08-20 17:21:09 +02:00
|
|
|
|
2001-09-01 10:35:47 +02:00
|
|
|
MAINTAINER= kde@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Additional themes, sounds, wallpapers and window styles for KDE
|
2001-08-20 17:21:09 +02:00
|
|
|
|
2002-04-22 01:47:50 +02:00
|
|
|
USE_KDEBASE_VER=3
|
2003-01-28 19:36:58 +01:00
|
|
|
PREFIX= ${KDE_PREFIX}
|
|
|
|
|
2004-07-12 00:33:58 +02:00
|
|
|
USE_GL= yes
|
2001-08-20 17:21:09 +02:00
|
|
|
USE_BZIP2= yes
|
2004-02-05 02:23:10 +01:00
|
|
|
USE_REINPLACE= yes
|
2001-08-20 17:21:09 +02:00
|
|
|
USE_GMAKE= yes
|
2003-01-28 19:36:58 +01:00
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2001-08-20 17:21:09 +02:00
|
|
|
INSTALLS_SHLIB= yes
|
2003-01-28 19:36:58 +01:00
|
|
|
LDCONFIG_DIRS+= %%PREFIX%%/lib/kde3
|
2001-08-20 17:21:09 +02:00
|
|
|
|
2002-06-15 18:16:32 +02:00
|
|
|
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
|
2003-05-19 21:43:36 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if exists(${X11BASE}/bin/xscreensaver)
|
|
|
|
WITH_XS= yes
|
|
|
|
.endif # exists(${X11BASE}/bin/xscreensaver)
|
|
|
|
|
2004-08-11 03:27:37 +02:00
|
|
|
.if exists(${X11BASE}/share/gnome/control-center-2.0/capplets/screensaver-properties.desktop)
|
2003-05-19 21:43:36 +02:00
|
|
|
WITH_XSGNOME= yes
|
|
|
|
.endif # exists(${X11BASE}/bin/screensaver-properties-capplet)
|
|
|
|
|
|
|
|
.if defined(WITH_XS) && !defined(WITH_XSGNOME)
|
2004-08-11 03:27:37 +02:00
|
|
|
RUN_DEPENDS+= kxsconfig:${PORTSDIR}/x11/xscreensaver-kde
|
2003-05-19 21:43:36 +02:00
|
|
|
.endif # defined(WITH_XS)
|
|
|
|
|
|
|
|
.if defined(WITH_XSGNOME)
|
2004-08-11 03:27:37 +02:00
|
|
|
RUN_DEPENDS+= kxsconfig:${PORTSDIR}/x11/xscreensaver-kde
|
2003-05-19 21:43:36 +02:00
|
|
|
.endif # defined(WITH_XSGNOME)
|
|
|
|
|
2004-08-11 03:27:37 +02:00
|
|
|
pre-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's|kxsconfig||g' ${WRKSRC}/kscreensaver/Makefile.in
|
|
|
|
|
|
|
|
post-configure:
|
|
|
|
@${REINPLACE_CMD} -e 's|.*XSCREENSAVER.*||g' ${WRKSRC}/config.h
|
|
|
|
|
2003-05-19 21:43:36 +02:00
|
|
|
.include <bsd.port.post.mk>
|