diff options
author | kwm <kwm@FreeBSD.org> | 2013-03-19 18:40:22 +0800 |
---|---|---|
committer | kwm <kwm@FreeBSD.org> | 2013-03-19 18:40:22 +0800 |
commit | 4f3e737e3339df65a7737d86948a5c8dacedae60 (patch) | |
tree | 7a5f4c1c91d14d9fcab2b30589db732cde4a3725 /x11/gnome2 | |
parent | 38d22f91997e71dd03618ec2d16c51e19e000cd9 (diff) | |
download | freebsd-ports-gnome-4f3e737e3339df65a7737d86948a5c8dacedae60.tar.gz freebsd-ports-gnome-4f3e737e3339df65a7737d86948a5c8dacedae60.tar.zst freebsd-ports-gnome-4f3e737e3339df65a7737d86948a5c8dacedae60.zip |
Convert almost all gnome@ ports to OptionsNG, trim header, use USES=pathfix
instead of gnomehack and pet portlint.
Add conflicts with future gnome3 versions.
Reviewed by: miwi, bapt
Diffstat (limited to 'x11/gnome2')
-rw-r--r-- | x11/gnome2/Makefile | 15 |
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 |