Revision: 91499 https://trac.macports.org/changeset/91499 Author: mfeiri@macports.org Date: 2012-04-03 11:40:35 -0700 (Tue, 03 Apr 2012) Log Message: ----------- devel/csu: new port Added Paths: ----------- trunk/dports/devel/csu/ trunk/dports/devel/csu/Portfile Added: trunk/dports/devel/csu/Portfile =================================================================== --- trunk/dports/devel/csu/Portfile (rev 0) +++ trunk/dports/devel/csu/Portfile 2012-04-03 18:40:35 UTC (rev 91499) @@ -0,0 +1,42 @@ +# $Id$ + +PortSystem 1.0 +name csu +version 79 +categories devel +platforms darwin +maintainers mfeiri openmaintainer +license {APSL-1.1 APSL-2.0} +description Common startup and C runtime setup code +long_description Common startup and C runtime setup code +homepage http://opensource.apple.com/source/Csu/ +master_sites http://opensource.apple.com/tarballs/Csu/ + +distname Csu-${version} +checksums rmd160 2ab6404116ff40c0e5a3c1cf6f4afc592db33fe2 \ + sha256 d052e1daa1f5de7fc02e7e7cb8b79ee2eeaad0f321c0a70bea4fc7217e232ec2 + +use_configure no +build.args CC=${configure.cc} + +post-extract { + reinplace "s|USRLIBDIR = /usr/lib|USRLIBDIR = ${destroot}${prefix}/lib|g" ${worksrcpath}/Makefile + reinplace "s|LOCLIBDIR = /usr/local/lib|LOCLIBDIR = ${destroot}${prefix}/lib|g" ${worksrcpath}/Makefile +} + +if {${os.major} < 9} { + pre-fetch { + ui_error "${name} requires Mac OS X 10.5 or later." + return -code error "incompatible Mac OS X version" + } +} + +platform darwin 9 { + version 75 + distname Csu-${version} + checksums rmd160 5ccb1772c638f495f8ab28250ed8203d82b00c13 \ + sha256 a038b1f51884bbca68ed9b6d6bfa4ff349658a658bacfb411545eb88dba104bc +} + +livecheck.type regex +livecheck.regex "Csu-(\[\\d.\]+)" Property changes on: trunk/dports/devel/csu/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native