summaryrefslogtreecommitdiffstats
path: root/sysutils/titlefix/Makefile
blob: 8f20494bf528d235dfb6404a7b845b0b25b341b3 (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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=	titlefix
PORTVERSION=	0.5.3
CATEGORIES=	sysutils
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Renames files in a proper English title format

RUN_DEPENDS=	id3v2:${PORTSDIR}/audio/id3v2

USES=		perl5
USE_PERL5=	run
NO_BUILD=	yes
MAN1=		titlefix.1 titlefixid3.1 titleid3.1
PLIST_FILES=	bin/titlefix bin/titlefixid3 bin/titleid3

NO_STAGE=	yes
do-install:
	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/
	@${LN} -sf ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/titlefixid3
	@${LN} -sf ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/titleid3
	@${INSTALL_MAN} ${MAN1:S,^,${WRKSRC}/man1/,} ${MAN1PREFIX}/man/man1/
.include <bsd.port.mk>
OpenPOWER on IntegriCloud