[MacPorts] #15680: pgtcl 1.5 portfile
#15680: pgtcl 1.5 portfile -------------------------------+-------------------------------------------- Reporter: giorgio_v@mac.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Keywords: | -------------------------------+-------------------------------------------- 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. -- Ticket URL: <http://trac.macports.org/ticket/15680> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15680: pgtcl 1.5 portfile --------------------------------+------------------------------------------- Reporter: giorgio_v@mac.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by giorgio_v@mac.com): 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} } -- Ticket URL: <http://trac.macports.org/ticket/15680#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15680: pgtcl 1.5 portfile --------------------------------+------------------------------------------- Reporter: giorgio_v@mac.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by jmr@macports.org): You need to use WikiFormatting if you're going to post source code inline. The attachment issue should be fixed now in any case. -- Ticket URL: <http://trac.macports.org/ticket/15680#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15680: pgtcl 1.5 portfile --------------------------------+------------------------------------------- Reporter: giorgio_v@mac.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: --------------------------------+------------------------------------------- Changes (by simon@macports.org): * cc: simon@macports.org (added) * status: new => closed * resolution: => fixed Comment: 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 -- Ticket URL: <http://trac.macports.org/ticket/15680#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#15680: pgtcl 1.5 portfile --------------------------------+------------------------------------------- Reporter: giorgio_v@mac.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Submissions Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: --------------------------------+------------------------------------------- Comment (by giorgio_v@mac.com): Replying to [comment:3 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. -- Ticket URL: <http://trac.macports.org/ticket/15680#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts