29 lines
621 B
Makefile
29 lines
621 B
Makefile
# $OpenBSD: Makefile,v 1.14 2008/10/10 12:23:23 jasper Exp $
|
|
|
|
COMMENT= perl module to create/verify PGP signatures
|
|
|
|
MODULES= cpan
|
|
DISTNAME= PGP-Sign-0.20
|
|
CATEGORIES= security
|
|
|
|
# perl
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
FLAVORS= pgp
|
|
FLAVOR?=
|
|
|
|
.if ${FLAVOR:L:Mpgp}
|
|
RUN_DEPENDS= :pgp-5.*:security/pgp5
|
|
CONFIGURE_ARGS= PGPV="${LOCALBASE}/bin/pgpv" PGPS="${LOCALBASE}/bin/pgps" PGPSTYLE="PGP5"
|
|
.else
|
|
RUN_DEPENDS= :gnupg-*:security/gnupg
|
|
CONFIGURE_ARGS= PGP="${LOCALBASE}/bin/gpg" PGPSTYLE="GPG"
|
|
.endif
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
|
|
|
.include <bsd.port.mk>
|