Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2015 08:45:13 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382802 - head/audio/shntool
Message-ID:  <201503310845.t2V8jDTg059588@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Tue Mar 31 08:45:12 2015
New Revision: 382802
URL: https://svnweb.freebsd.org/changeset/ports/382802
QAT: https://qat.redports.org/buildarchive/r382802/

Log:
  - Sort some multi-value knobs for better readability and maintainability:
    SHN_ALIASES, OPTIONS_DEFINE, and option descriptions
  - Rename WV option to our standard (shared) WAVPACK and thus remove its
    description (along with ALAC_DESC which was recently added in r382796)
  - Drop BONK codec from OPTIONS (port removed in r361893 as being obsolete,
    however, its homepage is still up: http://www.logarithmic.net/pfh/bonk)
  - Rename RDEP to RDEP_MAPPING which reflects its purpose and lowers the
    chances of possible name-clash (due to RDEP being a common contraction)
  - Fix LA:laudio:linux-laudio mapping (before, it won't be able to find
    the binary, rebuilding the port over package, eventually failing the
    "make install" check)
  - Improve on the COMMENT, option descriptions, and port description text

Modified:
  head/audio/shntool/Makefile
  head/audio/shntool/pkg-descr

Modified: head/audio/shntool/Makefile
==============================================================================
--- head/audio/shntool/Makefile	Tue Mar 31 08:08:49 2015	(r382801)
+++ head/audio/shntool/Makefile	Tue Mar 31 08:45:12 2015	(r382802)
@@ -7,31 +7,32 @@ CATEGORIES=	audio
 MASTER_SITES=	http://www.etree.org/shnutils/shntool/dist/src/
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	Multi-purpose .wav processing utility
+COMMENT=	Multi-purpose WAVE data processing and reporting utility
 
 GNU_CONFIGURE=	yes
-SHN_ALIASES=	tool len fix hash pad join split cat cmp cue conv info strip gen trim
+SHN_ALIASES=	cat cmp conv cue fix gen hash info join len pad split \
+		strip tool trim
+
 PLIST_FILES=	${SHN_ALIASES:S|^|bin/shn|} \
 		man/man1/shntool.1.gz
 
-OPTIONS_DEFINE=	AIFF SHN FLAC APE OFR LPAC WV ALAC LA TTA BONK KXS
-AIFF_DESC=	AIFF support via sox
-SHN_DESC=	Shorten support
-OFR_DESC=	OptimFROG support
-LPAC_DESC=	LPAC support
-WV_DESC=	WavPack support
-ALAC_DESC=	Apple Lossless Audio support
-LA_DESC=	Laudio support
-BONK_DESC=	Bonk lossy/lossless audio support
-KXS_DESC=	Kexis support
+OPTIONS_DEFINE=	AIFF ALAC APE FLAC KXS LA LPAC OFR SHN TTA WAVPACK
 
-RDEP=	AIFF:sox SHN:shorten FLAC APE:mac OFR:ofr:optimfrog LPAC WV:wavpack \
-	ALAC:alac LA:linux-laudio TTA:ttaenc:tta BONK KXS:kexis
+AIFF_DESC=	AIFF audio format support (via SoX)
+KXS_DESC=	Kexis audio format support
+LA_DESC=	Laudio audio format support
+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:M${o}*}
+m=	${RDEP_MAPPING:M${o}*}
 .if ${m}
 b=	${m:C/^[A-Z]*://:C/:.*//:tl}
 p=	${m:C/^[A-Z]*://:C/.*://:tl}

Modified: head/audio/shntool/pkg-descr
==============================================================================
--- head/audio/shntool/pkg-descr	Tue Mar 31 08:08:49 2015	(r382801)
+++ head/audio/shntool/pkg-descr	Tue Mar 31 08:45:12 2015	(r382802)
@@ -1,9 +1,9 @@
 shntool is a multi-purpose WAVE data processing and reporting utility.
 File formats are abstracted from its core, so it can process any file
-that contains WAVE data, compressed or not - provided there exists a
+that contains WAVE data, compressed or not -- provided there exists a
 format module to handle that particular file type.
 
-Apart from wav shntool supports many formats through helper programs.
-Please see the manpage for more info.
+Apart from .wav shntool supports many formats through helper programs.
+Please see the manual page for more information.
 
 WWW: http://www.etree.org/shnutils/shntool/



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