aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-URI-Title/Makefile
blob: 7839264d5624adae6419b38e020cb701bad44cd0 (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
# New ports collection makefile for:    www/p5-URI-Title
# Date created:             20 June 2008
# Whom:                 Anton Berezin <tobez@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   URI-Title
PORTVERSION=    1.85
CATEGORIES= www perl5
MASTER_SITES=   CPAN
MASTER_SITE_SUBDIR= URI
PKGNAMEPREFIX=  p5-

MAINTAINER= tobez@FreeBSD.org
COMMENT=    Get the titles of things on the web in a sensible way

COMMON_DEPENDS= p5-File-Type>=0.22:${PORTSDIR}/devel/p5-File-Type \
        p5-HTML-Parser>=3.45:${PORTSDIR}/www/p5-HTML-Parser \
        p5-Image-Size>0:${PORTSDIR}/graphics/p5-Image-Size \
        p5-MP3-Info>0:${PORTSDIR}/audio/p5-MP3-Info \
        p5-libwww>0:${PORTSDIR}/www/p5-libwww
BUILD_DEPENDS=  ${COMMON_DEPENDS}
RUN_DEPENDS=    ${COMMON_DEPENDS}

PERL_CONFIGURE= yes

MAN3=   URI::Title.3

.include <bsd.port.pre.mk>

.if ${PERL_LEVEL} < 500905
RUN_DEPENDS+=   p5-Module-Pluggable>=1.2:${PORTSDIR}/devel/p5-Module-Pluggable
.endif

.include <bsd.port.post.mk>