blob: b679ca1d09658272774ccc0c3940ab2d48dec47d (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# New ports collection makefile for: p5-PGP-Sign
# Version required: 0.16
# Date created: January 2, 1998
# Whom: Don Croyle <croyle@gelemna.ft-wayne.in.us>
#
# $FreeBSD$
#
DISTNAME= PGP-Sign-0.16
PKGNAME= p5-PGP-Sign-0.16
CATEGORIES= security perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= PGP
MAINTAINER= croyle@gelemna.ft-wayne.in.us
USE_PERL5= yes
MAN3= PGP::Sign.3
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
# You can either define one of these on the command line or accept the
# default (USE_PGP2). You can also predefine the values for PGP (or
# PGPS and PGPV) and PGPSTYLE if you don't like what this makefile
# would assign.
# USE_PGP2 - use PGP 2.6.* or a reasonable facsimile thereof
# USE_PGP5 - use PGP 5 or a work-alike
# USE_GPG - use Gnu Privacy Guard
.if !defined(USE_PGP5) && !defined(USE_GPG)
USE_PGP2?= yes
RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp
.ifndef PGP
PGP!= which pgp || ${ECHO} ${PREFIX}/bin/pgp
.endif
PGPSTYLE?= PGP2
.else
.ifdef USE_PGP5
RUN_DEPENDS= pgps:${PORTSDIR}/security/pgp5
.ifndef PGPS
PGPS!= which pgps || ${ECHO} ${PREFIX}/bin/pgps
.endif
.ifndef PGPV
PGPV!= which pgpv || ${ECHO} ${PREFIX}/bin/pgpv
.endif
PGPSTYLE?= PGP5
.endif
.ifdef USE_GPG
RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
.ifndef PGP
PGP!= which gpg || ${ECHO} ${PREFIX}/bin/gpg
.endif
PGPSTYLE?= GPG
.endif
.endif
.ifdef PGP
PGPS= ${PGP}
PGPV= ${PGP}
.endif
CONFIG_ARGS= PGPS=${PGPS} PGPV=${PGPV} PGPSTYLE=${PGPSTYLE}
do-configure:
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${CONFIG_ARGS}
.include <bsd.port.mk>
|