1 | # $Id: $ |
---|
2 | PortSystem 1.0 |
---|
3 | name pcal |
---|
4 | version 4.9.1 |
---|
5 | categories print |
---|
6 | maintainers sam.falkner@gmail.com |
---|
7 | description PostScript calendar program |
---|
8 | long_description "Pcal" is a program to print PostScript calendars for any \ |
---|
9 | month and year. By default, it looks for a file in the \ |
---|
10 | home directory named "calendar" for entries with leading \ |
---|
11 | dates matching dates on the calendar, and prints any \ |
---|
12 | following text under the appropriate day. |
---|
13 | homepage http://pcal.sourceforge.net/ |
---|
14 | master_sites sourceforge |
---|
15 | distfiles ${distname}.tgz |
---|
16 | checksums md5 7646ae0b539466696484f311d79b2b02 |
---|
17 | configure { |
---|
18 | reinplace "s|^BINDIR.*|BINDIR = ${destroot}${prefix}/bin|" \ |
---|
19 | "${worksrcpath}/Makefile" |
---|
20 | reinplace "s|^MANDIR.*|MANDIR = ${destroot}${prefix}/share/man/man1|" \ |
---|
21 | "${worksrcpath}/Makefile" |
---|
22 | reinplace "s|^CATDIR.*|CATDIR = ${destroot}${prefix}/share/cat/cat1|" \ |
---|
23 | "${worksrcpath}/Makefile" |
---|
24 | } |
---|
25 | build.target |
---|
26 | variant a4 { |
---|
27 | reinplace "s|PAPERSIZE_DEFAULT.PAPERSIZE_LETTER|PAPERSIZE_DEFAULT PAPERSIZE_A4" \ |
---|
28 | "${worksrcpath}/src/pcalpapr.h" |
---|
29 | } |
---|
30 | destroot.destdir prefix=${destroot}${prefix} |
---|
31 | build.type gnu |
---|