Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2017 15:57:58 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448250 - head/audio/shntool
Message-ID:  <201708181557.v7IFvwZH002748@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Aug 18 15:57:58 2017
New Revision: 448250
URL: https://svnweb.freebsd.org/changeset/ports/448250

Log:
  Convert to options dependency helper
  
  - While I'm here, fix ALAC_RUN_DEPENDS
  
  Approved by:	portmgr (blanket)

Modified:
  head/audio/shntool/Makefile

Modified: head/audio/shntool/Makefile
==============================================================================
--- head/audio/shntool/Makefile	Fri Aug 18 15:57:53 2017	(r448249)
+++ head/audio/shntool/Makefile	Fri Aug 18 15:57:58 2017	(r448250)
@@ -26,20 +26,16 @@ LPAC_DESC=	LPAC audio format support
 OFR_DESC=	OptimFROG audio format support
 SHN_DESC=	Shorten audio compressor support
 
-RDEP_MAPPING=	AIFF:sox ALAC:alac APE:mac FLAC KXS:kexis \
-		LA:laudio:linux-laudio LPAC OFR:ofr:optimfrog \
-		SHN:shorten TTA:ttaenc:tta WAVPACK
-
-.include <bsd.port.options.mk>
-
-.for o in ${PORT_OPTIONS}
-m=	${RDEP_MAPPING:M${o}*}
-.if ${m}
-b=	${m:C/^[A-Z]*://:C/:.*//:tl}
-p=	${m:C/^[A-Z]*://:C/.*://:tl}
-RUN_DEPENDS+=	${b}:audio/${p}
-RUN_DEPENDS:=	${RUN_DEPENDS}
-.endif
-.endfor
+AIFF_RUN_DEPENDS=	sox:audio/sox
+ALAC_RUN_DEPENDS=	alacconvert:audio/alac
+APE_RUN_DEPENDS=	mac:audio/mac
+FLAC_RUN_DEPENDS=	flac:audio/flac
+KXS_RUN_DEPENDS=	kexis:audio/kexis
+LA_RUN_DEPENDS=		laudio:audio/linux-laudio
+LPAC_RUN_DEPENDS=	lpac:audio/lpac
+OFR_RUN_DEPENDS=	ofr:audio/optimfrog
+SHN_RUN_DEPENDS=	shorten:audio/shorten
+TTA_RUN_DEPENDS=	ttaenc:audio/tta
+WAVPACK_RUN_DEPENDS=	wavpack:audio/wavpack
 
 .include <bsd.port.mk>



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