aboutsummaryrefslogtreecommitdiff
path: root/security/gnupg
diff options
context:
space:
mode:
authorTijl Coosemans <tijl@FreeBSD.org>2017-01-10 15:52:56 +0000
committerTijl Coosemans <tijl@FreeBSD.org>2017-01-10 15:52:56 +0000
commitefe87f77a9a4df9397863aae7afa574c55ca3f60 (patch)
treebc15bf17c8c4c29aa0f0b71dabba88c61210badb /security/gnupg
parent39d5bc9ff7d52124764fc40585285cd40b23ca53 (diff)
downloadports-efe87f77a9a4df9397863aae7afa574c55ca3f60.tar.gz
ports-efe87f77a9a4df9397863aae7afa574c55ca3f60.zip
Notes
Diffstat (limited to 'security/gnupg')
-rw-r--r--security/gnupg/Makefile2
-rw-r--r--security/gnupg/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/security/gnupg/Makefile b/security/gnupg/Makefile
index 2dc170e5601b..b279ed54ddeb 100644
--- a/security/gnupg/Makefile
+++ b/security/gnupg/Makefile
@@ -2,7 +2,7 @@
PORTNAME= gnupg
PORTVERSION= 2.1.16
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= GNUPG
diff --git a/security/gnupg/pkg-plist b/security/gnupg/pkg-plist
index 8cbe225eec66..af2eb77a8ddf 100644
--- a/security/gnupg/pkg-plist
+++ b/security/gnupg/pkg-plist
@@ -117,5 +117,5 @@ sbin/applygnupgdefaults
%%NLS%%share/locale/uk/LC_MESSAGES/gnupg2.mo
%%NLS%%share/locale/zh_CN/LC_MESSAGES/gnupg2.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/gnupg2.mo
-@postexec [ -e %D/bin/gpg ] || ln -s gpg2 %D/bin/gpg
-@postunexec [ "$(readlink %D/bin/gpg)" = "gpg2" ] && rm -f %D/bin/gpg || true
+@postexec [ -e %D/bin/gpg ] || ln -sf gpg2 %D/bin/gpg
+@postunexec [ -e %D/bin/gpg ] || rm -f %D/bin/gpg