blob: 6fc7c50ec96ab445dcfd68648696df9062b805db (
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-DAAP-Client-Auth
# Date created: 27 June 2004
# Whom: Lars Thegler <lth@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= Net-DAAP-Client-Auth
PORTVERSION= 0.13
CATEGORIES= audio perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Net
PKGNAMEPREFIX= p5-
MAINTAINER= lth@FreeBSD.org
COMMENT= Extend Net::DAAP::Client to do iTunes authorisation
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Digest/MD5.pm:${PORTSDIR}/security/p5-Digest-MD5 \
${SITE_PERL}/${PERL_ARCH}/Digest/MD5/M4p.pm:${PORTSDIR}/security/p5-Digest-MD5-M4p \
${SITE_PERL}/Net/DAAP/Client.pm:${PORTSDIR}/audio/p5-dapple
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_MODBUILD= yes
MAN3= Net::DAAP::Client::Auth.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500601
post-patch:
${PERL} -pi -e '$$_ = "" if /5.006/' \
${WRKSRC}/Build.PL
${PERL} -pi -e 's/^our ([^\s;]+)/use vars qw($$1); $$1/;' \
-e '$$_ = "" if /use warnings/' \
`${FIND} ${WRKSRC}/lib/Net/DAAP/Client -name \*.pm`
.endif
.include <bsd.port.post.mk>
|