aboutsummaryrefslogtreecommitdiffstats
path: root/net/p5-URI/Makefile
blob: 0379f873cfb31bd90eaff7c63483b67496d9dba7 (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:    p5-URI
# Date created:             1999/04/07
# Whom:                 ache
#
# $FreeBSD$
#

PORTNAME=   URI
PORTVERSION=    1.22
CATEGORIES= net perl5
MASTER_SITES=   ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= URI
PKGNAMEPREFIX=  p5-

MAINTAINER= erwin@lansing.dk

BUILD_DEPENDS=  ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64

PERL_CONFIGURE= yes

MANPREFIX=  ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3=       URI.3 \
        URI::Escape.3 \
        URI::Heuristic.3 \
        URI::QueryParam.3 \
        URI::URL.3 \
        URI::WithBase.3 \
        URI::data.3 \
        URI::file.3 \
        URI::ldap.3

post-patch:
    ${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);/' \
        ${WRKSRC}/URI/urn.pm

.include <bsd.port.mk>