[MacPorts] #18590: Frobtads update to 0.12, add tads3 compiler variant

MacPorts noreply at macports.org
Sat Feb 21 23:40:38 PST 2009


#18590: Frobtads update to 0.12, add tads3 compiler variant
--------------------------------------+-------------------------------------
 Reporter:  joseph@…                  |       Owner:  macports-tickets@…                   
     Type:  enhancement               |      Status:  new                                  
 Priority:  Normal                    |   Milestone:  Port Enhancements                    
Component:  ports                     |     Version:  1.7.0                                
 Keywords:  frobtads                  |        Port:  frobtads                             
--------------------------------------+-------------------------------------
 frobtads is out of date, current port is for 0.11, current release is
 0.12.

 Also, frobtads has an optional added compiler. I have included a variant
 to build this as well.

 I'm not confident that I've used the right idioms to extract the compiler
 tarball. The file needs to be extracted into the directory form the normal
 tarball. Specifically, the frobtads-0.12.tar.gz needs to extract into the
 default
 {{{
 ${workpath}
 }}}
 yielding
 {{{
 ${workpath}/frobtads-0.12
 }}}
 But the frobtads-t3compiler-0.12.tar.gz needs to extract into
 {{{
 ${workpath}/frobtads-0.12
 }}}
 yielding
 {{{
 ${workpath}/frobtads-0.12/t3compiler
 }}}

 To handle this I've made the extract phase to the right thing with the
 following (variables inlined for clarity)
 {{{
     extract.only-delete frobtads-t3compiler-0.12.tar.gz
     post-extract    {
         extract.args              ${distpath}/frobtads-
 t3compiler-0.12.tar.gz
         extract.post_args-append -C${worksrcpath}
         command_exec extract
     }
 }}}

 I'm uncomfortable calling extract this way, but it seems like the cleanest
 solution. Is there a better way?

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


More information about the macports-tickets mailing list