[MacPorts] #56262: softhsm @2.4.0
MacPorts
noreply at macports.org
Tue Apr 10 12:17:23 UTC 2018
#56262: softhsm @2.4.0
-------------------------+------------------------
Reporter: Jakker | Owner: (none)
Type: submission | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.4.2
Resolution: | Keywords: maintainer
Port: softhsm |
-------------------------+------------------------
Comment (by ryandesign):
Thanks.
Please remove the Subversion `# $Id$` line. We moved to GitHub in 2016 and
no longer use Subversion.
Please add your GitHub handle to the `maintainers` line, like this:
`maintainers {NLnetLabs.nl:jaap @Jakker}`
Please add `size` (the file size in bytes) to the `checksums` line.
Please remove the `distname ${name}-${version}` line; that's the default
value.
Please change `depends_build bin:glibtool:libtool` to `depends_build
port:glibtool`.
Please remove the commented-out `patchfiles` line.
Don't create things outside of the `${destroot}` in the destroot phase. In
this case, you're wanting to create an empty directory that is retained
after installation even though it is empty. MacPorts usually deletes empty
directories after the destroot phase. To prevent MacPorts from doing that,
use `destroot.keepdirs` like this:
{{{
destroot.keepdirs ${destroot}${prefix}/var/lib/softhsm/tokens
}}}
There's no need to manually create the directory in a pre- or post-
destroot block (`destroot.keepdirs` will create it for you), unless you
need it to be created with specific permissions or ownership, in which
case use `xinstall`'s arguments to create it the way you need it to be.
--
Ticket URL: <https://trac.macports.org/ticket/56262#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list