aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2007-12-27 06:18:26 +0800
committerdougb <dougb@FreeBSD.org>2007-12-27 06:18:26 +0800
commit0406c59401114d5d1648bc7b713f1fab8a51f20d (patch)
treed167945877df313d8dd76c2807d0628fa89729ae /mail
parent85291a9a37eee1b3097ec20012078b71f3310bff (diff)
downloadfreebsd-ports-graphics-0406c59401114d5d1648bc7b713f1fab8a51f20d.tar.gz
freebsd-ports-graphics-0406c59401114d5d1648bc7b713f1fab8a51f20d.tar.zst
freebsd-ports-graphics-0406c59401114d5d1648bc7b713f1fab8a51f20d.zip
Don't try to install pine if alpine is already installed.
Diffstat (limited to 'mail')
-rw-r--r--mail/pine-pgp-filters/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/pine-pgp-filters/Makefile b/mail/pine-pgp-filters/Makefile
index 6ca4542ae4a..00a4aaa7899 100644
--- a/mail/pine-pgp-filters/Makefile
+++ b/mail/pine-pgp-filters/Makefile
@@ -17,8 +17,6 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= DougB@FreeBSD.org
COMMENT= Simple /bin/sh-based filters to use GnuPG with Pine or Alpine
-RUN_DEPENDS= pine:${PORTSDIR}/mail/pine4
-
.include <bsd.port.pre.mk>
# We want to be version-agnostic here, but also record the right dependency
@@ -31,6 +29,12 @@ BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg1
RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg1
.endif
+.if exists(${LOCALBASE}/bin/pine)
+RUN_DEPENDS= pine:${PORTSDIR}/mail/pine4
+.else
+RUN_DEPENDS= alpine:${PORTSDIR}/mail/alpine
+.endif
+
verify: checksum
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc