[MacPorts] #36952: libstemmer port

MacPorts noreply at macports.org
Sun Nov 11 10:24:27 PST 2012


#36952: libstemmer port
-------------------------+--------------------------------
  Reporter:  dave@…      |      Owner:  macports-tickets@…
      Type:  submission  |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.1.2
Resolution:              |   Keywords:
      Port:  libstemmer  |
-------------------------+--------------------------------
Changes (by ryandesign@…):

 * port:   => libstemmer


Comment:

 Thanks! Some initial comments:

  * The "revision" line must be a non-negative integer and should start at
 0 and increase by 1 anytime a change is made to the portfile that results
 in changing the files that get installed but that does not also include
 changing the version (which is when you would reset the revision to 0).
  * The "long_description" line is missing.
  * The "license" line is missing. According to the
 [http://snowball.tartarus.org/license.php project's web page], this
 software is under the BSD license, so the line should read "license BSD".

 The previous three items are covered by the output of "port lint", which
 you should run before submitting portfiles:

 {{{
 $ port lint
 --->  Verifying Portfile for libstemmer
 Error: Missing required variable: long_description
 Error: Port revision is not numeric: svn-556
 Warning: no license set
 }}}

  * The "$Id$" line should remain, but should be the second line; the
 modeline should be the first. Subversion will automatically fill the
 correct information into the "$Id$" line when it is committed with the
 proper
 [wiki:CommittersTipsAndTricks#SetsvnpropertiesautomaticallyonnewPortfiles
 svn:keywords property] set.
  * The "post-build" block should use the Tcl "move" procedure instead of
 calling out to the shell with "system".
  * There's no need in the "destroot" block to to make the "lib" and
 "include" directories manually; MacPorts makes the standard directories
 for you automatically.
  * Since you use "use_configure no", that means you probably need to take
 care of UsingTheRightCompiler and `-arch` flags and adding a universal
 variant if possible.

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


More information about the macports-tickets mailing list