Opened 8 years ago
Closed 8 years ago
#52870 closed submission (fixed)
shairport-sync @2.8.6_0: submission
Reported by: | ale275 (Alessandro Gritti) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | Cc: | ||
Port: | shairport-sync |
Description
Submission of shairport-sync Portfile
Attachments (1)
Change History (8)
comment:1 Changed 8 years ago by neverpanic (Clemens Lang)
comment:2 Changed 8 years ago by ctreleaven (Craig Treleaven)
Also, typically, pkgconfig, autoconf, and automake are only needed at build time and therefore specified with depends_build rather than depends_lib.
comment:3 Changed 8 years ago by ale275 (Alessandro Gritti)
Thank you for the suggestions neverpanic this is my first macport. It should be ok now
comment:4 Changed 8 years ago by neverpanic (Clemens Lang)
You can remove the name
and version
fields, github.setup
sets them for you.
Your current +metadata
variant does not change how the port is built, because --with-metadata
is already in the default configure.args
.
comment:5 Changed 8 years ago by neverpanic (Clemens Lang)
The license field is wrong, too. Looking through the source code, it should be license MIT BSD ISC
.
comment:7 Changed 8 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
A couple of comments:
PortGroup github 1.0
and callgithub.setup
. In your case, the correct line would begithub.setup mikebrady shairport-sync 2.8.6
. That automatically sets version, homepage, fetch.type, git.url and git.branch properly, so you should remove those. It also automatically uses a tarball download, which allows better caching on our mirror infrastructure.domain.tld:localpart
format. Puttingale275
there will make MacPorts think your email address isale275@macports.org
.openmaintainer
policy; see https://guide.macports.org/#project.update-policies.nonmaintainer for an explanation. We don't mind either way, but want it to be a conscious decision, not a silent default.path:lib/libssl.dylib:openssl
so that libressl can satisfy them, unless you know the port won't build with libressl.configure.pre_args
already contains--prefix=${prefix}
, so can just remove it fromconfigure.args
.no_*
variants and instead prefer positive variants that are enabled by default, e.g.