Created
November 14, 2011 12:16
-
-
Save youpy/1363831 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'formula' | |
class Macports < Formula | |
url 'https://distfiles.macports.org/MacPorts/MacPorts-2.0.3.tar.gz' | |
homepage 'http://www.macports.org/' | |
md5 '7b84e27a6dda3ecd9a72c99c44b3b914' | |
# depends_on 'cmake' | |
def install | |
system "./configure", "--disable-debug", "--disable-dependency-tracking", | |
"--prefix=#{prefix}" | |
# system "cmake . #{std_cmake_parameters}" | |
system "make install" | |
end | |
def test | |
# This test will fail and we won't accept that! It's enough to just | |
# replace "false" with the main program this formula installs, but | |
# it'd be nice if you were more thorough. Test the test with | |
# `brew test MacPorts`. Remove this comment before submitting | |
# your pull request! | |
system "false" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment