[128215] trunk/dports/aqua/pinentry-mac/Portfile
ionic at macports.org
ionic at macports.org
Sun Nov 16 10:07:35 PST 2014
Revision: 128215
https://trac.macports.org/changeset/128215
Author: ionic at macports.org
Date: 2014-11-16 10:07:35 -0800 (Sun, 16 Nov 2014)
Log Message:
-----------
pinentry-mac: don't make the port fail to parse on 10.7 and below. Move the fail code to pre-fetch, so that the port (formally) exists on those platforms, too.
Modified Paths:
--------------
trunk/dports/aqua/pinentry-mac/Portfile
Modified: trunk/dports/aqua/pinentry-mac/Portfile
===================================================================
--- trunk/dports/aqua/pinentry-mac/Portfile 2014-11-16 17:54:16 UTC (rev 128214)
+++ trunk/dports/aqua/pinentry-mac/Portfile 2014-11-16 18:07:35 UTC (rev 128215)
@@ -24,47 +24,49 @@
depends_build
depends_lib
-platform darwin {
+pre-fetch {
if {${os.major} < 12} {
ui_error "This software utilizes ARC, which is only available on 10.7 and later.
Additionally, the package itself is only compatible with Xcode 5 and up
not compatible with 10.7 and below."
error "Unsupported operating system."
- } else {
- notes "
- If you previously didn't have pinentry or gpg-agent installed
- and ${name} has been installed as a dependency of gpg-agent,
- you don't need to do anything to use ${name}.
+ }
+}
- If you want to switch to the GTK2, ncurses or Qt4 based pinentry
- program, please install pinentry with the correct use flags and
- follow the instructions below substituting the ${name} program
- path with ${prefix}/bin/pinentry.
+platform darwin {
+ notes "
+ If you previously didn't have pinentry or gpg-agent installed
+ and ${name} has been installed as a dependency of gpg-agent,
+ you don't need to do anything to use ${name}.
+ If you want to switch to the GTK2, ncurses or Qt4 based pinentry
+ program, please install pinentry with the correct use flags and
+ follow the instructions below substituting the ${name} program
+ path with ${prefix}/bin/pinentry.
- If you previously had pinentry and gpg-agent installed and would
- like to switch to ${name}, you will have to set
- it as your pinentry program in \$HOME/.gnupg/gpg-agent.conf.
- Add the following line to the mentioned file:
- pinentry-program ${applications_dir}/${name}.app/Contents/MacOS/${name}
+ If you previously had pinentry and gpg-agent installed and would
+ like to switch to ${name}, you will have to set
+ it as your pinentry program in \$HOME/.gnupg/gpg-agent.conf.
+ Add the following line to the mentioned file:
+ pinentry-program ${applications_dir}/${name}.app/Contents/MacOS/${name}
- Be sure to comment previous \"pinentry-program\" lines, for example:
- pinentry-program SAMPLE
+ Be sure to comment previous \"pinentry-program\" lines, for example:
- becomes
+ pinentry-program SAMPLE
- #pinentry-program SAMPLE
+ becomes
+ #pinentry-program SAMPLE
- Afterwards, run
- killall -HUP gpg-agent
- or simply log out and back in again.
- "
- }
+ Afterwards, run
+ killall -HUP gpg-agent
+
+ or simply log out and back in again.
+ "
}
xcode.target ${name}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141116/91357dd0/attachment.html>
More information about the macports-changes
mailing list