[MacPorts] #49656: PASH - PowerShell implementation
#49656: PASH - PowerShell implementation -------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: shell, mono | Port: -------------------------+-------------------------------- PASH is an Open Source reimplementation of Windows PowerShell, for Mono. Github page: https://github.com/Pash-Project/Pash The only dependency I’m aware of is mono. The Github source currently builds for me without any tinkering. -- Ticket URL: <https://trac.macports.org/ticket/49656> MacPorts <https://www.macports.org/> Ports system for OS X
#49656: PASH - PowerShell implementation -------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: shell, mono Port: | -------------------------+-------------------------------- Changes (by ryandesign@…): * version: 2.3.4 => Comment: Since you've already successfully built the software, can you provide a working Portfile? -- Ticket URL: <https://trac.macports.org/ticket/49656#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49656: PASH - PowerShell implementation -------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: shell, mono Port: | -------------------------+-------------------------------- Comment (by macports@…): Replying to [comment:1 ryandesign@…]:
Since you've already successfully built the software, can you provide a working Portfile?
I'm working on it. I will have a couple of questions here in a day or two. -- Ticket URL: <https://trac.macports.org/ticket/49656#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49656: PASH - PowerShell implementation -------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | -------------------------+-------------------------------- Changes (by mf2k@…): * keywords: shell, mono => -- Ticket URL: <https://trac.macports.org/ticket/49656#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49656: PASH - PowerShell implementation -------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: | -------------------------+-------------------------------- Comment (by macports@…): Pash builds successfully via xbuild, but it doesn’t have a “make install” equivalent, it leaves the executable in the project hierarchy at `Source/PashConsole/bin/Debug/Pash.exe`. Furthermore, it’s not a “normal” executable, it’s a “PE32 executable (console) Intel 80386 Mono/.Net assembly, for MS Windows,” meaning it has to be launched via Mono, e.g. `mono path/to/Pash.exe`. AFAICT none of the other ports in the mono category use xbuild, so I don’t have a model to follow here. I guess the right thing to do would be a post-install script creating a one-line launcher shell script, which is what would be installed in `${prefix}/bin`. But I don’t know where to put the project directory, which is full of DLLs and stuff that the executable presumably depends on, and as such should be kept in its entirety. `${workpath}` and `${portpath}` are subject to being cleaned, right? What is the proper location for persistent files? Attached what I’ve got of the Portfile so far. The checksums are for the tarball I rolled from the source, do I attach that here or…? Sorry if these are dopey questions, this is my first real attempt at packaging a port. -- Ticket URL: <https://trac.macports.org/ticket/49656#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts