# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# The version didn't change, but the binary did because it was upgraded
# Attempts to install the same executable.
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. \
Mac OS X developer tools actually include a \
customized version of it.
homepage http://www.perforce.com/jam/jam.html
master_sites ftp://ftp.perforce.com/jam/
# use_tar is new in MacPorts 2.5.0.
if {[info command use_tar] eq "use_tar"} {
dist_subdir ${name}/${version}
checksums md5 c7eb7719d8523c0f819116479492d367 \
sha1 421c1b308c3c3dc4c95c0640078416af2195d841 \
rmd160 34497c89ca4bbd1db049627e2dfcc1287138af24
# Enables post-patch options & Matt Armstrong memory leak patch.
patchfiles patch-Makefile.diff \
# fix up reminder of Makefile, depending on variants
if {[variant_isset debug]} {
} elseif {[variant_isset mw]} {
reinplace "s|@CFLAGS@|${CFLAGS}|g" ${worksrcpath}/Makefile
reinplace "s|@EXTRA@|${EXTRA}|g" ${worksrcpath}/Makefile
# fix up Jamfile to always install to the same directory, no