summaryrefslogtreecommitdiffstats
path: root/x11/gnome2
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-26 07:58:48 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-09-26 07:58:48 +0800
commit77cace5ae4baa4302e942c2070c691d729998f70 (patch)
treed6497cca5ccf5eb7cec49a9e2dcc9da4e88a34c5 /x11/gnome2
parent03cc77bb9c84803933760cc204aac69930bf18bf (diff)
downloadmarcuscom-ports-77cace5ae4baa4302e942c2070c691d729998f70.tar
marcuscom-ports-77cace5ae4baa4302e942c2070c691d729998f70.tar.gz
marcuscom-ports-77cace5ae4baa4302e942c2070c691d729998f70.tar.bz2
marcuscom-ports-77cace5ae4baa4302e942c2070c691d729998f70.tar.lz
marcuscom-ports-77cace5ae4baa4302e942c2070c691d729998f70.tar.xz
marcuscom-ports-77cace5ae4baa4302e942c2070c691d729998f70.tar.zst
marcuscom-ports-77cace5ae4baa4302e942c2070c691d729998f70.zip
Add support for OPTIONS, and allow the screensaver preference to be either
xscreensaver-gnome (default) or gnome-screensaver. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4868 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11/gnome2')
-rw-r--r--x11/gnome2/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/x11/gnome2/Makefile b/x11/gnome2/Makefile
index e5648230f..23a092c1c 100644
--- a/x11/gnome2/Makefile
+++ b/x11/gnome2/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/x11/gnome2/Makefile,v 1.119 2005/08/26 03:21:23 marcus Exp $
+# $MCom: ports/x11/gnome2/Makefile,v 1.120 2005/09/07 18:40:26 marcus Exp $
#
PORTNAME= gnome2
@@ -31,7 +31,6 @@ RUN_DEPENDS?= ${X11BASE}/libexec/gweather-applet-2:${PORTSDIR}/x11/gnomeapplets2
nautilus:${PORTSDIR}/x11-fm/nautilus2 \
yelp:${PORTSDIR}/x11/yelp \
${X11BASE}/sbin/gdm:${PORTSDIR}/x11/gdm \
- ${X11BASE}/share/gnome/applications/gnome-screensaver-properties.desktop:${PORTSDIR}/x11/xscreensaver-gnome \
${X11BASE}/share/gnome/help/user-guide/C/user-guide.xml:${PORTSDIR}/misc/gnomeuserdocs2 \
${X11BASE}/share/gnome/sounds/question.wav:${PORTSDIR}/audio/gnomeaudio2 \
${X11BASE}/libdata/pkgconfig/libgail-gnome.pc:${PORTSDIR}/x11-toolkits/libgail-gnome \
@@ -73,6 +72,10 @@ pre-configure:
@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
.endif
+.if !defined(GNOME_SLAVE) || ${.CURDIR:T}=="gnome2-lite"
+OPTIONS= GNOME_SCREENSAVER "Use gnome-screensaver as screensaver app" off
+.endif
+
do-install: # empty
.include <bsd.port.pre.mk>
@@ -83,4 +86,12 @@ RUN_DEPENDS+= epiphany:${PORTSDIR}/www/epiphany
.endif
.endif
+.if ${.CURDIR}==${MASTERDIR} || ${.CURDIR:T}=="gnome2-lite"
+.if !defined(WITH_GNOME_SCREENSAVER)
+RUN_DEPENDS+= ${X11BASE}/share/gnome/applications/gnome-screensaver-properties.desktop:${PORTSDIR}/x11/xscreensaver-gnome
+.else
+RUN_DEPENDS+= gnome-screensaver:${PORTSDIR}/x11/gnome-screensaver
+.endif
+.endif
+
.include <bsd.port.post.mk>