Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#15680 closed submission (fixed)

pgtcl 1.5 portfile

Reported by: giorgio_v@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: simon@…
Port:

Description

Please see attachment. I overrode the extract and destroot phases: it works but I don’t if there’s a cleaner way to do it.

Attachments (1)

Portfile (1.1 KB) - added by giorgio_v@… 16 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 16 years ago by giorgio_v@…

I cannot attach the Portfile :-(

# $Id$

PortSystem 1.0

name pgtcl version 1.5 categories databases maintainers mac.com:giorgio_v description Tcl PostgreSQL interface long_description Tcl client interface to PostgreSQL homepage http://pgtcl.projects.postgresql.org/ master_sites http://pgfoundry.org/frs/download.php/338/ platforms darwin checksums md5 6eed1c338fc3bb7a844797c92b79b936 \

sha1 8d2be537c123100ab4f1a6ddc11684fd4e0ccd23 \ rmd160 f198066c538a9566f9044e8899423ee31e123349

configure.env PATH=$env(PATH):${prefix}/lib/postgresql83/bin configure.args --bindir=${prefix}/sbin/${name} \

--mandir=${prefix}/share/man/${name} \ --sysconfdir=${prefix}/etc/${name}

depends_lib port:tcl \

port:postgresql83

extract {

cd $workpath exec gzip -dc $distpath/$distfiles | \

/usr/bin/gnutar --no-same-owner -xf -

# ugly hack exec mv $name$version $name-$version

}

destroot {

# another ugly hack? cd $workpath/$name-$version exec make install-binaries DESTDIR=${destroot} exec make install-libraries DESTDIR=${destroot}

}

comment:2 Changed 16 years ago by jmroot (Joshua Root)

You need to use WikiFormatting if you're going to post source code inline. The attachment issue should be fixed now in any case.

Changed 16 years ago by giorgio_v@…

Attachment: Portfile added

comment:3 Changed 16 years ago by simon@…

Cc: simon@… added
Resolution: fixed
Status: newclosed

Committed in r37904 with the following changes:

  • Used worksrcdir instead of the extract phase.
  • Used destroot.target instead of the destroot phase.

You can have a look at the new Portfile with port cat pgtcl.

If you don't like any of these changes just reopen the ticket.

Thanks,

Simon

comment:4 in reply to:  3 Changed 16 years ago by giorgio_v@…

Replying to simon@macports.org:

Committed in r37904 with the following changes:

  • Used worksrcdir instead of the extract phase.
  • Used destroot.target instead of the destroot phase.

You can have a look at the new Portfile with port cat pgtcl.

If you don't like any of these changes just reopen the ticket.

Fine with me.

Thank you.

comment:5 Changed 16 years ago by jmroot (Joshua Root)

Type: enhancementsubmission

comment:6 Changed 16 years ago by (none)

Milestone: Port Submissions

Milestone Port Submissions deleted

Note: See TracTickets for help on using tickets.