blob: 77ba914aa59ae001c90cc173a3e9d8b8655d31df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
# $FreeBSD$
PORTNAME= audiotag
PORTVERSION= 0.19
PORTREVISION= 1
CATEGORIES= audio multimedia
MASTER_SITES= GHC
MAINTAINER= ports@FreeBSD.org
COMMENT= A command-line tool for mass tagging/renaming of audio files
LICENSE= GPLv2
OPTIONS_DEFINE= VORBIS ID3 MP4 FLAC DOCS
OPTIONS_DEFAULT= VORBIS ID3 MP4 FLAC
NO_BUILD= yes
USES= shebangfix perl5
USE_BZIP2= yes
USE_PERL5= run
USE_GITHUB= yes
GH_ACCOUNT= Daenyth
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
SHEBANG_FILES= audiotag
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MVORBIS}
RUN_DEPENDS+= vorbiscomment:${PORTSDIR}/audio/vorbis-tools
.endif
.if ${PORT_OPTIONS:MFLAC}
RUN_DEPENDS+= flac:${PORTSDIR}/audio/flac
.endif
.if ${PORT_OPTIONS:MID3}
RUN_DEPENDS+= id3tag:${PORTSDIR}/audio/id3lib
.endif
.if ${PORT_OPTIONS:MMP4}
RUN_DEPENDS+= AtomicParsley:${PORTSDIR}/multimedia/atomicparsley
.endif
PORTDOCS= COPYING ChangeLog README
PLIST_FILES= bin/audiotag
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/audiotag ${PREFIX}/bin
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|