mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
4a4ec28d37
Since FreeBSD 8.4 and FreeBSD 9.1 make(1) do support :tu and :tl as a replacement for :U and :L (which has been marked as deprecated) bmake which is the default on FreeBSD 10+ only support by default :tu/:tl a hack has been added at the time to support :U and :L to ease migration. This hack is now not necessary anymore Note that this makes the ports tree incompatible with make(1) from FreeBSD 8.3 or earlier With hat: portmgr
45 lines
1.2 KiB
Makefile
45 lines
1.2 KiB
Makefile
# Created by: Bill Fenner <fenner@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= shntool
|
|
PORTVERSION= 3.0.10
|
|
CATEGORIES= audio
|
|
MASTER_SITES= http://www.etree.org/shnutils/shntool/dist/src/
|
|
|
|
MAINTAINER= miwi@FreeBSD.org
|
|
COMMENT= Multi-purpose .wav processing utility
|
|
|
|
GNU_CONFIGURE= yes
|
|
SHN_ALIASES= tool len fix hash pad join split cat cmp cue conv info strip gen 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
|
|
TTA_DESC= TTA Lossless Audio support
|
|
BONK_DESC= Bonk lossy/lossless audio support
|
|
KXS_DESC= Kexis support
|
|
|
|
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
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.for o in ${PORT_OPTIONS}
|
|
m= ${RDEP:M${o}*}
|
|
.if ${m}
|
|
b= ${m:C/^[A-Z]*://:C/:.*//:tl}
|
|
p= ${m:C/^[A-Z]*://:C/.*://:tl}
|
|
RUN_DEPENDS+= ${b}:${PORTSDIR}/audio/${p}
|
|
RUN_DEPENDS:= ${RUN_DEPENDS}
|
|
.endif
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|