aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3mover/Makefile
blob: b0ce7d3b1fd94cbc90a8a3b13ba621fd217470fa (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=    p5-tagged>=0:${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>