openbsd-ports/security/p5-PGP-Sign/Makefile
2001-04-17 06:37:33 +00:00

39 lines
924 B
Makefile

# $OpenBSD: Makefile,v 1.3 2001/04/17 06:37:35 shell Exp $
COMMENT= "perl module to create/verify PGP signatures"
DISTNAME= PGP-Sign-0.16
PKGNAME= p5-${DISTNAME}
CATEGORIES= security perl5
NEED_VERSION= 1.364
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= PGP
MAINTAINER= Shell Hung <shell@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FLAVORS= pgp pgp5
FLAVOR?=
.if ${FLAVOR:L:Mpgp}
RUN_DEPENDS= pgp::security/pgp
CONFIGURE_ARGS= PGPV="${LOCALBASE}/bin/pgpv" PGPS="${LOCALBASE}/bin/pgps" PGPSTYLE="PGP"
.elif ${FLAVOR:L:Mpgp5}
RUN_DEPENDS= pgp5::security/pgp5
CONFIGURE_ARGS= PGPV="${LOCALBASE}/bin/pgpv" PGPS="${LOCALBASE}/bin/pgps" PGPSTYLE="PGP5"
.else
RUN_DEPENDS= gpg::security/gnupg
CONFIGURE_ARGS= PGP="${LOCALBASE}/bin/gpg" PGPSTYLE="GPG"
.endif
BUILD_DEPENDS= ${RUN_DEPENDS}
CONFIGURE_STYLE= perl
.include <bsd.port.mk>