1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- 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
This commit is contained in:
Alexey Dokuchaev 2015-03-31 08:45:12 +00:00
parent 70cfeab21c
commit e090fe83fc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=382802
2 changed files with 19 additions and 18 deletions

View File

@ -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}

View File

@ -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/