openbsd-ports/mail/mailcrypt/Makefile

43 lines
852 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.16 2007/09/06 19:15:13 naddy Exp $
COMMENT= emacs interface to PGP and GnuPG
2002-09-15 07:12:00 -04:00
DISTNAME= mailcrypt-3.5.7
PKGNAME= ${DISTNAME}p0
CATEGORIES= mail
2002-05-13 19:31:24 -04:00
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mailcrypt/}
HOMEPAGE= http://mailcrypt.sourceforge.net/
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= gnu dest
FLAVORS= gnupg pgp pgp5
FLAVOR?= gnupg
BUILD_DEPENDS= :emacs-21.*:editors/emacs21
.if ${FLAVOR:L:Mgnupg}
RUN_DEPENDS= :gnupg-*:security/gnupg
.endif
.if ${FLAVOR:L:Mpgp}
RUN_DEPENDS= :pgp-2.*:security/pgp
.endif
.if ${FLAVOR:L:Mpgp5}
RUN_DEPENDS= :pgp-5.*:security/pgp5
.endif
2006-02-20 12:42:11 -05:00
REGRESS_DEPENDS= :python-2.3*:lang/python/2.3
2002-10-27 11:59:48 -05:00
pre-regress:
@perl -i -pe 's:%%LOCALBASE%%:${LOCALBASE}:' \
${WRKSRC}/tests/gpg-keys/*.py
.include <bsd.port.mk>