[MacPorts] #7493: RFE: license metadata

MacPorts trac at macosforge.org
Fri Jan 11 01:43:27 PST 2008


#7493: RFE: license metadata
---------------------------------+------------------------------------------
  Reporter:  ben at opendarwin.org  |       Owner:  macports-tickets at lists.macosforge.org
      Type:  enhancement         |      Status:  new                                  
  Priority:  Normal              |   Milestone:  MacPorts base enhancements           
 Component:  base                |     Version:                                       
Resolution:                      |    Keywords:                                       
---------------------------------+------------------------------------------
Comment (by afb at macports.org):

 Here is the current workaround for the Installer.app package target:

 {{{
 post-pkg {
     if {[file exists
 ${workpath}/${name}-${version}.pkg/Contents/Resources/English.lproj]} {
         set resources
 ${workpath}/${name}-${version}.pkg/Contents/Resources/English.lproj
     } else {
         set resources
 ${workpath}/${name}-${version}.pkg/Contents/Resources
     }
     file copy -force -- ${filespath}/License.html ${resources}
 }
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/7493#comment:3>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list