From owner-svn-ports-all@freebsd.org Fri Aug 18 15:57:59 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C9B72DE9C0F; Fri, 18 Aug 2017 15:57:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94AF769DAA; Fri, 18 Aug 2017 15:57:59 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7IFvwmu002749; Fri, 18 Aug 2017 15:57:58 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7IFvwZH002748; Fri, 18 Aug 2017 15:57:58 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201708181557.v7IFvwZH002748@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Fri, 18 Aug 2017 15:57:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r448250 - head/audio/shntool X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/audio/shntool X-SVN-Commit-Revision: 448250 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Aug 2017 15:57:59 -0000 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 - -.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