1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/security/p5-OpenCA-PKCS7/Makefile

32 lines
712 B
Makefile

# New ports collection makefile for: OpenCA-PKCS7
# Date created: 02 June 2002
# Whom: Sergey Skvortsov <skv@protey.ru>
#
# $FreeBSD$
#
PORTNAME= OpenCA-PKCS7
PORTVERSION= 0.9.13
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= OpenCA
PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= Perl extension for basic handling PKCS#7 Signatures
BUILD_DEPENDS= ${SITE_PERL}/X500/DN.pm:${PORTSDIR}/net/p5-X500-DN
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
.include <bsd.port.pre.mk>
post-patch:
.if ${PERL_LEVEL} < 500600
@${PERL} -pi -e 's!^our \((.*?)(?=\);)!join("","use vars qw(",split(/,/,$$1))!e' \
${WRKSRC}/*.pm
.endif
.include <bsd.port.post.mk>