freebsd-ports/security/p5-PGP/Makefile
Sunpoet Po-Chuan Hsieh 55fc03a35d - Use ONLY_FOR_ARCHS
- Mark BROKEN on amd64
- Use REINPLACE_CMD instead of patch files
- Add PORTSCOUT
- Pass maintainership to submitter

PR:		ports/185856
Submitted by:	Muhammad Moinur Rahman <5u623l20@gmail.com>
2014-02-04 11:41:33 +00:00

31 lines
699 B
Makefile

# Created by: James FitzGibbon <jfitz@FreeBSD.org>
# $FreeBSD$
PORTNAME= PGP
PORTVERSION= 0.3a
CATEGORIES= security perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= 5u623l20@gmail.com
COMMENT= Perl5 module to work with PGP messages
BUILD_DEPENDS= pgp:${PORTSDIR}/security/pgp
PORTSCOUT= skipv:1.0
ONLY_FOR_ARCHS= i386 alpha amd64 sparc64
BROKEN_amd64= dependency broken on amd64 architechture
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>