freebsd-ports/security/p5-POE-Component-SSLify/Makefile
Sergey Skvortsov 70b5ead61d Fix build on perl < 5.6
PR:		ports/87315
Submitted by:	lth
2005-10-12 11:41:16 +00:00

34 lines
901 B
Makefile

# New ports collection makefile for: POE-Component-SSLify
# Date created: 05 November 2004
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= POE-Component-SSLify
PORTVERSION= 0.04
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= ../../authors/id/A/AP/APOCAL
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Integrate SSL into POE
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Net/SSLeay.pm:${PORTSDIR}/security/p5-Net-SSLeay
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MAN3= POE::Component::SSLify.3 \
POE::Component::SSLify::ClientHandle.3 \
POE::Component::SSLify::ServerHandle.3
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
post-patch:
@${PERL} -pi -e 's/^our (%\w+)/use vars qw($$1); $$1/;' \
-e '$$_ = "" if /use warnings/;' \
$$(${FIND} ${WRKSRC} -name '*.pm')
.endif
.include <bsd.port.post.mk>