Opened 16 years ago

Closed 16 years ago

#18590 closed enhancement (fixed)

Frobtads update to 0.12, add tads3 compiler variant

Reported by: joseph@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: frobtads Cc:
Port: frobtads

Description

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?

Attachments (1)

Portfile (1.9 KB) - added by joseph@… 16 years ago.
frobtads portfile

Download all attachments as: .zip

Change History (3)

Changed 16 years ago by joseph@…

Attachment: Portfile added

frobtads portfile

comment:1 Changed 16 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

comment:2 Changed 16 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

Committed in r51039.

Note: See TracTickets for help on using tickets.