ports/116451: [patch] audio/asunder: make options available, set dependencies
volker@vwsoft.com
Volker.Werth at FreeBSD.org
Tue Sep 18 23:00:07 UTC 2007
>Number: 116451
>Category: ports
>Synopsis: [patch] audio/asunder: make options available, set dependencies
>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: Tue Sep 18 23:00:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: volker at vwsoft.com
>Release:
>Organization:
>Environment:
>Description:
audio/asunder requires lame, vorbis-tools and/or flac for encoding
1) include these ports as dependencies
2) set them as OPTIONS
patch attached
>How-To-Repeat:
>Fix:
--- Makefile.orig 2007-09-18 23:49:28.000000000 +0200
+++ Makefile 2007-09-19 00:46:15.000000000 +0200
@@ -6,6 +6,7 @@
PORTNAME= asunder
PORTVERSION= 0.8.1
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://littlesvr.ca/asunder/releases/
@@ -15,8 +16,26 @@
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
+
GNU_CONFIGURE= yes
USE_XLIB= yes
USE_GNOME= gtk20
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_LAME)
+RUN_DEPENDS+= lame:${PORTSDIR}/audio/lame
+.endif
+
+.if defined(WITH_OGG)
+RUN_DEPENDS+= oggenc:${PORTSDIR}/audio/vorbis-tools
+.endif
+
+.if defined(WITH_FLAC)
+RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
+.endif
+
.include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list