summaryrefslogtreecommitdiff
path: root/audio/mp3mover/Makefile
blob: 7cabc8fcd1d88e199ce68677c1cc088be2425962 (plain) (blame)
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
# ex:ts=8
# New ports collection makefile for:	mp3mover
# Date created:			Apr 18, 2001
# Whom:				Ying-Chieh Liao <ijliao@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mp3mover
PORTVERSION=	2.1.1
CATEGORIES=	audio perl5
MASTER_SITES=	SF/mediamover/${PORTNAME}/${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Rename mp3s and manipulate them

RUN_DEPENDS=	${SITE_PERL}/MP3/Tag.pm:${PORTSDIR}/audio/p5-tagged

USE_PERL5=	yes
NO_BUILD=	yes

PORTDOCS=	readme
PLIST_FILES=	bin/mp3mover \
		%%DATADIR%%/sample-.mp3moverrc \
		%%DATADIR%%/shellperfect-.mp3moverrc
PLIST_DIRS=	%%DATADIR%%

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/mp3mover.pl ${PREFIX}/bin/mp3mover
	@${MKDIR} ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/sample-.mp3moverrc ${DATADIR}
	${INSTALL_DATA} ${WRKSRC}/shellperfect-.mp3moverrc ${DATADIR}
.if !defined(NOPORTDOCS)
	@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
.endif

.include <bsd.port.mk>