[MacPorts] #43763: New port mksh
#43763: New port mksh ----------------------------+-------------------------------- Reporter: mschamschula@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: mksh ----------------------------+-------------------------------- I've put together a Portfile for mksh: A free implementation of the Korn Shell programming language and a successor to the Public Domain Korn Shell (pdksh). -- Ticket URL: <https://trac.macports.org/ticket/43763> MacPorts <http://www.macports.org/> Ports system for OS X
#43763: New port mksh -----------------------------+-------------------------- Reporter: mschamschula@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: mksh | -----------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned Comment: Thanks. Some observations: * You shouldn't usually set `build.cmd` to multiple commands. Since your goal is to set the execute bit of the build script before running it, set "`build.cmd ./Build.sh`", and set the execute bit in a post-extract block using "`file attributes ... -permissions`". * Instead of "`${workpath}/${destdir}`", use "`${destroot}`". * Instead of "`build.target-delete all`", use "`build.target`". * In the destroot block, you shouldn't specify the owner and group. When specifying the mode, we usually use 755 for executables and 644 for non- executable files. * Because you use "`use_configure no`" and a custom build system, you need to add code to ensure the port is UsingTheRightCompiler and `-arch` flags and has a universal variant. Fortunately the build system accepts environment variables to do this. -- Ticket URL: <https://trac.macports.org/ticket/43763#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#43763: New port mksh -----------------------------+-------------------------- Reporter: mschamschula@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: mksh | -----------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: Committed with the above changes in r120262. -- Ticket URL: <https://trac.macports.org/ticket/43763#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts