svn commit: r378652 - head/audio/atunes

Baptiste Daroussin bapt at FreeBSD.org
Sun Feb 8 13:01:00 UTC 2015


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" \


More information about the svn-ports-all mailing list