INSTALL_PATH with spaces

janosch1 at mailbox.org janosch1 at mailbox.org
Fri Mar 5 16:35:08 UTC 2021


I am working on a new port <https://github.com/Janosch/macports-ports/blob/new-port-macpasshttp/security/MacPassHTTP/Portfile> and I am struggling to set the INSTALL_PATH to "/$HOME/Library/Application Support/MacPass“. This is what I tried:

xcode.destroot.settings (…) INSTALL_PATH=$appsupport

Attempt 1: set appsupport {/users/janosch/Library/Application Support/MacPass}
--> Build settings from command line: {INSTALL_PATH = /users/janosch/Library/Application
--> Error

Attempt 2: set appsupport {/users/janosch/Library/Application\ Support/MacPass}
--> Build settings from command line: {INSTALL_PATH = /users/janosch/Library/Application Support/MacPass}
--> No error, but INSTALL_PATH is ignored 
--> Installs into /Library/Application Support (Xcode project setting)

Attempt 3: set appsupport {/users/janosch/Application\\ Support/MacPass}
--> Build settings from command line: {INSTALL_PATH = /users/janosch/Application\
--> Error

Attempt 4: set appsupport {/users/janosch}
—> Build settings from command line:  INSTALL_PATH = /users/janosch
—> No error
—> Installs to /users/janosch


So currently I am only able to provide a space-less path. But INSTALL_PATH has to be "/$HOME/Library/Application Support/MacPass“.

Any ideas?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20210305/c1c070af/attachment.htm>


More information about the macports-dev mailing list