[125374] trunk/dports/print/pcal/Portfile
khindenburg at macports.org
khindenburg at macports.org
Sun Sep 14 19:15:25 PDT 2014
Revision: 125374
https://trac.macports.org/changeset/125374
Author: khindenburg at macports.org
Date: 2014-09-14 19:15:24 -0700 (Sun, 14 Sep 2014)
Log Message:
-----------
pcal: add modeline + whitespace
Modified Paths:
--------------
trunk/dports/print/pcal/Portfile
Modified: trunk/dports/print/pcal/Portfile
===================================================================
--- trunk/dports/print/pcal/Portfile 2014-09-15 02:11:45 UTC (rev 125373)
+++ trunk/dports/print/pcal/Portfile 2014-09-15 02:15:24 UTC (rev 125374)
@@ -1,40 +1,47 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
-PortSystem 1.0
-name pcal
-version 4.11.0
-categories print
-platforms darwin
-license Unknown
-maintainers gmail.com:sam.falkner
-description PostScript calendar program
-long_description "Pcal" is a program to print PostScript calendars for any \
- month and year. By default, it looks for a file in the \
- home directory named "calendar" for entries with leading \
- dates matching dates on the calendar, and prints any \
- following text under the appropriate day.
-homepage http://pcal.sourceforge.net/
-master_sites sourceforge
-extract.suffix .tgz
-checksums rmd160 f2c6d061ff0abbb01c33b8d7617f3e1c03e967c5 \
- sha256 8406190e7912082719262b71b63ee31a98face49aa52297db96cc0c970f8d207
+PortSystem 1.0
-configure {
- reinplace "s|BINDIR = .*|BINDIR = ${destroot}${prefix}/bin|" \
- "${worksrcpath}/Makefile"
- reinplace "s|MANDIR = .*|MANDIR = ${destroot}${prefix}/share/man/man1|" \
- "${worksrcpath}/Makefile"
- reinplace "s|CATDIR = .*|CATDIR = ${destroot}${prefix}/share/cat/cat1|" \
- "${worksrcpath}/Makefile"
+name pcal
+version 4.11.0
+categories print
+platforms darwin
+license Unknown
+maintainers gmail.com:sam.falkner
+description PostScript calendar program
+long_description "Pcal" is a program to print PostScript calendars for any \
+ month and year. By default, it looks for a file in the \
+ home directory named "calendar" for entries with leading \
+ dates matching dates on the calendar, and prints any \
+ following text under the appropriate day.
+
+homepage http://pcal.sourceforge.net/
+master_sites sourceforge
+extract.suffix .tgz
+
+checksums rmd160 f2c6d061ff0abbb01c33b8d7617f3e1c03e967c5 \
+ sha256 8406190e7912082719262b71b63ee31a98face49aa52297db96cc0c970f8d207
+
+configure {
+ reinplace "s|BINDIR = .*|BINDIR = ${destroot}${prefix}/bin|" \
+ "${worksrcpath}/Makefile"
+ reinplace "s|MANDIR = .*|MANDIR = ${destroot}${prefix}/share/man/man1|" \
+ "${worksrcpath}/Makefile"
+ reinplace "s|CATDIR = .*|CATDIR = ${destroot}${prefix}/share/cat/cat1|" \
+ "${worksrcpath}/Makefile"
}
+
build.target
+
variant a4 description {Use A4 size paper as the default} {
post-configure {
reinplace "s|D_BUILD_ENV)|D_BUILD_ENV) -DA4PAPER|" \
"${worksrcpath}/Makefile"
}
}
-destroot.destdir prefix=${destroot}${prefix}
-build.type gnu
-livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
+destroot.destdir prefix=${destroot}${prefix}
+build.type gnu
+
+livecheck.regex /${name}-(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140914/a4c847f1/attachment-0001.html>
More information about the macports-changes
mailing list