diff options
| author | Stephan Hügel | 2012-01-01 18:17:25 +0000 |
|---|---|---|
| committer | Adam Vandenberg | 2012-04-17 21:14:06 -0700 |
| commit | fbf12f34763f723f803f36041988bc20143eb061 (patch) | |
| tree | 04afc26f9dc72d615e6720691af1a2824582835e /Library/Formula/pcal.rb | |
| parent | 3514eb5456a88eee3cb6ec7f9615a23fbcd7c424 (diff) | |
| download | homebrew-fbf12f34763f723f803f36041988bc20143eb061.tar.bz2 | |
pcal 4.11.0
Pcal is used to create monthly-format paper calendars in PostScript format
These can be output directly to PDF. Example:
http://www.leancrew.com/all-this/2012/01/paper-calendars-with-pcal/
Closes #9374.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula/pcal.rb')
| -rw-r--r-- | Library/Formula/pcal.rb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Library/Formula/pcal.rb b/Library/Formula/pcal.rb new file mode 100644 index 000000000..eadddd861 --- /dev/null +++ b/Library/Formula/pcal.rb @@ -0,0 +1,23 @@ +require 'formula' + +class Pcal < Formula + homepage 'http://pcal.sourceforge.net/' + url 'http://downloads.sourceforge.net/project/pcal/pcal/pcal-4.11.0/pcal-4.11.0.tgz' + md5 '0ed7e9bec81fe3bdd62f8af283bef704' + + skip_clean :all + + def install + ENV.deparallelize + system "make", "CC=#{ENV.cc}", "CFLAGS=#{ENV.cflags}" + + # Install manually; easier than fixing paths in makefile + bin.install 'exec/pcal' + man1.install gzip('doc/pcal.man') => 'pcal.1.gz' + end + + + def test + system "#{bin}/pcal" + end +end |
