aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-02-06 22:59:21 +0000
committerJohn Marino <marino@FreeBSD.org>2015-02-06 22:59:21 +0000
commit239cd9d9b378fb68a5058fe740b7c56ee595bf3c (patch)
treec21bc243058a01bce6b7fa873955e48dc2873a24 /mail
parentb9640de8a0a28790abed778f09e56f098079f726 (diff)
downloadports-239cd9d9b378fb68a5058fe740b7c56ee595bf3c.tar.gz
ports-239cd9d9b378fb68a5058fe740b7c56ee595bf3c.zip
Notes
Diffstat (limited to 'mail')
-rw-r--r--mail/pine-pgp-filters/Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/mail/pine-pgp-filters/Makefile b/mail/pine-pgp-filters/Makefile
index 2ddd8ff8976e..3dd40d4892a9 100644
--- a/mail/pine-pgp-filters/Makefile
+++ b/mail/pine-pgp-filters/Makefile
@@ -2,14 +2,17 @@
PORTNAME= pine-pgp-filters
PORTVERSION= 1.8
+PORTREVISION= 1
CATEGORIES= mail security
-#MASTER_SITES=
+MASTER_SITES= LOCAL/marino
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}${EXTRACT_SUFX}.asc
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= Simple /bin/sh-based filters to use GnuPG with Alpine
+BUILD_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
+RUN_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg
RUN_DEPENDS= alpine:${PORTSDIR}/mail/alpine
PORTDOCS= BUGS CHANGES INSTALL LICENSE README
@@ -17,16 +20,6 @@ PLIST_FILES= bin/ppf_mime bin/ppf_mime_decrypt \
libexec/ppf_decrypt libexec/ppf_encrypt libexec/ppf_mime \
libexec/ppf_mime_decrypt libexec/ppf_sign libexec/ppf_verify
-# We want to be version-agnostic here, but also record the right dependency
-# if the user installs the package and already has one or the other installed.
-.if exists(${LOCALBASE}/bin/gpg2)
-BUILD_DEPENDS= gpg2:${PORTSDIR}/security/gnupg
-RUN_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg
-.else
-BUILD_DEPENDS= gpg:${PORTSDIR}/security/gnupg1
-RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg1
-.endif
-
verify: checksum
gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc