blob: 6f7f9ba54cecc96f3fa15c90004b0cbb48acaf52 (
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
|
# Created by: squell@alumina.nl
PORTNAME= id3mtag
PORTVERSION= 0.80
CATEGORIES= audio
MASTER_SITES= https://github.com/squell/id3/releases/download/${PORTVERSION}/
DISTNAME= id3-${PORTVERSION}
MAINTAINER= squell@alumina.nl
COMMENT= Mass tagging utility for audio files
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
MAKEFILE= makefile
ALL_TARGET= build
PLIST_FILES= bin/id3 man/man1/id3.1.gz
PORTDOCS= README CHANGES
OPTIONS_DEFINE= DOCS BASH
BASH_DESC= Support for bash auto-completion
BASH_PLIST_FILES= share/bash-completion/completions/id3
USES= iconv
CFLAGS+= -I${ICONV_INCLUDE_PATH}
LDFLAGS+= -L${ICONV_PREFIX}/lib ${ICONV_LIB}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/id3 ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/id3.man ${STAGEDIR}${MANPREFIX}/man/man1/id3.1
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
post-install-BASH-on:
${MKDIR} ${STAGEDIR}${PREFIX}/share/bash-completion/completions
${INSTALL_DATA} ${WRKSRC}/bash/complete ${STAGEDIR}${PREFIX}/${BASH_PLIST_FILES}
.include <bsd.port.mk>
|