aboutsummaryrefslogtreecommitdiffstats
path: root/audio/mp3riot/Makefile
blob: 4793f5ff7e5165bb47cae835ae0666b67bdcb886 (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
39
40
# New ports collection makefile for:    mp3riot
# Date created:         29 July 2003
# Whom:             Francisco Gomez <francisco@gomezmarin.com>
#
# $FreeBSD$
#

PORTNAME=   mp3riot
PORTVERSION=    1.3
CATEGORIES= audio
MASTER_SITES=   http://www.linuxsecure.de/f2html/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Mp3riot creates mp3 playlists, HTML files, etc

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

NO_BUILD=   yes
USE_ZIP=    yes
NO_WRKSUBDIR=   yes

PORTDOCS=   example.unix groupfile CHANGELOG MANUAL mp3table.sql README repl.dat TODO utf.dat
PLIST_FILES=    bin/mp3riot

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
RUN_DEPENDS+=   ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long
.endif

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/mp3riot ${PREFIX}/bin
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for item in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${item} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.post.mk>