Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 22:46:00 GMT
From:      Chris Petrik <c.petrik.sosa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173806: [PATCH] accessibility/kdeaccessibility4 optionsng
Message-ID:  <201211212246.qALMk00Y011133@red.freebsd.org>
Resent-Message-ID: <201211212250.qALMo0rN042576@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         173806
>Category:       ports
>Synopsis:       [PATCH] accessibility/kdeaccessibility4 optionsng
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 21 22:50:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
OptionsNG changes
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: kdeaccessibility4/Makefile
===================================================================
--- kdeaccessibility4/Makefile	(revision 305485)
+++ kdeaccessibility4/Makefile	(working copy)
@@ -1,7 +1,4 @@
-# New ports collection Makefile for:	kdeaccessibility
-# Date created:				2008-01-31
-# Whom:					Martin Wilke <miwi@FreeBSD.org>
-#
+# Created by: Martin Wilke <miwi@FreeBSD.org>
 # $FreeBSD$
 
 PORTNAME=	kdeaccessibility
@@ -18,31 +15,34 @@
 
 LATEST_LINK=	${PORTNAME}4
 
-OPTIONS=	JOVIE "Install Jovie text-to-speech system" on \
-		KACCESSIBLE "Install Accessibility services for KDE" on \
-		KMAG "Install Screen magnifier" on \
-		KMOUSETOOL "Install Automatic mouse click tool" on \
-		KMOUTH "Install Speech synthesizer frontend" on
+OPTIONS_DEFINE=	JOVIE KACCESSIBLE KMAG KMOUSETOOL KMOUTH
+OPTIONS_DEFAULT=	JOVIE KACCESSIBLE KMAG KMOUSETOOL KMOUTH
 
+JOVIE_DESC=	Install Jovie text-to-speech system
+KACCESSIBLE_DESC=	Install Accessibility services for KDE
+KMAG_DESC=	Install Screen magnifier
+KMOUSETOOL_DESC=	Install Automatic mouse click tool
+KMOUTH_DESC=	Install Speech synthesizer frontend
+
 .include <bsd.port.options.mk>
 
-.ifndef(WITHOUT_JOVIE)
+.if ${PORT_OPTIONS:MJOVIE}
 RUN_DEPENDS+=	${KDE4_PREFIX}/bin/jovie:${PORTSDIR}/accessibility/jovie
 .endif
 
-.ifndef(WITHOUT_KACCESSIBLE)
+.if ${PORT_OPTIONS:MKACCESSIBLE}
 RUN_DEPENDS+=	${KDE4_PREFIX}/lib/kde4/libexec/kaccessibleapp:${PORTSDIR}/accessibility/kaccessible
 .endif
 
-.ifndef(WITHOUT_KMAG)
+.if ${PORT_OPTIONS:MKMAG}
 RUN_DEPENDS+=	${KDE4_PREFIX}/bin/kmag:${PORTSDIR}/accessibility/kmag
 .endif
 
-.ifndef(WITHOUT_KMOUSETOOL)
+.if ${PORT_OPTIONS:MKMOUSETOOL}
 RUN_DEPENDS+=	${KDE4_PREFIX}/bin/kmousetool:${PORTSDIR}/accessibility/kmousetool
 .endif
 
-.ifndef(WITHOUT_KMOUTH)
+.if ${PORT_OPTIONS:MKMOUTH}
 RUN_DEPENDS+=	${KDE4_PREFIX}/bin/kmouth:${PORTSDIR}/accessibility/kmouth
 .endif


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211212246.qALMk00Y011133>