2002-10-27 11:59:48 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2002/10/27 16:59:48 naddy Exp $
|
2001-03-29 12:21:22 -05:00
|
|
|
|
|
|
|
COMMENT= "emacs interface to PGP and GnuPG"
|
2001-02-22 15:22:21 -05:00
|
|
|
|
2002-09-15 07:12:00 -04:00
|
|
|
DISTNAME= mailcrypt-3.5.7
|
2001-02-22 15:22:21 -05:00
|
|
|
CATEGORIES= mail
|
2002-05-13 19:31:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mailcrypt/}
|
2001-02-22 15:22:21 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://mailcrypt.sourceforge.net/
|
2001-04-17 02:37:33 -04:00
|
|
|
MAINTAINER= Shell Hung <shell@openbsd.org>
|
2001-02-22 15:22:21 -05:00
|
|
|
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= gnu dest
|
|
|
|
|
2002-06-22 23:03:53 -04:00
|
|
|
FLAVORS= emacs emacs21 gnupg pgp pgp5 xemacs
|
2001-02-22 15:22:21 -05:00
|
|
|
FLAVOR?= emacs gnupg
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Memacs}
|
2002-06-09 01:31:40 -04:00
|
|
|
BUILD_DEPENDS= :emacs-20.*:editors/emacs
|
2002-06-22 23:03:53 -04:00
|
|
|
.elif ${FLAVOR:L:Memacs21}
|
|
|
|
BUILD_DEPENDS= :emacs-21.*:editors/emacs21
|
2001-02-22 15:22:21 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mxemacs}
|
2002-06-09 01:31:40 -04:00
|
|
|
BUILD_DEPENDS= :xemacs-21.*:editors/xemacs21
|
2001-02-22 15:22:21 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mgnupg}
|
2002-06-09 01:31:40 -04:00
|
|
|
RUN_DEPENDS= :gnupg-*:security/gnupg
|
2001-02-22 15:22:21 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mpgp}
|
2002-06-09 01:31:40 -04:00
|
|
|
RUN_DEPENDS= :pgp-2.*:security/pgp
|
2001-02-22 15:22:21 -05:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mpgp5}
|
2002-06-09 01:31:40 -04:00
|
|
|
RUN_DEPENDS= :pgp-5.*:security/pgp5
|
2001-02-22 15:22:21 -05:00
|
|
|
.endif
|
|
|
|
|
2002-10-27 11:59:48 -05:00
|
|
|
REGRESS_DEPENDS= :python-2.2*:lang/python/2.2
|
|
|
|
|
|
|
|
pre-regress:
|
|
|
|
@perl -i -pe 's:%%LOCALBASE%%:${LOCALBASE}:' \
|
|
|
|
${WRKSRC}/tests/gpg-keys/*.py
|
|
|
|
|
2001-02-22 15:22:21 -05:00
|
|
|
.include <bsd.port.mk>
|