aboutsummaryrefslogtreecommitdiff
path: root/x11/gnome2
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-03-19 10:40:22 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-03-19 10:40:22 +0000
commit2a3357182d8cb640f374f8c60b71b6c99ec43843 (patch)
tree7a5f4c1c91d14d9fcab2b30589db732cde4a3725 /x11/gnome2
parent92fdeef4740a0893f904a81b5150a5e3f5604b10 (diff)
Notes
Diffstat (limited to 'x11/gnome2')
-rw-r--r--x11/gnome2/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/x11/gnome2/Makefile b/x11/gnome2/Makefile
index b20b190355eb..00da270ff0ec 100644
--- a/x11/gnome2/Makefile
+++ b/x11/gnome2/Makefile
@@ -1,10 +1,6 @@
-# New ports collection makefile for: gnome2
-# Date created: 21 May 2002
-# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
-#
+# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
# $MCom: ports/x11/gnome2/Makefile,v 1.300 2010/11/18 01:37:46 kwm Exp $
-#
PORTNAME= gnome2
PORTVERSION= 2.32.1
@@ -67,8 +63,9 @@ USE_PYTHON= yes
.endif
.if !defined(GNOME_SLAVE) || ${.CURDIR:T}=="gnome2-lite"
-OPTIONS= XSCREENSAVER "Use xscreensaver as screen saver app" off \
- MAPI "Depend on evolution-mapi (pulls in samba4)" off
+OPTIONS_DEFINE= XSCHEENSAVER
+XSCREENSAVER_DESC= Use xscreensaver as screen saver app
+# MAPI "Depend on evolution-mapi (pulls in samba4)
.endif
do-install: # empty
@@ -101,14 +98,14 @@ RUN_DEPENDS+= cheese:${PORTSDIR}/multimedia/cheese
.if ${ARCH} == "i386"
#RUN_DEPENDS+= tomboy:${PORTSDIR}/deskutils/tomboy
.endif
-.if defined(WITH_MAPI)
+.if ${PORT_OPTIONS:MMAPI}
RUN_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/libexchangemapi-1.0.pc:${PORTSDIR}/mail/evolution-mapi
.endif
.endif
.endif
.if ${.CURDIR}==${MASTERDIR} || ${.CURDIR:T}=="gnome2-lite"
-.if defined(WITH_XSCREENSAVER)
+.if ${PORT_OPTIONS:MXSCREENSAVER}
RUN_DEPENDS+= ${LOCALBASE}/share/applications/xscreensaver-properties.desktop:${PORTSDIR}/x11/xscreensaver-gnome
.else
RUN_DEPENDS+= gnome-screensaver:${PORTSDIR}/x11/gnome-screensaver