[125372] trunk/dports/print/pcal/Portfile

khindenburg at macports.org khindenburg at macports.org
Sun Sep 14 18:59:46 PDT 2014


Revision: 125372
          https://trac.macports.org/changeset/125372
Author:   khindenburg at macports.org
Date:     2014-09-14 18:59:45 -0700 (Sun, 14 Sep 2014)
Log Message:
-----------
pcal: update to 4.11.0 - fix reinplaces and variant - maintainer timeout #20786

Modified Paths:
--------------
    trunk/dports/print/pcal/Portfile

Modified: trunk/dports/print/pcal/Portfile
===================================================================
--- trunk/dports/print/pcal/Portfile	2014-09-14 21:24:39 UTC (rev 125371)
+++ trunk/dports/print/pcal/Portfile	2014-09-15 01:59:45 UTC (rev 125372)
@@ -1,7 +1,7 @@
 # $Id$
 PortSystem     1.0
 name           pcal
-version        4.9.1
+version        4.11.0
 categories     print
 platforms      darwin
 maintainers    gmail.com:sam.falkner
@@ -14,19 +14,24 @@
 homepage          http://pcal.sourceforge.net/
 master_sites      sourceforge
 extract.suffix    .tgz
-checksums         md5 7646ae0b539466696484f311d79b2b02
+
+checksums      rmd160  f2c6d061ff0abbb01c33b8d7617f3e1c03e967c5 \
+               sha256  8406190e7912082719262b71b63ee31a98face49aa52297db96cc0c970f8d207
+
 configure         {
-   reinplace "s|^BINDIR.*|BINDIR = ${destroot}${prefix}/bin|" \
+   reinplace "s|BINDIR = .*|BINDIR = ${destroot}${prefix}/bin|" \
              "${worksrcpath}/Makefile"
-   reinplace "s|^MANDIR.*|MANDIR = ${destroot}${prefix}/share/man/man1|" \
+   reinplace "s|MANDIR = .*|MANDIR = ${destroot}${prefix}/share/man/man1|" \
              "${worksrcpath}/Makefile"
-   reinplace "s|^CATDIR.*|CATDIR = ${destroot}${prefix}/share/cat/cat1|" \
+   reinplace "s|CATDIR = .*|CATDIR = ${destroot}${prefix}/share/cat/cat1|" \
              "${worksrcpath}/Makefile"
 }
 build.target
 variant a4 {
-   reinplace "s|PAPERSIZE_DEFAULT.PAPERSIZE_LETTER|PAPERSIZE_DEFAULT PAPERSIZE_A4" \
-             "${worksrcpath}/src/pcalpapr.h"
+    post-configure {
+        reinplace "s|D_BUILD_ENV)|D_BUILD_ENV) -DA4PAPER|" \
+                  "${worksrcpath}/Makefile"
+    }
 }
 destroot.destdir  prefix=${destroot}${prefix}
 build.type        gnu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140914/edb550b4/attachment.html>


More information about the macports-changes mailing list