Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Nov 2012 22:24:22 GMT
From:      Chris Petrik <c.petrik.sosa@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/173802: [PATCH] audio/goobox optionsng
Message-ID:  <201211212224.qALMOMv7078465@red.freebsd.org>
Resent-Message-ID: <201211212230.qALMU2wq041137@freefall.freebsd.org>

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

>Number:         173802
>Category:       ports
>Synopsis:       [PATCH] audio/goobox 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:30:02 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: goobox/Makefile
===================================================================
--- goobox/Makefile     (revision 305743)
+++ goobox/Makefile     (working copy)
@@ -1,10 +1,5 @@
-# New ports collection makefile for:   guikachu
-# Date created:                11 Nov 2004
-# Whom:                        Alexander Nedotsukov <bland@FreeBSD.org>
-#
+# Created by: Alexander Nedotsukov <bland@FreeBSD.org>
 # $FreeBSD$
-#   $MCom: ports/audio/goobox/Makefile,v 1.25 2007/08/15 03:03:09 mezz Exp $
-#

 PORTNAME=      goobox
 PORTVERSION=   2.2.0
@@ -17,10 +12,10 @@
 COMMENT=       CD player and ripper for GNOME Desktop environment

 BUILD_DEPENDS= ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme
-LIB_DEPENDS=   discid.0:${PORTSDIR}/audio/libdiscid \
-               musicbrainz3.6:${PORTSDIR}/audio/libmusicbrainz3 \
-               brasero-media.3:${PORTSDIR}/sysutils/brasero \
-               unique-1.0.2:${PORTSDIR}/x11-toolkits/unique
+LIB_DEPENDS=   discid:${PORTSDIR}/audio/libdiscid \
+               musicbrainz3:${PORTSDIR}/audio/libmusicbrainz3 \
+               brasero-media:${PORTSDIR}/sysutils/brasero \
+               unique-1:${PORTSDIR}/x11-toolkits/unique
 RUN_DEPENDS=   ${LOCALBASE}/share/icons/gnome/index.theme:${PORTSDIR}/misc/gnome-icon-theme

 USE_XORG=      x11
@@ -37,12 +32,13 @@

 GCONF_SCHEMAS= goobox.schemas

-OPTIONS=       NOTIFY "Enable libnotify support" on
+OPTIONS_DEFINE=        NOTIFY
+OPTIONS_DEFAULT=       NOTIFY

-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>

-.if !defined(WITHOUT_NOTIFY)
-LIB_DEPENDS+=          notify.4:${PORTSDIR}/devel/libnotify
+.if ${PORT_OPTIONS:MNOTIFY}
+LIB_DEPENDS+=          notify:${PORTSDIR}/devel/libnotify
 CONFIGURE_ARGS+=       --enable-notification
 .else
 CONFIGURE_ARGS+=       --disable-notification
@@ -51,4 +47,4 @@
 post-install:
        @-update-desktop-database

-.include <bsd.port.post.mk>
+.include <bsd.port.mk>

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



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