source: trunk/dports/print/pcal/Portfile @ 108990

Last change on this file since 108990 was 108990, checked in by ryandesign@…, 6 years ago

pcal: fix livecheck (#20786)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.3 KB
Line 
1# $Id: Portfile 108990 2013-08-05 20:16:47Z ryandesign@macports.org $
2PortSystem     1.0
3name           pcal
4version        4.9.1
5categories     print
6platforms      darwin
7maintainers    gmail.com:sam.falkner
8description    PostScript calendar program
9long_description  "Pcal" is a program to print PostScript calendars for any \
10                  month and year.  By default, it looks for a file in the \
11                  home directory named "calendar" for entries with leading \
12                  dates matching dates on the calendar, and prints any \
13                  following text under the appropriate day.
14homepage          http://pcal.sourceforge.net/
15master_sites      sourceforge
16extract.suffix    .tgz
17checksums         md5 7646ae0b539466696484f311d79b2b02
18configure         {
19   reinplace "s|^BINDIR.*|BINDIR = ${destroot}${prefix}/bin|" \
20             "${worksrcpath}/Makefile"
21   reinplace "s|^MANDIR.*|MANDIR = ${destroot}${prefix}/share/man/man1|" \
22             "${worksrcpath}/Makefile"
23   reinplace "s|^CATDIR.*|CATDIR = ${destroot}${prefix}/share/cat/cat1|" \
24             "${worksrcpath}/Makefile"
25}
26build.target
27variant a4 {
28   reinplace "s|PAPERSIZE_DEFAULT.PAPERSIZE_LETTER|PAPERSIZE_DEFAULT PAPERSIZE_A4" \
29             "${worksrcpath}/src/pcalpapr.h"
30}
31destroot.destdir  prefix=${destroot}${prefix}
32build.type        gnu
33
34livecheck.regex   /[suffix ${name}-(\[0-9.\]+)]
Note: See TracBrowser for help on using the repository browser.