[MacPorts] #34915: Create port nsrllookup
MacPorts
noreply at macports.org
Tue Jun 19 14:33:08 PDT 2012
#34915: Create port nsrllookup
--------------------------------------+-------------------------------------
Reporter: jessekornblum@… | Owner: ryandesign@…
Type: submission | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.1.1
Resolution: fixed | Keywords:
Port: nsrllookup |
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):
* status: assigned => closed
* resolution: => fixed
Comment:
I've committed the port in r94457. I had to make many changes to your
Portfile to get it to work right; here are some suggestions for next time:
You should test your ports before you submit them. This one contained a
syntax error: the first checksum line did not end with a backslash. To
test your Portfile, use the terminal to "cd" to the directory the Portfile
is in and run "sudo port install" (without specifying a port name).
Fetching the distfile failed. I had to adjust the master_sites line to fix
that, and also add "use_bzip2 yes" since this project distributes a
.tar.bz2 file, not a .tar.gz file.
"port lint" revealed that the Portfile was missing the required
"platforms" variable, so I added it with the usual value of "darwin". It
also showed no license was set; I added "license ISC" according to the
project's homepage and the LICENSE file the distribution contains.
I added the configure.arg "--disable-silent-rules" so that we can see
what's actually going on while compiling (if we look in the log or with
the debug switch).
I added a post-destroot block to [wiki:PortfileRecipes#doc install the
documentation files].
"port livecheck" didn't produce a result so I fixed it by adding a
livecheck.regex similar to the one I often add to SourceForge-hosted
ports.
You used our standard modeline, which states that the Portfile is
formatted with spaces for indentation at 4 spaces per indent, but it was
actually indented with tabs at 8 spaces per indent. I reformatted the
Portfile using spaces at 4 spaces per indent to conform to the modeline.
--
Ticket URL: <https://trac.macports.org/ticket/34915#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list