Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2015 13:01:00 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r378652 - head/audio/atunes
Message-ID:  <201502081301.t18D106m054735@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Feb  8 13:00:59 2015
New Revision: 378652
URL: https://svnweb.freebsd.org/changeset/ports/378652
QAT: https://qat.redports.org/buildarchive/r378652/

Log:
  Use options helpers

Modified:
  head/audio/atunes/Makefile

Modified: head/audio/atunes/Makefile
==============================================================================
--- head/audio/atunes/Makefile	Sun Feb  8 13:00:12 2015	(r378651)
+++ head/audio/atunes/Makefile	Sun Feb  8 13:00:59 2015	(r378652)
@@ -34,31 +34,12 @@ LAME_DESC=		Encoder: Enable lame MP3 enc
 VORBIS_DESC=		Encoder: Enable vorbis OGG encoder
 FLAC_DESC=		Encoder: Enable FLAC encoder
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMPLAYER}
-RUN_DEPENDS+=	mplayer:${PORTSDIR}/multimedia/mplayer
-.endif
-
-.if ${PORT_OPTIONS:MXINE}
-LIB_DEPENDS+=	libxine.so:${PORTSDIR}/multimedia/libxine
-.endif
-
-.if ${PORT_OPTIONS:MCDDA2WAV}
-RUN_DEPENDS+=	cdda2wav:${PORTSDIR}/sysutils/cdrtools
-.endif
-
-.if ${PORT_OPTIONS:MLAME}
-RUN_DEPENDS+=	lame:${PORTSDIR}/audio/lame
-.endif
-
-.if ${PORT_OPTIONS:MVORBIS}
-RUN_DEPENDS+=	ogg123:${PORTSDIR}/audio/vorbis-tools
-.endif
-
-.if ${PORT_OPTIONS:MFLAC}
-RUN_DEPENDS+=	flac:${PORTSDIR}/audio/flac
-.endif
+MPLAYER_RUN_DEPENDS=	mplayer:${PORTSDIR}/multimedia/mplayer
+XINE_LIB_DEPENDS=	libxine.so:${PORTSDIR}/multimedia/libxine
+CDDA2WAV_RUN_DEPENDS=	cdda2wav:${PORTSDIR}/sysutils/cdrtools
+LAME_RUN_DEPENDS=	lame:${PORTSDIR}/audio/lame
+VORBIS_RUN_DEPENDS=	ogg123:${PORTSDIR}/audio/vorbis-tools
+FLAC_RUN_DEPENDS=	flac:${PORTSDIR}/audio/flac
 
 DESKTOP_ENTRIES="aTunes" \
 		"Audio player and manager" \



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