#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)
Change History (6)
Changed 21 years ago by pguyot (Paul Guyot)
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
comment:2 Changed 21 years ago by pguyot (Paul Guyot)
attachments.isobsolete: | 0 → 1 |
---|
comment:3 Changed 21 years ago by waqar@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
Check in. Thanks for you support.
Patches for this port.