Opened 16 months ago

Last modified 16 months ago

#66610 assigned submission

minetest PKG questionary

Reported by: Zweihorn (@Zweihorn) Owned by: Zweihorn (@Zweihorn)
Priority: Normal Milestone:
Component: ports Version: 2.8.0
Keywords: Cc:
Port: minetest

Description

Need help and advice as new "minetest" maintainer please.

Want to produce a "minetest" PKG package with MacPorts to be distributed independently on a regular basis. MT Players are normal people who mainly appreciate a plug-and-play install certainly on Mac OS X / macOS platform, I presume.

Questionary:

Q1: How to put extra documentary into the PKG without changing the source?

Q1.1: How to display an Introduction text by PKG-Installer by extra documentary added to the port?

Q1.2: Where to put this extra documentary files and will a post-destroot in the Portfile be sufficient?

Q1.3: Where to find available documentary providing Q1.1/2 answers?

Q1.4: Is there a reasonable and optional way to do the above without port command if MacPorts does not support the a.m. request?

Q1.5: Where to find available documentary providing Q1.4 answers?

AFAIK making some package seems to be straightforward but the Guide is a little short on details and options:

Installing additional documentation files is described in the Wiki but IMO does not answer Q1 sufficiently:

Any help and advice would be highly appreciated.

Change History (3)

comment:1 Changed 16 months ago by ryandesign (Ryan Carsten Schmidt)

If you want to augment what port pkg does, you can add a pre-pkg or post-pkg block. There are a few ports in the collection that do so already; you can grep the Portfiles to find them to see if they inspire you.

port file all | sort -u | xargs grep -E '(pre|post)-pkg'
Last edited 16 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 16 months ago by Zweihorn (@Zweihorn)

Keywords: arm64 added
Owner: set to Zweihorn

First things first, but when the b.m. PR gets a positive review then we will see what to PKG...

comment:3 Changed 16 months ago by kencu (Ken)

Keywords: x86_64 arm64 removed
Note: See TracTickets for help on using tickets.