Package: pcal
Version: 4.11.0
Revision: 3
Description: Generates PostScript calendars
License: Artistic
Homepage: http://pcal.sourceforge.net
Maintainer: Monic Polynomial <monipol@users.sourceforge.net>

Source: mirror:sourceforge:%n/%n-%v.tgz
Source-Checksum: SHA256(8406190e7912082719262b71b63ee31a98face49aa52297db96cc0c970f8d207)

PatchFile: %n.patch
PatchFile-MD5: 6c6a0f3b2ce883e2c46b11d11f4c0ab4

BuildDepends: fink (>= 0.24.12)

CompileScript: make

InstallScript: <<
#!/bin/bash -ev
make install DESTDIR=%i INSTALLMAN1DIR=%i/share/man/man1
/usr/bin/install -d -m 700 %i/share/%n
for d in examples scripts html eps
do
  /bin/cp -r $d %i/share/%n
done
/bin/chmod -R go=u-w %i/share/%n
<<

DocFiles: doc/ReadMe.txt doc/pcal-help.ps doc/pcal-help.html doc/pcal-help.txt

DescDetail: <<
pcal generates PostScript to produce landscape or portrait calendars for any
month and year. By default, pcal simply prints an empty calendar. However, by
setting a date/configuration file, it is possible to place events in the
appropriate dates of the calendar.
<<

DescUsage: <<
# Writes a whole-year 2009 calendar to 2009cal.ps
pcal 2009 -o 2009cal.ps

# Writes the April 2009 calendar to april2009cal.ps
pcal 4 2009 -o april2009cal.ps

Check the man page and the documentation for more elaborate uses of pcal,
including the syntax of date/configuration files.

The directory %p/share/pcal contains the following subdirectories:
- 'examples': date/configuration files with national holidays
- 'scripts': shell scripts that show how to automate tasks involving calendars
- 'html': bash and Perl CGI scripts
- 'eps': the recycle icon in EPS format
<<