aboutsummaryrefslogtreecommitdiffstats
path: root/audio/p5-MusicBrainz-TRM/Makefile
blob: cc7fab9dcdf878a8ec24e16693dbe1257e00dd9c (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
# New ports collection makefile for:    p5-MusicBrainz-TRM
# Date created:     23 March 2003
# Whom:         Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   MusicBrainz-TRM
PORTVERSION=    0.01
CATEGORIES= audio perl5
MASTER_SITES=   # none
PKGNAMEPREFIX=  p5-
DISTFILES=  # none

MAINTAINER= knu@freebsd.org
COMMENT=    A Perl module that provides access to the musicbrainz client TRM API

EXTRACT_DEPENDS=    ${NONEXISTENT}:${LIBMUSICBRAINZ_PORTDIR}:patch
LIB_DEPENDS=    musicbrainz.2:${LIBMUSICBRAINZ_PORTDIR}

LIBMUSICBRAINZ_PORTDIR= ${PORTSDIR}/audio/libmusicbrainz

PERL_CONFIGURE= yes

MAN3=       MusicBrainz::TRM.3
MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500601
IGNORE=     Port requires perl 5.6.1 or later. Install lang/perl5 then try again
.endif

do-extract:
    ${MKDIR} ${WRKDIR}
    ${LN} -fs `cd ${LIBMUSICBRAINZ_PORTDIR}; ${MAKE} -V WRKSRC`/perl/TRM ${WRKSRC}

.include <bsd.port.post.mk>