aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/httping.rb
blob: 7681fec58a5d6c5e518b68dacd424e6db12f7278 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
require 'formula'

class Httping < Formula
  homepage 'http://www.vanheusden.com/httping/'
  url 'http://www.vanheusden.com/httping/httping-1.5.3.tgz'
  md5 '62879f0a2d70e32279081276d42aaa28'

  def patches
    # fixes conflicting definitions of strdup()
    { :p0 => 'https://trac.macports.org/export/88419/trunk/dports/net/httping/files/patch-strndup.diff' }
  end

  def install
    system "make", "install", "PREFIX=#{prefix}"
  end
end