# Created by: Don Croyle <croyle@gelemna.org>
# $FreeBSD: tags/RELEASE_10_1_0/security/p5-PGP-Sign/Makefile 352798 2014-05-02 09:42:24Z sunpoet $

PORTNAME=	PGP-Sign
PORTVERSION=	0.20
PORTREVISION=	2
CATEGORIES=	security perl5
MASTER_SITES=	CPAN
PKGNAMEPREFIX=	p5-

MAINTAINER=	5u623l20@gmail.com
COMMENT=	Create detached PGP signatures for data

LICENSE=	ART10 GPLv1
LICENSE_COMB=	dual

USES=		perl5
USE_PERL5=	configure
CONFIGURE_ARGS=	PGP=${PGP} PGPSTYLE=${PGPSTYLE}

# Currently useful values for DEFAULTPGP are:
# PGP2 - PGP 2.6.* or a reasonable facsimile thereof
# GPG  - Gnu Privacy Guard

OPTIONS_SINGLE=	DEFAULTPGP
OPTIONS_SINGLE_DEFAULTPGP=	GNUPG PGP2
OPTIONS_DEFAULT=	GNUPG
PGP2_DESC=	PGP2 support
GNUPG_BUILD_DEPENDS=	gpg:${PORTSDIR}/security/gnupg
GNUPG_CONFIGURE_ON=	PGP=${LOCALBASE}/bin/gpg PGPSTYLE=GPG
GNUPG_RUN_DEPENDS=	gpg:${PORTSDIR}/security/gnupg
PGP2_BUILD_DEPENDS=	pgp:${PORTSDIR}/security/pgp
PGP2_CONFIGURE_ON=	PGP=${LOCALBASE}/bin/pgp PGPSTYLE=PGP2
PGP2_RUN_DEPENDS=	pgp:${PORTSDIR}/security/pgp

.include <bsd.port.mk>
