summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-09-08 15:02:39 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-09-08 15:02:39 +0000
commitd7c74f4312562058877538ae0469edb8eab6eb38 (patch)
treea42d474a0804ef8812cc977ee64ff3063f7c5128 /audio
parent- Update to 1.2.6 (diff)
- Update to 3.0.4
- Add options
Notes
Notes: svn path=/head/; revision=199115
Diffstat (limited to 'audio')
-rw-r--r--audio/shntool/Makefile32
-rw-r--r--audio/shntool/distinfo6
-rw-r--r--audio/shntool/pkg-descr6
3 files changed, 35 insertions, 9 deletions
diff --git a/audio/shntool/Makefile b/audio/shntool/Makefile
index 807a805110f8..89e360aab925 100644
--- a/audio/shntool/Makefile
+++ b/audio/shntool/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= shntool
-PORTVERSION= 3.0.3
+PORTVERSION= 3.0.4
CATEGORIES= audio
MASTER_SITES= http://www.etree.org/shnutils/shntool/dist/src/ CENKES
@@ -18,4 +18,32 @@ SHN_ALIASES= tool len fix hash pad join split cat cmp cue conv info strip gen tr
PLIST_FILES= ${SHN_ALIASES:S|^|bin/shn|}
MAN1= shntool.1
-.include <bsd.port.mk>
+OPTIONS= AIFF "AIFF support via sox" off \
+ SHN "Shorten support" off \
+ FLAC "FLAC support" off \
+ APE "Monkey's Audio support" off \
+ OFR "OptimFROG support" off \
+ LPAC "LPAC support" off \
+ WV "WavPack support" off \
+ ALAC "Apple Lossless Audio support" off \
+ LA "Laudio support" off \
+ TTA "TTA Lossless Audio support" off \
+ BONK "Bonk lossy/lossless audio support" off \
+ KXS "Kexis support" off
+# ALS "MPEG-4 Audio Lossless Coding support" off \
+RDEP= AIFF:sox SHN:shorten FLAC APE:mac OFR:ofr:optimfrog LPAC WV:wavpack \
+ ALAC:alac LA:laudio TTA:ttaenc:tta ALS:mp4als BONK KXS:kexis
+
+.include <bsd.port.pre.mk>
+
+.for i in ${RDEP}
+o= ${i:C/:.*//}
+. ifdef WITH_${o}
+b= ${i:C/^[A-Z]*://:C/:.*//:L}
+p= ${i:C/^[A-Z]*://:C/.*://:L}
+RUN_DEPENDS+= ${b}:${PORTSDIR}/audio/${p}
+RUN_DEPENDS:= ${RUN_DEPENDS}
+. endif
+.endfor
+
+.include <bsd.port.post.mk>
diff --git a/audio/shntool/distinfo b/audio/shntool/distinfo
index e0906f75657d..6ef668c7903e 100644
--- a/audio/shntool/distinfo
+++ b/audio/shntool/distinfo
@@ -1,3 +1,3 @@
-MD5 (shntool-3.0.3.tar.gz) = 821549d8e7753609b83942cba8236041
-SHA256 (shntool-3.0.3.tar.gz) = f4c097246c6f120a732c16a03be11156b8f481f84f4ae9a588782297052a3b06
-SIZE (shntool-3.0.3.tar.gz) = 207719
+MD5 (shntool-3.0.4.tar.gz) = ce56f9931cad14a6649f20c57689af8d
+SHA256 (shntool-3.0.4.tar.gz) = 4fad4eef336f967749d01e94c709def18944495f617ca1f670df7bf7f75b90bf
+SIZE (shntool-3.0.4.tar.gz) = 208189
diff --git a/audio/shntool/pkg-descr b/audio/shntool/pkg-descr
index c33dd63df2c2..1e7e98b239d3 100644
--- a/audio/shntool/pkg-descr
+++ b/audio/shntool/pkg-descr
@@ -3,10 +3,8 @@ File formats are abstracted from its core, so it can process any file
that contains WAVE data, compressed or not - provided there exists a
format module to handle that particular file type.
-shntool has native support for .wav files. If you want it to work with
-other formats, you must have the appropriate helper program installed.
-The "Helper programs" section below contains links to helper programs
-for each format that shntool supports.
+Apart from wav shntool supports many formats through helper programs.
+Please see the manpage for more info.
WWW: http://www.etree.org/shnutils/shntool/
Author: Jason Jordan <shnutils at freeshell dot org>