From: <jh...@us...> - 2010-12-22 21:04:01
|
Revision: 241 http://etch.svn.sourceforge.net/etch/?rev=241&view=rev Author: jheiss Date: 2010-12-22 21:03:55 +0000 (Wed, 22 Dec 2010) Log Message: ----------- Move the MacPort's Portfile template to Portfile.template. Save the latest Portfile in svn so that we can easily diff against it, as the MacPorts guys have indicated that they prefer a diff to a whole file. Update the Rakefile to generate the Portfile from Portfile.template. Modified Paths: -------------- trunk/client/Rakefile Added Paths: ----------- trunk/client/Portfile.template Removed Paths: ------------- trunk/client/Portfile Deleted: trunk/client/Portfile =================================================================== --- trunk/client/Portfile 2010-12-22 20:44:02 UTC (rev 240) +++ trunk/client/Portfile 2010-12-22 21:03:55 UTC (rev 241) @@ -1,42 +0,0 @@ -# -*- 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 -PortGroup ruby 1.0 - -name etch -version %VER% -categories sysutils -maintainers aput.net:jheiss openmaintainer -supported_archs noarch - -description Etch is a system configuration management tool. - -long_description Etch is a tool for managing the configuration of \ - Unix systems. Etch can manage text or binary \ - files, links and directories. The contents of \ - files can be supplied from static files or \ - generated on the fly by scripts or templates. \ - Permissions and ownership as well as any pre or \ - post commands to run when updating the file are \ - configured in simple XML files. - -homepage http://etch.sourceforge.net/ -platforms darwin - -master_sites sourceforge - -checksums md5 %MD5% \ - sha1 %SHA1% \ - rmd160 %RMD160% - -depends_build port:rb-rake -depends_run port:facter - -worksrcdir ${worksrcdir}/client -use_configure no -build {} -destroot.cmd ${prefix}/bin/rake -destroot.target install\[${destroot}\] -destroot.destdir - Copied: trunk/client/Portfile.template (from rev 240, trunk/client/Portfile) =================================================================== --- trunk/client/Portfile.template (rev 0) +++ trunk/client/Portfile.template 2010-12-22 21:03:55 UTC (rev 241) @@ -0,0 +1,41 @@ +# -*- 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 +PortGroup ruby 1.0 + +name etch +version %VER% +categories sysutils +maintainers aput.net:jheiss openmaintainer +supported_archs noarch + +description Etch is a system configuration management tool. + +long_description Etch is a tool for managing the configuration of \ + Unix systems. Etch can manage text or binary \ + files, links and directories. The contents of \ + files can be supplied from static files or \ + generated on the fly by scripts or templates. \ + Permissions and ownership as well as any pre or \ + post commands to run when updating the file are \ + configured in simple XML files. + +homepage http://etch.sourceforge.net/ +platforms darwin + +master_sites sourceforge + +checksums md5 %MD5% \ + sha1 %SHA1% \ + rmd160 %RMD160% + +depends_build port:rb-rake +depends_run port:facter + +worksrcdir ${worksrcdir}/client +use_configure no +build {} +destroot.cmd ${prefix}/bin/rake +destroot.target install\[${destroot}\] +destroot.destdir Modified: trunk/client/Rakefile =================================================================== --- trunk/client/Rakefile 2010-12-22 20:44:02 UTC (rev 240) +++ trunk/client/Rakefile 2010-12-22 21:03:55 UTC (rev 241) @@ -395,7 +395,7 @@ portfile = File.join(Dir.tmpdir, 'Portfile') rm_f(portfile) File.open(portfile, 'w') do |newfile| - IO.foreach('Portfile') do |line| + IO.foreach('Portfile.template') do |line| line.sub!('%VER%', ETCHVER) line.sub!('%MD5%', md5) line.sub!('%SHA1%', sha1) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |