Opened 21 years ago

Closed 21 years ago

Last modified 19 years ago

#636 closed defect (fixed)

NEW: jam-2.5

Reported by: pguyot (Paul Guyot) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

jam-2.5

The portfile can be found here: INLINE

Description: Jam is a software build tool like make

Homepage: http://www.perforce.com/jam/jam.html

Comments: This is 2.5rc3 plus a patch to fix a leak. If 2.5 tarball changes, checksum will break. Patches are ATTACHED. Any hint to improve the installation phase so the debug variant will just set a variable differently? (instead of duplicating the install lines)

================INLINE CONTENT================ # $Id: $ PortSystem 1.0 name jam version 2.5 categories devel maintainers pguyot@… description a software build tool like make long_description Jam is a software build tool (like make) from Perforce. \

It is very powerful tool and it is used for various projects. \ It is particularly adapted for C/C++ development,

multiplatform projects \

or builds spread on several processors. \ MacOS X developer tools actually include a customized

version of it. homepage http://www.perforce.com/jam/jam.html` distfiles ${name}-${version}.tar master_sites ftp://ftp.perforce.com/pub/jam/ \ "http://public.perforce.com:8080/@md=d&cd=//public/jam/&ra=s&c=lAF@//public/jam/" checksums md5 d340f3c73d16a1206d0e8c88a66428e7

# This is a .tar file. extract.cmd tar -xf extract.pre_args extract.post_args

# Enables optimization & Matt Armstrong memory leak patch. patchfiles patch-Makefile.diff \

patch-variable.c.diff

# Jam doesn't have a configure script configure { }

# Installation. install {

system "install -d ${destroot}${prefix}/bin" system "install -d ${destroot}${prefix}/share/doc/${name}" system "install -m 755 ${worksrcpath}/bin.macosxppc/jam

${destroot}${prefix}/bin/"

system "install -m 755 ${worksrcpath}/bin.macosxppc/mkjambase

${destroot}${prefix}/bin/"

system "install -m 644 ${worksrcpath}/Jambase.html

${destroot}/${prefix}/share/doc/${name}/"

system "install -m 644 ${worksrcpath}/Jamfile.html

${destroot}/${prefix}/share/doc/${name}/" }

# Metrowerks compiler. variant mw {

patchfiles patch-Makefile-mw.diff \

patch-variable.c.diff

}

# Debug (no optimization + debug) variant debug {

patchfiles patch-Makefile-debug.diff \

patch-variable.c.diff

system "install -d ${destroot}${prefix}/bin" system "install -d ${destroot}${prefix}/share/doc/${name}" system "install -m 755 ${worksrcpath}/bin.macosxppc/g/jam

${destroot}${prefix}/bin/"

system "install -m 755 ${worksrcpath}/bin.macosxppc/g/mkjambase

${destroot}${prefix}/bin/"

system "install -m 644 ${worksrcpath}/Jambase.html

${destroot}/${prefix}/share/doc/${name}/"

system "install -m 644 ${worksrcpath}/Jamfile.html

${destroot}/${prefix}/share/doc/${name}/" }

Attachments (3)

files.tgz (646 bytes) - added by pguyot (Paul Guyot) 21 years ago.
Patches for this port.
Portfile (2.5 KB) - added by pguyot (Paul Guyot) 21 years ago.
The portfile (fix)
Portfile.2 (2.5 KB) - added by pguyot (Paul Guyot) 21 years ago.
debug variant fixed

Download all attachments as: .zip

Change History (6)

Changed 21 years ago by pguyot (Paul Guyot)

Attachment: files.tgz added

Patches for this port.

Changed 21 years ago by pguyot (Paul Guyot)

Attachment: Portfile added

The portfile (fix)

comment:1 Changed 21 years ago by waqar@…

Perhaps change 'configure { }' to 'use_configure no'

[wmalik:dports/devel/jam] waqar% port +debug build Error: Error executing debug: shell command "install -m 755 /opt/darwinports/dports/devel/jam/ work/jam-2.5/bin.macosxppc/g/jam /opt/darwinports/dports/devel/jam/work/destroot/opt/ local/bin/" returned error 71 Command output: install: /opt/darwinports/dports/devel/jam/work/jam-2.5/bin.macosxppc/g/ jam: No such file or directory

Changed 21 years ago by pguyot (Paul Guyot)

Attachment: Portfile.2 added

debug variant fixed

comment:2 Changed 21 years ago by pguyot (Paul Guyot)

attachments.isobsolete: 01

comment:3 Changed 21 years ago by waqar@…

Resolution: fixed
Status: newclosed

Check in. Thanks for you support.

Note: See TracTickets for help on using tickets.