aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-10-28 06:41:48 +0000
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-10-28 06:41:48 +0000
commit4f906f249ab3ed8b4e0738e0de60e90b515b62b4 (patch)
tree264f763d927ffd710f5ddc3a9142cfef8c13e657 /audio
parent286feca7c608e1009789ba6e66e8ad04461d0368 (diff)
downloadports-4f906f249ab3ed8b4e0738e0de60e90b515b62b4.tar.gz
ports-4f906f249ab3ed8b4e0738e0de60e90b515b62b4.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/lmms/Makefile32
1 files changed, 13 insertions, 19 deletions
diff --git a/audio/lmms/Makefile b/audio/lmms/Makefile
index cff7d158aea9..d9e7acc69ae9 100644
--- a/audio/lmms/Makefile
+++ b/audio/lmms/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: lmms
-# Date created: 04 Dec 2006
-# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org>
-#
+# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= lmms
PORTVERSION= 0.4.13
@@ -13,16 +9,16 @@ CATEGORIES= audio
MASTER_SITES= SF
MAINTAINER= rodrigo@bebik.net
-COMMENT= An all-in-one sequencer, drum machine, sampler, and more
+COMMENT= All-in-one sequencer, drum machine, sampler, and more
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 @@ RUN_DEPENDS= ${LOCALBASE}/share/ladspa/rdf/caps.rdf:${PORTSDIR}/audio/caps-plugi
${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 @@ USE_DOS2UNIX= plugins/midi_import/portsmf/allegrowr.cpp plugins/midi_import/port
.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