Revision: 102446 https://trac.macports.org/changeset/102446 Author: larryv@macports.org Date: 2013-02-02 23:45:22 -0800 (Sat, 02 Feb 2013) Log Message: ----------- jam, ftjam: Change tabs to spaces; tweak formatting. Modified Paths: -------------- trunk/dports/devel/ftjam/Portfile trunk/dports/devel/jam/Portfile Modified: trunk/dports/devel/ftjam/Portfile =================================================================== --- trunk/dports/devel/ftjam/Portfile 2013-02-03 07:31:25 UTC (rev 102445) +++ trunk/dports/devel/ftjam/Portfile 2013-02-03 07:45:22 UTC (rev 102446) @@ -1,33 +1,35 @@ +# -*- 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 # $Id$ -PortSystem 1.0 -name ftjam -version 2.5.2 -categories devel -maintainers nomaintainer -description a software build tool like make -long_description FTJam is an improvement built upon Perforce Jam (or Classic Jam). \ - It is backward compatible with Perforce Jam 2.3. \ - Please note that FTJam port conflicts with Perforce Jam port \ - because they both want to install jam into ${prefix}/bin -homepage http://freetype.sourceforge.net/jam/ -master_sites sourceforge:freetype -checksums md5 b06c4c91405ef152ae59712d4fb1b80b \ - sha1 d23c7bb2e21afcacd8dc6086209ff767284a336c \ - rmd160 03f8eb7949005dda4265a8156d20f3dd5a4d1e93 -platforms darwin +PortSystem 1.0 +name ftjam +version 2.5.2 +categories devel +maintainers nomaintainer +description a software build tool like make +long_description FTJam is an improvement built upon Perforce Jam \ + (or Classic Jam). It is backward compatible with \ + Perforce Jam 2.3. Please note that FTJam port \ + conflicts with Perforce Jam port because they \ + both want to install jam into ${prefix}/bin +homepage http://freetype.sourceforge.net/jam/ +master_sites sourceforge:freetype +checksums md5 b06c4c91405ef152ae59712d4fb1b80b \ + sha1 d23c7bb2e21afcacd8dc6086209ff767284a336c \ + rmd160 03f8eb7949005dda4265a8156d20f3dd5a4d1e93 +platforms darwin -use_configure no +use_configure no destroot { - system "install -m 755 ${worksrcpath}/bin.*/jam ${destroot}${prefix}/bin/" - system "install -m 755 ${worksrcpath}/bin.*/mkjambase ${destroot}${prefix}/bin/" - xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/ - xinstall -m 644 ${worksrcpath}/Jam.html ${destroot}${prefix}/share/doc/${name}/ - xinstall -m 644 ${worksrcpath}/Jambase.html ${destroot}${prefix}/share/doc/${name}/ - xinstall -m 644 ${worksrcpath}/Jamfile.html ${destroot}${prefix}/share/doc/${name}/ + system "install -m 755 ${worksrcpath}/bin.*/jam ${destroot}${prefix}/bin/" + system "install -m 755 ${worksrcpath}/bin.*/mkjambase ${destroot}${prefix}/bin/" + xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name}/ + xinstall -m 644 ${worksrcpath}/Jam.html ${destroot}${prefix}/share/doc/${name}/ + xinstall -m 644 ${worksrcpath}/Jambase.html ${destroot}${prefix}/share/doc/${name}/ + xinstall -m 644 ${worksrcpath}/Jamfile.html ${destroot}${prefix}/share/doc/${name}/ } -livecheck.type regex -livecheck.url http://sourceforge.net/project/showfiles.php?group_id=3157 -livecheck.regex {<td><a href="/project/showfiles\.php\?group_id=3157&package_id=19789&release_id=.*">(.*)</a></td>} +livecheck.type regex +livecheck.url http://sourceforge.net/project/showfiles.php?group_id=3157 +livecheck.regex {<td><a href="/project/showfiles\.php\?group_id=3157&package_id=19789&release_id=.*">(.*)</a></td>} Modified: trunk/dports/devel/jam/Portfile =================================================================== --- trunk/dports/devel/jam/Portfile 2013-02-03 07:31:25 UTC (rev 102445) +++ trunk/dports/devel/jam/Portfile 2013-02-03 07:45:22 UTC (rev 102446) @@ -1,42 +1,44 @@ # -*- 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 # $Id$ -PortSystem 1.0 -name jam -version 2.5 -# The version didn't change, but the binary did because it was upgraded from rc3 to 2.5. -revision 2 -categories devel -license Permissive -maintainers nomaintainer -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 -distfiles ${name}-${version}.tar +PortSystem 1.0 +name jam +version 2.5 +# The version didn't change, but the binary did because it was upgraded +# from rc3 to 2.5. +revision 2 +categories devel +license Permissive +maintainers nomaintainer +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 +distfiles ${name}-${version}.tar # avoid md5 mismatches. -dist_subdir ${name}/${version} -master_sites ftp://ftp.perforce.com/jam/ \ - "http://public.perforce.com:8080/@md=d&cd=//public/jam/&ra=s&c=lAF@//public/j..." -checksums md5 c7eb7719d8523c0f819116479492d367 \ - sha1 421c1b308c3c3dc4c95c0640078416af2195d841 \ - rmd160 34497c89ca4bbd1db049627e2dfcc1287138af24 -platforms darwin +dist_subdir ${name}/${version} +master_sites ftp://ftp.perforce.com/jam/ \ + "http://public.perforce.com:8080/@md=d&cd=//public/jam/&ra=s&c=lAF@//public/j..." +checksums md5 c7eb7719d8523c0f819116479492d367 \ + sha1 421c1b308c3c3dc4c95c0640078416af2195d841 \ + rmd160 34497c89ca4bbd1db049627e2dfcc1287138af24 +platforms darwin universal_variant yes # This is a .tar file. -extract.cmd tar -xf -extract.pre_args -extract.post_args +extract.cmd tar -xf +extract.pre_args +extract.post_args # Enables post-patch options & Matt Armstrong memory leak patch. -patchfiles patch-Makefile.diff \ - patch-variable.c.diff +patchfiles patch-Makefile.diff \ + patch-variable.c.diff post-patch { # fix up reminder of Makefile, depending on variants @@ -58,12 +60,11 @@ } # Jam doesn't have a configure script -use_configure no +use_configure no pre-build { - build.cmd-append \ - CC="${configure.cc}" \ - CFLAGS=\"[get_canonical_archflags]\" + build.cmd-append CC="${configure.cc}" \ + CFLAGS=\"[get_canonical_archflags]\" } # Installation. @@ -82,18 +83,16 @@ xinstall -m 644 ${bindir}/libjam.a ${destroot}${prefix}/lib # install documents - xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} + xinstall -d -m 755 ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} \ Jam.html Jambase.html Jamfile.html README RELNOTES \ ${destroot}${prefix}/share/doc/${name} } -variant mw conflicts debug \ -description {Use Metrowerks compiler} {} +variant mw conflicts debug description {Use Metrowerks compiler} {} -variant debug conflicts mw \ -description {Build with debug options but no optimization} {} +variant debug conflicts mw description {Build with debug options but no optimization} {} -livecheck.type md5 -livecheck.url ftp://ftp.perforce.com/jam/ -livecheck.md5 37e6a5b6516a680c7178b72021d3b706 +livecheck.type md5 +livecheck.url ftp://ftp.perforce.com/jam/ +livecheck.md5 37e6a5b6516a680c7178b72021d3b706
participants (1)
-
larryv@macports.org