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

class Webfs < Formula
  url 'http://dl.bytesex.org/releases/webfs/webfs-1.21.tar.gz'
  homepage 'http://linux.bytesex.org/misc/webfs.html'
  sha1 'a38880d8cb21e415244d220115ede7b573ac890c'

  def patches
    {:p0 => "https://trac.macports.org/export/21504/trunk/dports/www/webfs/files/patch-ls.c"}
  end

  def install
    ENV["prefix"]=prefix
    system "make install mimefile=/etc/apache2/mime.types"
  end
end