diff options
| author | Doug Barton <dougb@FreeBSD.org> | 2007-12-05 19:57:49 +0000 |
|---|---|---|
| committer | Doug Barton <dougb@FreeBSD.org> | 2007-12-05 19:57:49 +0000 |
| commit | b8e9571ef91796ecb904d336cc1154f4e2aa196d (patch) | |
| tree | 28a6e838f672413ece08db835ed4b1d295bc7716 | |
| parent | cba837d4c478b822a2a62f5a8a57261d961ad7a6 (diff) | |
Notes
| -rw-r--r-- | mail/pine-pgp-filters/Makefile | 14 | ||||
| -rw-r--r-- | mail/pine-pgp-filters/distinfo | 12 |
2 files changed, 18 insertions, 8 deletions
diff --git a/mail/pine-pgp-filters/Makefile b/mail/pine-pgp-filters/Makefile index f1ca5f6357f5..761c2f2f2b23 100644 --- a/mail/pine-pgp-filters/Makefile +++ b/mail/pine-pgp-filters/Makefile @@ -6,7 +6,7 @@ # PORTNAME= pine-pgp-filters -PORTVERSION= 1.5 +PORTVERSION= 1.6 CATEGORIES= mail security MASTER_SITES= http://dougbarton.us/PGP/scripts/ppf/ \ ${MASTER_SITE_LOCAL} @@ -19,6 +19,16 @@ 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 +# if the user installs the package and already has one or the other installed. +.if exists(${LOCALBASE}/bin/gpg2) +RUN_DEPENDS+= gpg2:${PORTSDIR}/security/gnupg +.else +RUN_DEPENDS+= gpg:${PORTSDIR}/security/gnupg1 +.endif + verify: checksum gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc @@ -34,4 +44,4 @@ post-install: .endif @${CAT} ${PKGMESSAGE} -.include <bsd.port.mk> +.include <bsd.port.post.mk> diff --git a/mail/pine-pgp-filters/distinfo b/mail/pine-pgp-filters/distinfo index 3f38f0cba2bb..642e01815362 100644 --- a/mail/pine-pgp-filters/distinfo +++ b/mail/pine-pgp-filters/distinfo @@ -1,6 +1,6 @@ -MD5 (pine-pgp-filters-1.5.tar.gz) = 611b6fdd06196a9851ae7fc74da2e8e2 -SHA256 (pine-pgp-filters-1.5.tar.gz) = afac5c8e34ddd7283225351f4bbcbc01c329e9142a945aa392fc91bb67fac11d -SIZE (pine-pgp-filters-1.5.tar.gz) = 9948 -MD5 (pine-pgp-filters-1.5.tar.gz.asc) = ed7a28ecda8f16aa751db1dfaca2cbc5 -SHA256 (pine-pgp-filters-1.5.tar.gz.asc) = 664c4645ec3c516041016fcbc4b2e5ba8340a40134d900969b340b305ba71007 -SIZE (pine-pgp-filters-1.5.tar.gz.asc) = 187 +MD5 (pine-pgp-filters-1.6.tar.gz) = d1aff26af1fdfb2269ae8a5064df2e82 +SHA256 (pine-pgp-filters-1.6.tar.gz) = 563f6a480c2177b216c1aa88c27fbd095b37b515b83748ae600c7d1e649c216d +SIZE (pine-pgp-filters-1.6.tar.gz) = 10034 +MD5 (pine-pgp-filters-1.6.tar.gz.asc) = 7cec8bdb9bf68a6973aa7232b3d7156e +SHA256 (pine-pgp-filters-1.6.tar.gz.asc) = dd6c5740fa68191d6a69de802887bc76df90c21830c58aa1c961998d95693ef3 +SIZE (pine-pgp-filters-1.6.tar.gz.asc) = 187 |
