freebsd-ports/net/p5-URI/Makefile

43 lines
862 B
Makefile
Raw Normal View History

1999-04-07 22:56:04 +02:00
# New ports collection makefile for: p5-URI
1999-04-12 10:24:16 +02:00
# Date created: 1999/04/07
# Whom: ache
1999-04-07 22:56:04 +02:00
#
1999-08-30 16:24:37 +02:00
# $FreeBSD$
1999-04-07 22:56:04 +02:00
#
PORTNAME= URI
PORTVERSION= 1.35
CATEGORIES= net perl5
1999-04-07 22:56:04 +02:00
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= URI
PKGNAMEPREFIX= p5-
1999-04-07 22:56:04 +02:00
2003-06-12 18:41:16 +02:00
MAINTAINER= erwin@FreeBSD.org
2003-02-21 14:28:59 +01:00
COMMENT= Perl5 interface to Uniform Resource Identifier (URI) references
1999-04-07 22:56:04 +02:00
PERL_CONFIGURE= yes
MAN3= URI.3 \
URI::Escape.3 \
URI::Heuristic.3 \
URI::QueryParam.3 \
URI::Split.3 \
URI::URL.3 \
URI::WithBase.3 \
URI::data.3 \
URI::file.3 \
URI::ldap.3
1999-04-07 22:56:04 +02:00
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500800
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/MIME/Base64.pm:${PORTSDIR}/converters/p5-MIME-Base64
RUN_DEPENDS= ${BUILD_DEPENDS}
.endif
post-patch:
${PERL} -pi -e 's/^our\s+([\$$\@\%]\w+)/use vars qw($$1);/' \
${WRKSRC}/URI/urn.pm
.include <bsd.port.post.mk>