openbsd-ports/security/p5-PGP-Sign/Makefile
2013-03-11 11:35:43 +00:00

28 lines
561 B
Makefile

# $OpenBSD: Makefile,v 1.24 2013/03/11 11:41:27 espie Exp $
COMMENT= perl module to create/verify PGP signatures
MODULES= cpan
DISTNAME= PGP-Sign-0.20
REVISION= 2
CATEGORIES= security
USE_GROFF = Yes
# perl
PERMIT_PACKAGE_CDROM= Yes
FLAVORS= pgp
FLAVOR?=
.if ${FLAVOR:Mpgp}
RUN_DEPENDS= pgp->=5,<6:security/pgp5
CONFIGURE_ARGS= PGPV="${LOCALBASE}/bin/pgpv" PGPS="${LOCALBASE}/bin/pgps" PGPSTYLE="PGP5"
.else
RUN_DEPENDS= security/gnupg
CONFIGURE_ARGS= PGP="${LOCALBASE}/bin/gpg" PGPSTYLE="GPG"
.endif
BUILD_DEPENDS= ${RUN_DEPENDS}
.include <bsd.port.mk>