openbsd-ports/security/p5-PGP-Sign/Makefile

31 lines
652 B
Makefile
Raw Normal View History

2010-10-18 17:41:44 -04:00
# $OpenBSD: Makefile,v 1.19 2010/10/18 21:41:47 espie Exp $
COMMENT= perl module to create/verify PGP signatures
MODULES= cpan
2008-10-10 08:23:23 -04:00
DISTNAME= PGP-Sign-0.20
REVISION= 1
CATEGORIES= security
2010-10-18 17:41:44 -04:00
USE_GROFF = Yes
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
FLAVORS= pgp
FLAVOR?=
.if ${FLAVOR:L:Mpgp}
2009-03-16 18:44:19 -04:00
RUN_DEPENDS= :pgp->=5,<6:security/pgp5
CONFIGURE_ARGS= PGPV="${LOCALBASE}/bin/pgpv" PGPS="${LOCALBASE}/bin/pgps" PGPSTYLE="PGP5"
.else
RUN_DEPENDS= :gnupg-<2:security/gnupg
CONFIGURE_ARGS= PGP="${LOCALBASE}/bin/gpg" PGPSTYLE="GPG"
.endif
BUILD_DEPENDS= ${RUN_DEPENDS}
.include <bsd.port.mk>