595c04bd6d
Previous homepage under http://untrepid.com/acidrip/lsdvd.html is no longer available. Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
22 lines
764 B
Ruby
22 lines
764 B
Ruby
require 'formula'
|
|
|
|
class Lsdvd < Formula
|
|
url 'http://downloads.sourceforge.net/project/lsdvd/lsdvd/0.16%20-%20I%20hate%20James%20Blunt/lsdvd-0.16.tar.gz'
|
|
homepage 'http://sourceforge.net/projects/lsdvd'
|
|
md5 '340e1abe5c5e5abf7ff8031e78f49ee7'
|
|
|
|
depends_on 'libdvdread'
|
|
depends_on 'libdvdcss' => :optional
|
|
|
|
def install
|
|
system "./configure", "--disable-debug", "--disable-dependency-tracking",
|
|
"--prefix=#{prefix}", "--mandir=#{man}"
|
|
system "make install"
|
|
end
|
|
def patches
|
|
{:p0 => [
|
|
"http://svn.macports.org/repository/macports/trunk/dports/sysutils/lsdvd/files/patch-configure.diff",
|
|
"http://svn.macports.org/repository/macports/trunk/dports/sysutils/lsdvd/files/patch-lsdvd_c.diff"
|
|
]}
|
|
end
|
|
end
|