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

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2PortSystem     1.0
3name           pcal
4version        4.9.1
5categories     print
6maintainers    gmail.com:sam.falkner
7description    PostScript calendar program
8long_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.
13homepage          http://pcal.sourceforge.net/
14master_sites      sourceforge
15distfiles         ${distname}.tgz
16checksums         md5 7646ae0b539466696484f311d79b2b02
17configure         {
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}
25build.target
26variant a4 {
27   reinplace "s|PAPERSIZE_DEFAULT.PAPERSIZE_LETTER|PAPERSIZE_DEFAULT PAPERSIZE_A4" \
28             "${worksrcpath}/src/pcalpapr.h"
29}
30destroot.destdir  prefix=${destroot}${prefix}
31build.type        gnu
Note: See TracBrowser for help on using the repository browser.