This port does handle, but actually not install the additional certificates that are specified by the ICA_CERTS environment.
Second, the wfcmgr and wfica Linux binaries are lacking execute permissions.
Created attachment 149190 [details]
patch fixing both issues
Created attachment 149191 [details]
patch plus blank line fix
Hmmm. it seems that the logic of this port installation is kind of redundant. Firstly, do-install runs the ./setupwfc script which basically installs the port into the stageing directory correctly without asking questions. But then the port's tree is copied from the working directory ito the stage directory again. No idea what the reason is. Anyhow it does not harm at present. I'd volunteer to rework the stuff if nobody else feels inclined.
However, the latest change to this port a couple of days ago kind-of broke it nevertheless due to an unfortunate change of pkg-plist: It is vital that %%PREFIX%%/ICAClient/config/.server and %%PREFIX%%/ICAClient/config/module.ini are present, otherwise the client programs will refuse to read files from ~/.ICAClient (i.e. user's home directories). I have added another patch to fix this. Please apply both.
Created attachment 149199 [details]
patch fixing the home directory issue
Fails make check-plist:
====> Checking for pkg-plist issues (check-plist)
===> Parsing plist
===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir ICAClient/help
===> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: ICAClient/config/.server
Error: Missing: ICAClient/config/module.ini
===> Error: Plist issues found.
*** Error code 1
With both patches applied, there are indeed some orphaned files. These are not needed, therefore harmless.
But the missing files are gone.
Does this issue still exist with the current version?
Created attachment 160349 [details]
Patch against latest revision (only installs custom certs)
Partly - the custom certs are still not installed in the latest rev. Patch attached, previous patches obsoleted.
A commit references this bug:
Date: Wed Aug 26 08:40:22 UTC 2015
New revision: 395351
- Restore functionality of ICA_CERTS (was broken after r391627) 
- Adjust wfcmgr wrapper to run the now renamed configuration utility configmgr.
Retain name to avoid possible namespace collision due to its generic name.
- Make various scripts executable
PR: 194900 
Submitted by: Helge Oldach <email@example.com>