ports/173814: [PATCH] audio/lmms optionsng

Chris Petrik c.petrik.sosa at gmail.com
Wed Nov 21 23:10:01 UTC 2012


>Number:         173814
>Category:       ports
>Synopsis:       [PATCH] audio/lmms 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 23:10:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chris Petrik
>Release:        
>Organization:
na
>Environment:
>Description:
Options NG Changes
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

Index: lmms/Makefile
===================================================================
--- lmms/Makefile	(revision 305743)
+++ lmms/Makefile	(working copy)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	lmms
-# Date created:				04 Dec 2006
-# Whom:					Jean-Yves Lefort <jylefort at FreeBSD.org>
-#
+# Created by:	Jean-Yves Lefort <jylefort at FreeBSD.org>
 # $FreeBSD$
-#
 
 PORTNAME=	lmms
 PORTVERSION=	0.4.13
@@ -18,11 +14,11 @@
 LICENSE=	GPLv2
 
 BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
-LIB_DEPENDS=	FLAC.10:${PORTSDIR}/audio/flac \
-		fluidsynth.1:${PORTSDIR}/audio/fluidsynth \
-		samplerate.1:${PORTSDIR}/audio/libsamplerate \
-		sndfile.1:${PORTSDIR}/audio/libsndfile \
-		vorbis.4:${PORTSDIR}/audio/libvorbis \
+LIB_DEPENDS=	FLAC:${PORTSDIR}/audio/flac \
+		fluidsynth:${PORTSDIR}/audio/fluidsynth \
+		samplerate:${PORTSDIR}/audio/libsamplerate \
+		sndfile:${PORTSDIR}/audio/libsndfile \
+		vorbis:${PORTSDIR}/audio/libvorbis \
 		fftw3:${PORTSDIR}/math/fftw3 \
 		fftw3f:${PORTSDIR}/math/fftw3-float
 RUN_DEPENDS=	${LOCALBASE}/share/ladspa/rdf/caps.rdf:${PORTSDIR}/audio/caps-plugins \
@@ -31,9 +27,7 @@
 		${LOCALBASE}/share/ladspa/rdf/tap-plugins.rdf:${PORTSDIR}/audio/tap-plugins \
 		update-mime-database:${PORTSDIR}/misc/shared-mime-info
 
-OPTIONS=	JACK       "Enable JACK support"       OFF \
-		PULSEAUDIO "Enable PulseAudio support" OFF \
-		SDL        "Enable SDL support"        OFF
+OPTIONS_DEFINE=	JACK PULSEAUDIO SDL
 
 USE_LDCONFIG=	yes
 USE_PKGCONFIG=	build
@@ -60,19 +54,19 @@
 
 .include <bsd.port.options.mk>
 
-.if defined(WITH_JACK)
-LIB_DEPENDS+=	jack.0:${PORTSDIR}/audio/jack
+.if ${PORT_OPTIONS:MJACK}
+LIB_DEPENDS+=	jack:${PORTSDIR}/audio/jack
 .else
 CMAKE_ARGS+=	-DWANT_JACK:BOOL=OFF
 .endif
 
-.if defined(WITH_PULSEAUDIO)
-LIB_DEPENDS+=	pulse.0:${PORTSDIR}/audio/pulseaudio
+.if ${PORT_OPTIONS:MPULSEAUDIO}
+LIB_DEPENDS+=	pulse:${PORTSDIR}/audio/pulseaudio
 .else
 CMAKE_ARGS+=	-DWANT_PULSEAUDIO:BOOL=OFF
 .endif
 
-.if defined(WITH_SDL)
+.if ${PORT_OPTIONS:MSDL}
 USE_SDL=	sdl
 .else
 CMAKE_ARGS+=	-DWANT_SDL:BOOL=OFF


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


More information about the freebsd-ports-bugs mailing list