[MacPorts] #49656: PASH - PowerShell implementation
MacPorts
noreply at macports.org
Wed Nov 11 15:09:29 PST 2015
#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
More information about the macports-tickets
mailing list