ports/173779: [PATCH] audio/asunder optionsng
Chris Petrik
c.petrik.sosa at gmail.com
Wed Nov 21 22:00:24 UTC 2012
>Number: 173779
>Category: ports
>Synopsis: [PATCH] audio/asunder optionsng
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Wed Nov 21 22:00:01 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: asunder/Makefile
===================================================================
--- asunder/Makefile (revision 305743)
+++ asunder/Makefile (working copy)
@@ -1,7 +1,4 @@
-# New ports collection makefile for: asunder
-# Date created: 14 September 2007
-# Whom: frase at frase.id.au
-#
+# Created by: frase at frase.id.au
# $FreeBSD$
PORTNAME= asunder
@@ -16,38 +13,37 @@
LIB_DEPENDS= cddb.4:${PORTSDIR}/audio/libcddb
RUN_DEPENDS= ${LOCALBASE}/bin/cdparanoia:${PORTSDIR}/audio/cdparanoia
-OPTIONS= LAME "lame support" on \
- OGG "ogg-vorbis support" on \
- FLAC "FLAC support" on \
- WAVPACK "WavPack support" off \
- MONKEYAUDIO "Monkey's Audio support" off \
- WINDOWS_CHARS "Allow Windows special chars in filenames" off
+OPTIONS_DEFINE= LAME OGG FLAC WAVPACK MONKEYAUDIO WINDOWS_CHARS
+OPTIONS_DEFAULT= LAME OGG FLAC
+MONKEYAUDIO_DESC= Monkey's Audio support
+WINDOWS_CHARS_DESC= Allow Windows special chars in filenames
+
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GNOME= gtk20
PORTDOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README TODO
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
-.if defined(WITH_LAME)
+.if ${PORT_OPTIONS:MLAME}
RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
.endif
-.if defined(WITH_OGG)
+.if ${PORT_OPTIONS:MOGG}
RUN_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools
.endif
-.if defined(WITH_FLAC)
+.if ${PORT_OPTIONS:MFLAC}
RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
.endif
-.if defined(WITH_WAVPACK)
+.if ${PORT_OPTIONS:MWAVPACK}
RUN_DEPENDS+= wavpack:${PORTSDIR}/audio/wavpack
.endif
-.if defined(WITH_MONKEYAUDIO)
+.if ${PORT_OPTIONS:MMONKEYAUDIO}
RUN_DEPENDS+= mac:${PORTSDIR}/audio/mac
.endif
@@ -62,4 +58,4 @@
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list