freebsd-ports/security/p5-IO-Socket-SSL/Makefile
Sunpoet Po-Chuan Hsieh 15cf9c9813 - Update to 1.76
- Convert NOPORTEXAMPLES to new options framework
- Use shared IDN and IPV6 option descriptions
- Change IDN handler to p5-URI [1]
- Update IPV6 handler to p5-IO-Socket-IP and p5-Socket
- Costmetic change

[1] To handle IDN, IO::Socket::SSL searches for the following modules:
    p5-Net-IDN-Encode, p5-Net-LibIDN and p5-URI. Since p5-URI is much more
    widely used by other ports, I suggest to use p5-URI as IDN handler.

Changes:	http://search.cpan.org/dist/IO-Socket-SSL/Changes
PR:		ports/169451
Submitted by:	sunpoet (myself)
Approved by:	jadawin (maintainer, via IRC)
2012-06-28 02:52:18 +00:00

49 lines
1.1 KiB
Makefile

# New ports collection makefile for: p5-IO-Socket-SSL
# Date created: October 27th 2000
# Whom: Marc G. Fournier <scrappy@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= IO-Socket-SSL
PORTVERSION= 1.76
CATEGORIES= security perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:SULLR
PKGNAMEPREFIX= p5-
MAINTAINER= jadawin@FreeBSD.org
COMMENT= Perl5 interface to SSL sockets
BUILD_DEPENDS= p5-Net-SSLeay>=1.21:${PORTSDIR}/security/p5-Net-SSLeay
RUN_DEPENDS:= ${BUILD_DEPENDS}
OPTIONS_DEFINE= EXAMPLES IDN IPV6
PERL_CONFIGURE= yes
INSTALL_TARGET= pure_install
MAN3= IO::Socket::SSL.3
PORTEXAMPLES= *
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MIDN}
RUN_DEPENDS+= p5-URI>=1.50:${PORTSDIR}/net/p5-URI
.endif
.if ${PORT_OPTIONS:MIPV6}
RUN_DEPENDS+= p5-IO-Socket-IP>=0.11:${PORTSDIR}/net/p5-IO-Socket-IP \
p5-Socket>=1.95:${PORTSDIR}/net/p5-Socket
.endif
post-install:
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/example/* ${EXAMPLESDIR}/
.endif
regression-test: build
cd ${WRKSRC}/ && ${MAKE} test
.include <bsd.port.mk>