aboutsummaryrefslogtreecommitdiffstats
path: root/audio/p5-Net-FreeDB/Makefile
blob: 0113f2f97059a780c67d95d0be9c08610c2ad264 (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-Net-FreeDB
# Date created:             September 29th, 2005
# Whom:                     Peter Pentchev <roam@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   Net-FreeDB
PORTVERSION=    0.06
PORTREVISION=   2
CATEGORIES= audio perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX=  p5-

PATCH_SITES=    ${MASTER_SITE_LOCAL} \
        http://people.FreeBSD.org/~roam/ports/patches/net/
PATCH_SITE_SUBDIR=  roam/net
PATCHFILES= Net-FreeDB-0.06-FreeBSD-2.patch

MAINTAINER= roam@FreeBSD.org
COMMENT=    Get the CDID of an audio CD and query the FreeDB servers

BUILD_DEPENDS=  ${SITE_PERL}/CDDB/File.pm:${PORTSDIR}/audio/p5-CDDB-File \
        ${SITE_PERL}/Net/Cmd.pm:${PORTSDIR}/net/p5-Net
RUN_DEPENDS=    ${BUILD_DEPENDS}

PERL_CONFIGURE= yes

MAN3=       Net::FreeDB.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500600
EXTRA_PATCHES+= ${FILESDIR}/perl-5005.patch
.endif

.include <bsd.port.post.mk>