freebsd-ports/x11/xscreensaver-kde/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

60 lines
1.7 KiB
Makefile

# New ports collection makefile for: xscreensaver-kde
# Date created: July 08 2004
# Whom: Michael Nottebrock <lofi@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= xscreensaver-kde
PORTVERSION= ${KDE_VERSION}
PORTREVISION= 3
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
PKGNAMEPREFIX= kdeartwork-
DISTNAME= kdeartwork-${PORTVERSION}
DIST_SUBDIR= KDE
MAINTAINER= kde@FreeBSD.org
COMMENT= Support for xscreensaver blankers in KDE
CONFLICTS= kdeartwork-3.1.* kdeartwork-3.2.[0-3]
USE_KDELIBS_VER=3
PREFIX= ${KDE_PREFIX}
USE_BZIP2= yes
USE_AUTOTOOLS= libtool:22
USE_GMAKE= yes
WRKSRC= ${WRKDIR}/kdeartwork-${PORTVERSION}
USE_LDCONFIG= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
.if exists(${LOCALBASE}/share/applications/xscreensaver-properties.desktop)
WITH_XSGNOME= yes
.elif exists(${LOCALBASE}/bin/screensaver)
WITH_XSGNOME= yes
.else
WITH_XS= yes
.endif
.if defined(WITH_XS) && !defined(WITH_XSGNOME)
BUILD_DEPENDS+= xscreensaver:${PORTSDIR}/x11/xscreensaver
RUN_DEPENDS+= xscreensaver:${PORTSDIR}/x11/xscreensaver
.endif # defined(WITH_XS)
.if defined(WITH_XSGNOME)
BUILD_DEPENDS+= ${LOCALBASE}/share/applications/xscreensaver-properties.desktop:${PORTSDIR}/x11/xscreensaver-gnome
RUN_DEPENDS+= ${LOCALBASE}/share/applications/xscreensaver-properties.desktop:${PORTSDIR}/x11/xscreensaver-gnome
.endif # defined(WITH_XSGNOME)
pre-configure:
@${ECHO_CMD} "kscreensaver" > ${WRKSRC}/inst-apps
@${REINPLACE_CMD} -e 's|kdesavers||g' -e 's|kpartsaver||g' -e 's|xsavers||g' \
${WRKSRC}/kscreensaver/Makefile.in
.include <bsd.port.post.mk>