1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00
freebsd-ports/security/p5-PGP/Makefile
Piotr Kubaj 86fddfbe60 security/p5-PGP: unbreak on powerpc64
Builds fine on powerpc64

Approved by:	mentors (implicit approval)
2019-05-12 10:44:50 +00:00

32 lines
653 B
Makefile

# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$
PORTNAME= PGP
PORTVERSION= 0.3a
PORTREVISION= 2
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= bofh@FreeBSD.org
COMMENT= Perl5 module to work with PGP messages
RUN_DEPENDS= pgpin:security/pgpin
PORTSCOUT= skipv:1.0
ONLY_FOR_ARCHS= amd64 i386 powerpc64 sparc64
USES= perl5
USE_PERL5= configure
post-patch:
@${REINPLACE_CMD} -e 's|WriteMakefile;|WriteMakefile( 'NAME' => "PGP::Pipe" );|' \
${WRKSRC}/Makefile.PL
@${REINPLACE_CMD} -e '/^=over 4/d' ${WRKSRC}/PGP/Pipe.pm
pre-configure:
@${CP} ${WRKSRC}/PGP/Pipe.pm ${WRKSRC}
.include <bsd.port.mk>