1998-05-04 03:50:45 +00:00
|
|
|
# New ports collection makefile for: p5-PGP-Sign
|
1998-08-24 00:43:56 +00:00
|
|
|
# Date created: January 2, 1998
|
2000-05-21 11:52:06 +00:00
|
|
|
# Whom: Don Croyle <croyle@gelemna.org>
|
1998-05-04 03:50:45 +00:00
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1998-05-04 03:50:45 +00:00
|
|
|
#
|
|
|
|
|
2000-06-17 02:37:15 +00:00
|
|
|
PORTNAME= PGP-Sign
|
2000-04-21 08:19:33 +00:00
|
|
|
PORTVERSION= 0.16
|
1998-05-04 03:50:45 +00:00
|
|
|
CATEGORIES= security perl5
|
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
|
|
|
MASTER_SITE_SUBDIR= PGP
|
2000-06-17 02:37:15 +00:00
|
|
|
PKGNAMEPREFIX= p5-
|
1998-05-04 03:50:45 +00:00
|
|
|
|
2000-05-21 11:52:06 +00:00
|
|
|
MAINTAINER= croyle@gelemna.org
|
1998-05-04 03:50:45 +00:00
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
|
|
|
|
MAN3= PGP::Sign.3
|
1998-08-23 13:32:58 +00:00
|
|
|
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
|
1998-05-04 03:50:45 +00:00
|
|
|
|
2000-07-10 01:59:13 +00: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 04:00:35 +00:00
|
|
|
|
2000-07-10 01:59:13 +00:00
|
|
|
.if (${DEFAULTPGP} == PGP2 )
|
1999-04-19 04:00:35 +00:00
|
|
|
RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp
|
2000-07-10 01:59:13 +00:00
|
|
|
PGPSTYLE?= PGP2
|
1998-12-07 17:33:33 +00:00
|
|
|
.ifndef PGP
|
1999-04-19 04:00:35 +00:00
|
|
|
PGP!= which pgp || ${ECHO} ${PREFIX}/bin/pgp
|
|
|
|
.endif
|
2000-07-10 01:59:13 +00:00
|
|
|
.elif (${DEFAULTPGP} == PGP5 )
|
1999-04-19 04:00:35 +00:00
|
|
|
RUN_DEPENDS= pgps:${PORTSDIR}/security/pgp5
|
2000-07-10 01:59:13 +00:00
|
|
|
PGPSTYLE?= PGP5
|
1999-04-19 04:00:35 +00:00
|
|
|
.ifndef PGPS
|
|
|
|
PGPS!= which pgps || ${ECHO} ${PREFIX}/bin/pgps
|
|
|
|
.endif
|
|
|
|
.ifndef PGPV
|
|
|
|
PGPV!= which pgpv || ${ECHO} ${PREFIX}/bin/pgpv
|
|
|
|
.endif
|
2000-07-10 01:59:13 +00:00
|
|
|
.elif (${DEFAULTPGP} == PGP6)
|
|
|
|
RUN_DEPENDS= pgp:${PORTSDIR}/security/pgp6
|
|
|
|
PGPSTYLE?= PGP6
|
|
|
|
.ifndef PGP
|
|
|
|
PGP!= which pgp || ${ECHO} ${PREFIX}/bin/pgp
|
1999-04-19 04:00:35 +00:00
|
|
|
.endif
|
2000-07-10 01:59:13 +00:00
|
|
|
.elif (${DEFAULTPGP} == GPG)
|
1999-04-19 04:00:35 +00:00
|
|
|
RUN_DEPENDS= gpg:${PORTSDIR}/security/gnupg
|
2000-07-10 01:59:13 +00:00
|
|
|
PGPSTYLE?= GPG
|
1999-04-19 04:00:35 +00:00
|
|
|
.ifndef PGP
|
|
|
|
PGP!= which gpg || ${ECHO} ${PREFIX}/bin/gpg
|
|
|
|
.endif
|
2000-07-10 01:59:13 +00:00
|
|
|
.else
|
|
|
|
.error Unsupported DEFAULTPGP value. See the Makefile for a list of acceptable values.
|
1999-04-19 04:00:35 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.ifdef PGP
|
2000-07-10 01:59:13 +00:00
|
|
|
PGPS?= ${PGP}
|
|
|
|
PGPV?= ${PGP}
|
1998-12-07 17:33:33 +00:00
|
|
|
.endif
|
2000-07-10 01:59:13 +00:00
|
|
|
|
1999-04-19 04:00:35 +00:00
|
|
|
CONFIG_ARGS= PGPS=${PGPS} PGPV=${PGPV} PGPSTYLE=${PGPSTYLE}
|
1998-12-07 17:33:33 +00:00
|
|
|
|
1998-05-04 03:50:45 +00:00
|
|
|
do-configure:
|
2000-06-17 02:37:15 +00:00
|
|
|
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL \
|
|
|
|
${CONFIG_ARGS}
|
1998-05-04 03:50:45 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|