aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/libsgml.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/libsgml.rb')
-rw-r--r--Library/Formula/libsgml.rb23
1 files changed, 7 insertions, 16 deletions
diff --git a/Library/Formula/libsgml.rb b/Library/Formula/libsgml.rb
index a4e325bd5..a790faa3f 100644
--- a/Library/Formula/libsgml.rb
+++ b/Library/Formula/libsgml.rb
@@ -6,13 +6,13 @@ class Libsgml < Formula
md5 'a3ba2f8c19faf1a53182d9c6fab22e58'
def patches
- macports_patches %w[
- patch-examples_variant.c.diff
- patch-src_Variant.c.diff
- patch-Makefile.in.diff
- patch-configure.in.diff
- patch-src_Makefile.in.diff
- ]
+ { :p0 => [
+ "https://trac.macports.org/export/89276/trunk/dports/textproc/libsgml/files/patch-examples_variant.c.diff",
+ "https://trac.macports.org/export/89276/trunk/dports/textproc/libsgml/files/patch-src_Variant.c.diff",
+ "https://trac.macports.org/export/89276/trunk/dports/textproc/libsgml/files/patch-Makefile.in.diff",
+ "https://trac.macports.org/export/89276/trunk/dports/textproc/libsgml/files/patch-configure.in.diff",
+ "https://trac.macports.org/export/89276/trunk/dports/textproc/libsgml/files/patch-src_Makefile.in.diff"
+ ] }
end
def install
@@ -22,13 +22,4 @@ class Libsgml < Formula
system "make"
system "make install"
end
-
- def macports_patches(files)
- { :p0 => 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