Revision: 87454 http://trac.macports.org/changeset/87454 Author: ryandesign@macports.org Date: 2011-11-22 05:45:19 -0800 (Tue, 22 Nov 2011) Log Message: ----------- jlint: update to 1.23; MIT license; update homepage and master_sites; ensure we're UsingTheRightCompiler and build_arch; add universal variant; use standard destroot instead of overriding Modified Paths: -------------- trunk/dports/lang/jlint/Portfile Added Paths: ----------- trunk/dports/lang/jlint/files/ trunk/dports/lang/jlint/files/patch-makefile.diff Modified: trunk/dports/lang/jlint/Portfile =================================================================== --- trunk/dports/lang/jlint/Portfile 2011-11-22 12:52:54 UTC (rev 87453) +++ trunk/dports/lang/jlint/Portfile 2011-11-22 13:45:19 UTC (rev 87454) @@ -1,25 +1,37 @@ # $Id$ PortSystem 1.0 + name jlint -version 1.21 -revision 1 +version 1.23 categories devel maintainers waqar openmaintainer +license MIT + description Java code verifier long_description \ Jlint will check your Java code and find bugs, inconsistencies \ and synchronization problems by doing data flow analysis and \ building lock graph. -homepage http://www.garret.ru/~knizhnik/lang.html + +homepage http://www.garret.ru/lang.html +master_sites http://www.garret.ru/ + platforms darwin -master_sites http://www.garret.ru/~knizhnik -checksums md5 ab5b93437dd04d43d6d18a1c96888425 \ - sha1 e18eb0c18b68e4272f9782fd2cb110b2f5363bcf +checksums rmd160 6a093175ab3968bc9c5bae0f0f4e2948b761b87a \ + sha256 1bc44eddffb10eb781edf21af49359f7effd5a5f7c6ea856db0672cf0b084da8 + worksrcdir ${name} + +patchfiles patch-makefile.diff + use_configure no -destroot { - xinstall -m 755 -W ${worksrcpath} antic jlint ${destroot}${prefix}/bin -} +variant universal {} + +build.args CC=${configure.cxx} +build.env CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \ + LFLAGS="${configure.ldflags} [get_canonical_archflags ld]" + +destroot.destdir INSTALL_DIR=${destroot}${prefix}/bin Added: trunk/dports/lang/jlint/files/patch-makefile.diff =================================================================== --- trunk/dports/lang/jlint/files/patch-makefile.diff (rev 0) +++ trunk/dports/lang/jlint/files/patch-makefile.diff 2011-11-22 13:45:19 UTC (rev 87454) @@ -0,0 +1,17 @@ +--- makefile.orig 2004-03-15 00:57:19.000000000 -0600 ++++ makefile 2011-11-22 07:41:37.000000000 -0600 +@@ -9,12 +9,12 @@ + #CFLAGS = -c -Wall -O0 -g + + # Optimized version +-CFLAGS = -c -Wall -O6 -g ++CFLAGS += -c -Wall -g + + # Optimized version with switched off asserts + #CFLAGS = -c -Wall -O6 -g -DNDEBUG + +-LFLAGS=-g ++LFLAGS+=-g + + # Directory to place executables + INSTALL_DIR=/usr/local/bin