[MacPorts] #68167: WIP new Portfile Bonzomatic
MacPorts
noreply at macports.org
Sun Sep 17 00:58:34 UTC 2023
#68167: WIP new Portfile Bonzomatic
-------------------------+--------------------
Reporter: artkiver | Owner: (none)
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: Bonzomatic |
-------------------------+--------------------
Comment (by ryandesign):
Replying to [comment:2 artkiver]:
> Replying to [comment:1 ryandesign]:
> > > I seem to be running into some issues with the cmake Portgroup's
default destroot.target {install/fast}
> > >
> > > Is there a way to override that?
> >
> > Undoubtedly. Looking into the portgroup, it sets the default
`destroot.target` to `install/fast`:
> >
> > https://github.com/macports/macports-
ports/blob/d4eee4d269b1246d6d035d1bc5b08cb9bc659372/_resources/port1.0/group/cmake-1.1.tcl#L87
> >
> > You can surely set `destroot.target` to something else in your
Portfile if you want. It's surprising that that should be necessary
however; as far as I know it's a standard cmake makefile target that
should appear in all makefiles generated by cmake.
>
> Yeah, I experimented with some different parameters for destroot.target
but kept running into errors; I guess i still haven't wrapped my head
around the install/fast default nor what a better alternative would be in
this instance.
I guess this project does not provide an install target so you'll have to
override the destroot phase (create a `destroot {…}` block) to do the
installation manually.
According to [https://github.com/Gargaj/Bonzomatic#osxmacos the readme]:
"The Bonzomatic.app bundle, resulting from the compilation, should be
found in ./build/Bonzomatic.app. You can place it anywhere. We do NOT
recommend putting it in /Applications. Bonzomatic is looking for
config.json files and resources living at the same level of the app."
So, that's an unfortunate choice by the developers, since
${applications_dir} is of course where we would want to put applications,
and they should fix their application ''not'' to look for other resources
at the same level as the app. For example, perhaps those files should be
in ~/Library/Preferences or ~/Library/Application Support or
Bonzomatic.app/Contents instead.
--
Ticket URL: <https://trac.macports.org/ticket/68167#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list