1998-05-04 05:50:45 +02:00
|
|
|
# New ports collection makefile for: p5-PGP-Sign
|
1998-08-24 02:43:56 +02:00
|
|
|
# Date created: January 2, 1998
|
2000-05-21 13:52:06 +02:00
|
|
|
# Whom: Don Croyle <croyle@gelemna.org>
|
1998-05-04 05:50:45 +02:00
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1998-05-04 05:50:45 +02:00
|
|
|
#
|
|
|
|
|
2000-06-17 04:37:15 +02:00
|
|
|
PORTNAME= PGP-Sign
|
2000-04-21 10:19:33 +02:00
|
|
|
PORTVERSION= 0.16
|
1998-05-04 05:50:45 +02:00
|
|
|
CATEGORIES= security perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= PGP
|
2000-06-17 04:37:15 +02:00
|
|
|
PKGNAMEPREFIX= p5-
|
1998-05-04 05:50:45 +02:00
|
|
|
|
2000-05-21 13:52:06 +02:00
|
|
|
MAINTAINER= croyle@gelemna.org
|
1998-05-04 05:50:45 +02:00
|
|
|
|
2001-03-01 07:39:18 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2001-03-15 07:58:56 +01:00
|
|
|
CONFIGURE_ARGS= PGPS=${PGPS} PGPV=${PGPV} PGPSTYLE=${PGPSTYLE}
|
1998-05-04 05:50:45 +02:00
|
|
|
|
|
|
|
MAN3= PGP::Sign.3
|
1998-08-23 15:32:58 +02:00
|
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
1998-05-04 05:50:45 +02:00
|
|
|
|
2000-07-10 03:59:13 +02:00
|
|
|
# If DEFAULTPGP isn't defined, it gets set to PGP2. If you don't like
|
|
|
|
# the values that this process assigns to PGP (or PGPV and PGPS) and
|
|
|
|
# PGPSTYLE, they can be predefined.
|
|
|
|
#
|
|
|
|
# Currently useful values for DEFAULTPGP are:
|
|
|
|
# PGP2 - PGP 2.6.* or a reasonable facsimile thereof
|
|
|
|
# PGP5 - PGP 5 or a work-alike
|
|
|
|
# PGP6 - PGP 6.5 (effectively the same as PGP2)
|
|
|
|
# GPG - Gnu Privacy Guard
|
|
|
|
|
|
|
|
.ifndef DEFAULTPGP
|
|
|
|
DEFAULTPGP= PGP2
|
|
|
|
.endif
|
1999-04-19 06:00:35 +02:00
|
|
|
|
2000-07-10 03:59:13 +02:00
|
|
|
.if (${DEFAULTPGP} == PGP2 )
|
1999-04-19 06:00:35 +02:00
|
|
|
RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp
|
2000-07-10 03:59:13 +02:00
|
|
|
PGPSTYLE?= PGP2
|
1998-12-07 18:33:33 +01:00
|
|
|
.ifndef PGP
|
1999-04-19 06:00:35 +02:00
|
|
|
PGP!= which pgp || ${ECHO} ${PREFIX}/bin/pgp
|
|
|
|
.endif
|
2000-07-10 03:59:13 +02:00
|
|
|
.elif (${DEFAULTPGP} == PGP5 )
|
1999-04-19 06:00:35 +02:00
|
|
|
RUN_DEPENDS= pgps:${PORTSDIR}/security/pgp5
|
2000-07-10 03:59:13 +02:00
|
|
|
PGPSTYLE?= PGP5
|
1999-04-19 06:00:35 +02:00
|
|
|
.ifndef PGPS
|
|
|
|
PGPS!= which pgps || ${ECHO} ${PREFIX}/bin/pgps
|
|
|
|
.endif
|
|
|
|
.ifndef PGPV
|
|
|
|
PGPV!= which pgpv || ${ECHO} ${PREFIX}/bin/pgpv
|
|
|
|
.endif
|
2000-07-10 03:59:13 +02:00
|
|
|
.elif (${DEFAULTPGP} == PGP6)
|
|
|
|
RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp6
|
|
|
|
PGPSTYLE?= PGP6
|
|
|
|
.ifndef PGP
|
|
|
|
PGP!= which pgp || ${ECHO} ${PREFIX}/bin/pgp
|
1999-04-19 06:00:35 +02:00
|
|
|
.endif
|
2000-07-10 03:59:13 +02:00
|
|
|
.elif (${DEFAULTPGP} == GPG)
|
1999-04-19 06:00:35 +02:00
|
|
|
RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
|
2000-07-10 03:59:13 +02:00
|
|
|
PGPSTYLE?= GPG
|
1999-04-19 06:00:35 +02:00
|
|
|
.ifndef PGP
|
|
|
|
PGP!= which gpg || ${ECHO} ${PREFIX}/bin/gpg
|
|
|
|
.endif
|
2000-07-10 03:59:13 +02:00
|
|
|
.else
|
|
|
|
.error Unsupported DEFAULTPGP value. See the Makefile for a list of acceptable values.
|
1999-04-19 06:00:35 +02:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.ifdef PGP
|
2000-07-10 03:59:13 +02:00
|
|
|
PGPS?= ${PGP}
|
|
|
|
PGPV?= ${PGP}
|
1998-12-07 18:33:33 +01:00
|
|
|
.endif
|
2000-07-10 03:59:13 +02:00
|
|
|
|
1998-05-04 05:50:45 +02:00
|
|
|
.include <bsd.port.mk>
|