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
|
|
|
|
# Whom: Don Croyle <croyle@gelemna.ft-wayne.in.us>
|
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-04-09 18:34:06 +00:00
|
|
|
PORTNAME= p5-PGP-Sign
|
|
|
|
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-04-09 18:34:06 +00:00
|
|
|
DISTNAME= PGP-Sign-0.16
|
1998-05-04 03:50:45 +00:00
|
|
|
|
|
|
|
MAINTAINER= croyle@gelemna.ft-wayne.in.us
|
|
|
|
|
|
|
|
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
|
|
|
|
1999-04-19 04:00:35 +00:00
|
|
|
# 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
|
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
|
|
|
|
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}
|
1998-12-07 17:33:33 +00:00
|
|
|
.endif
|
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:
|
1999-04-19 04:00:35 +00:00
|
|
|
@ cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL ${CONFIG_ARGS}
|
1998-05-04 03:50:45 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|