freebsd-ports/x11-themes/kdeartwork3/Makefile
Jeremy Messenger 789d75c728 -Repocopy devel/libtool15 -> libtool22 and libltdl15 -> libltdl22.
-Update libtool and libltdl to 2.2.6a.
-Remove devel/libtool15 and devel/libltdl15.
-Fix ports build with libtool22/libltdl22.
-Bump ports that depend on libltdl22 due to shared library version change.
-Explain what to do update in the UPDATING.

It has been tested with GNOME2, XFCE4, KDE3, KDE4 and other many wm/desktop
and applications in the runtime.

With help:	marcus and kwm
Pointyhat-exp:	a few times by pav
Tested by:	pgollucci, "Romain Tartière" <romain@blogreen.org>, and
		a few MarcusCom CVS users. Also, I might have missed a few.
Repocopy by:	marcus
Approved by:	portmgr
2009-08-02 19:36:34 +00:00

58 lines
1.5 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}
PORTREVISION= 2
CATEGORIES= x11-themes kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Additional themes, sounds, wallpapers and window styles for KDE
CONFLICTS= phase-[0-9]* kde-windeco-smoothblend-[0.9]*
USE_KDEBASE_VER=3
PREFIX= ${KDE_PREFIX}
USE_GL= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:22
USE_LDCONFIG= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/bin/xscreensaver)
WITH_XS= yes
.endif # exists(${LOCALBASE}/bin/xscreensaver)
.if exists(${LOCALBASE}/share/gnome/control-center-2.0/capplets/screensaver-properties.desktop)
WITH_XSGNOME= yes
.endif # exists(${LOCALBASE}/bin/screensaver-properties-capplet)
.if defined(WITH_XS) && !defined(WITH_XSGNOME)
RUN_DEPENDS+= kxsconfig:${PORTSDIR}/x11/xscreensaver-kde
.endif # defined(WITH_XS)
.if defined(WITH_XSGNOME)
RUN_DEPENDS+= kxsconfig:${PORTSDIR}/x11/xscreensaver-kde
.endif # defined(WITH_XSGNOME)
pre-configure:
@${REINPLACE_CMD} -e 's|kxsconfig||g' ${WRKSRC}/kscreensaver/Makefile.in
post-configure:
@${REINPLACE_CMD} -e 's|.*XSCREENSAVER.*||g' ${WRKSRC}/config.h
.include <bsd.port.post.mk>