[MacPorts] #26156: showkey

MacPorts noreply at macports.org
Thu Aug 19 16:22:04 PDT 2010


#26156: showkey
---------------------------------+------------------------------------------
 Reporter:  phillipao@…          |       Owner:  ryandesign@…           
     Type:  submission           |      Status:  assigned               
 Priority:  Normal               |   Milestone:                         
Component:  ports                |     Version:  1.9.1                  
 Keywords:                       |        Port:  showkey                
---------------------------------+------------------------------------------
Changes (by ryandesign@…):

  * status:  new => assigned
  * owner:  macports-tickets@… => ryandesign@…
  * port:  => showkey


Comment:

 Replying to [ticket:26156 phillipao@…]:
 > I made a little port of Eric S Raymond's showkey tool. Tested on Snow
 Leopard.

 Thank you! I'll check it out.

 > I thought I saw a message during some stage of installation saying
 "License: Unknown" or something like that.

 You saw that in the output of "port info".

 > But I don't see information in the guide about licenses.

 Correct, this field is new and has not yet been documented in the guide.
 In the absence of documentation you can look at other existing portfiles
 to see how it's done.

 > If there's something I can put in the Portfile to show the license,
 please let me know. Otherwise it's good to go.

 You would add the line "license WhateverTheLicenseIs" to the portfile.
 Based on the file "showkey.spec" the license appears to be MIT, so I will
 add "license MIT" to the portfile.

 I see you've hardcoded /opt/local in the patchfile. You can't assume the
 user is using /opt/local as their MacPorts prefix; you must use the
 variable ${prefix}. I'll fix that.

 Since this port has no configure script, you need to handle the details of
 UsingTheRightCompiler and supporting universal and non-default-build_arch
 builds. I'll see if I can add that too.

 There should be [wiki:PortfileRecipes#doc a post-destroot block in the
 Portfile copying the documentation file in place], since the software's
 Makefile doesn't already install it. I'll add this.

-- 
Ticket URL: <http://trac.macports.org/ticket/26156#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list