aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xscreensaver-kde
diff options
context:
space:
mode:
authorlofi <lofi@FreeBSD.org>2007-03-15 22:53:01 +0800
committerlofi <lofi@FreeBSD.org>2007-03-15 22:53:01 +0800
commit3f094bd5546cc278accd26acb7685e7947039f2c (patch)
treea3076727fa2c868333ae9c4342db23b58149a95f /x11/xscreensaver-kde
parentdbb2365c357698f2a48c53eca271e11f1c9c0dc3 (diff)
downloadfreebsd-ports-gnome-3f094bd5546cc278accd26acb7685e7947039f2c.tar.gz
freebsd-ports-gnome-3f094bd5546cc278accd26acb7685e7947039f2c.tar.zst
freebsd-ports-gnome-3f094bd5546cc278accd26acb7685e7947039f2c.zip
Look for xscreensaver executables in the correct prefix.
PR: ports/110330 Submitted by: girgen
Diffstat (limited to 'x11/xscreensaver-kde')
-rw-r--r--x11/xscreensaver-kde/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/x11/xscreensaver-kde/Makefile b/x11/xscreensaver-kde/Makefile
index 4debbdac6d5c..b659e92bda4b 100644
--- a/x11/xscreensaver-kde/Makefile
+++ b/x11/xscreensaver-kde/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xscreensaver-kde
PORTVERSION= ${KDE_VERSION}
+PORTREVISION= 1
CATEGORIES= x11 kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
@@ -33,9 +34,9 @@ LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>
-.if exists(${X11BASE}/share/gnome/applications/gnome-screensaver-properties.desktop)
+.if exists(${LOCALBASE}/share/gnome/applications/gnome-screensaver-properties.desktop)
WITH_XSGNOME= yes
-.elif exists(${X11BASE}/bin/screensaver)
+.elif exists(${LOCALBASE}/bin/screensaver)
WITH_XSGNOME= yes
.else
WITH_XS= yes
@@ -47,8 +48,8 @@ RUN_DEPENDS+= xscreensaver:${PORTSDIR}/x11/xscreensaver
.endif # defined(WITH_XS)
.if defined(WITH_XSGNOME)
-BUILD_DEPENDS+= ${X11BASE}/share/gnome/applications/gnome-screensaver-properties.desktop:${PORTSDIR}/x11/xscreensaver-gnome
-RUN_DEPENDS+= ${X11BASE}/share/gnome/applications/gnome-screensaver-properties.desktop:${PORTSDIR}/x11/xscreensaver-gnome
+BUILD_DEPENDS+= ${LOCALBASE}/share/gnome/applications/gnome-screensaver-properties.desktop:${PORTSDIR}/x11/xscreensaver-gnome
+RUN_DEPENDS+= ${LOCALBASE}/share/gnome/applications/gnome-screensaver-properties.desktop:${PORTSDIR}/x11/xscreensaver-gnome
.endif # defined(WITH_XSGNOME)
pre-configure: