From d81383ff398d42863a3d8967efbe2cd65cdbe509 Mon Sep 17 00:00:00 2001 From: Martin Kuehl Date: Sat, 6 Mar 2010 09:10:36 +0100 Subject: [PATCH] New formula: libsgml Signed-off-by: Adam Vandenberg --- Formula/libsgml.rb | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 Formula/libsgml.rb diff --git a/Formula/libsgml.rb b/Formula/libsgml.rb new file mode 100644 index 00000000000..51ea4a1ecf9 --- /dev/null +++ b/Formula/libsgml.rb @@ -0,0 +1,34 @@ +require 'formula' + +class Libsgml files.collect { |file| macports_patch_url('textproc', file) } } + end + + def macports_patch_url(group, file) + template = 'http://svn.macports.org/repository/macports/trunk/dports/%s/%s/files/%s' + template % [group, name, file] + end +end