aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3mover/Makefile
blob: 9d19d2c0fe82378f916aa8e0178124559125bd3a (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
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
# $FreeBSD$

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

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

RUN_DEPENDS=    p5-tagged>=0:${PORTSDIR}/audio/p5-tagged

USES=       perl5 shebangfix
SHEBANG_FILES=  mp3mover.pl
NO_BUILD=   yes

PLIST_FILES=    bin/mp3mover
PORTDOCS=   *
PORTDATA=   *

OPTIONS_DEFINE= DOCS

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/mp3mover.pl ${STAGEDIR}${PREFIX}/bin/mp3mover
    @${MKDIR} ${STAGEDIR}${DATADIR}
    ${INSTALL_DATA} ${WRKSRC}/sample-.mp3moverrc ${STAGEDIR}${DATADIR}/
    ${INSTALL_DATA} ${WRKSRC}/shellperfect-.mp3moverrc ${STAGEDIR}${DATADIR}/
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}/

.include <bsd.port.mk>