summaryrefslogtreecommitdiff
path: root/audio/atunes
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2015-02-08 13:00:59 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2015-02-08 13:00:59 +0000
commitcf6fc45e41248dfda1207b6cb05d72d890bd26b8 (patch)
tree2221b4abe85903bdbbbad17ec4b01d8ca96f6ba5 /audio/atunes
parentUse options helpers (diff)
Use options helpers
Notes
Notes: svn path=/head/; revision=378652
Diffstat (limited to 'audio/atunes')
-rw-r--r--audio/atunes/Makefile31
1 files changed, 6 insertions, 25 deletions
diff --git a/audio/atunes/Makefile b/audio/atunes/Makefile
index f97a487c2630..a2fe59d1c58b 100644
--- a/audio/atunes/Makefile
+++ b/audio/atunes/Makefile
@@ -34,31 +34,12 @@ LAME_DESC= Encoder: Enable lame MP3 encoder
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" \