From 0406c59401114d5d1648bc7b713f1fab8a51f20d Mon Sep 17 00:00:00 2001 From: dougb Date: Wed, 26 Dec 2007 22:18:26 +0000 Subject: Don't try to install pine if alpine is already installed. --- mail/pine-pgp-filters/Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/pine-pgp-filters/Makefile b/mail/pine-pgp-filters/Makefile index 6ca4542ae4a1..00a4aaa78995 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 # 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 -- cgit