aboutsummaryrefslogtreecommitdiffstats
path: root/security/p5-Module-Signature/Makefile
blob: d1b9bce76e1cd63482d82d33bb000069819e8c15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Created by: Autrijus Tang <autrijus@autrijus.org>
# $FreeBSD$

PORTNAME=   Module-Signature
PORTVERSION=    0.73
CATEGORIES= security perl5
MASTER_SITES=   CPAN
PKGNAMEPREFIX=  p5-

MAINTAINER= perl@FreeBSD.org
COMMENT=    Module signature file manipulation

BUILD_DEPENDS=  p5-IPC-Run>=0:${PORTSDIR}/devel/p5-IPC-Run \
        p5-PAR-Dist>=0:${PORTSDIR}/devel/p5-PAR-Dist
RUN_DEPENDS:=   ${BUILD_DEPENDS}

CONFIGURE_ENV=  PERL_MM_USE_DEFAULT="yes"
PERL_CONFIGURE= yes

MAN1=       cpansign.1
MAN3=       Module::Signature.3

OPTIONS_DEFAULT=    GPG2
OPTIONS_MULTI=  GPG
OPTIONS_MULTI_GPG=  GPG1 GPG2
GPG1_DESC=  Use GnuPG version 1
GPG2_DESC=  Use GnuPG version 2

.include <bsd.port.pre.mk>

.if ${PORT_OPTIONS:MGPG1}
BUILD_DEPENDS+= ${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1
RUN_DEPENDS+=   ${LOCALBASE}/bin/gpgv:${PORTSDIR}/security/gnupg1
.endif

.if ${PORT_OPTIONS:MGPG2}
BUILD_DEPENDS+= ${LOCALBASE}/bin/gpgv2:${PORTSDIR}/security/gnupg
RUN_DEPENDS+=   ${LOCALBASE}/bin/gpgv2:${PORTSDIR}/security/gnupg
.endif

.include <bsd.port.post.mk>