Opened 10 years ago
Closed 10 years ago
#43763 closed submission (fixed)
New port mksh
Reported by: | Schamschula (Marius Schamschula) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | Cc: | ||
Port: | mksh |
Description
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).
Attachments (1)
Change History (3)
Changed 10 years ago by Schamschula (Marius Schamschula)
comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed with the above changes in r120262.
Note: See
TracTickets for help on using
tickets.
Thanks. Some observations:
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
".${workpath}/${destdir}
", use "${destroot}
".build.target-delete all
", use "build.target
".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.