[121264] users/devans/dports/graphics

devans at macports.org devans at macports.org
Sat Jun 21 13:06:51 PDT 2014


Revision: 121264
          https://trac.macports.org/changeset/121264
Author:   devans at macports.org
Date:     2014-06-21 13:06:51 -0700 (Sat, 21 Jun 2014)
Log Message:
-----------
devans/dports: libcdr, rename to libcdr-0.1, installs in parallel with existing libcdr.

Modified Paths:
--------------
    users/devans/dports/graphics/libcdr-0.1/Portfile

Added Paths:
-----------
    users/devans/dports/graphics/libcdr-0.1/

Removed Paths:
-------------
    users/devans/dports/graphics/libcdr/

Modified: users/devans/dports/graphics/libcdr-0.1/Portfile
===================================================================
--- users/devans/dports/graphics/libcdr/Portfile	2014-06-12 23:51:57 UTC (rev 120970)
+++ users/devans/dports/graphics/libcdr-0.1/Portfile	2014-06-21 20:06:51 UTC (rev 121264)
@@ -3,7 +3,8 @@
 
 PortSystem      1.0
 
-name            libcdr
+name            libcdr-0.1
+set dname       libcdr
 version         0.1.0
 categories      graphics
 license         {GPL-2.1+ LGPL-2.1+ MPL-1.1+}
@@ -12,15 +13,15 @@
 homepage        http://www.freedesktop.org/wiki/Software/libcdr
 master_sites    http://dev-www.libreoffice.org/src/
 
-description \
-    Libcdr is a library and a set of tools for reading and converting binary files \
-    produced by Corel DRAW.
+description     Libcdr is a library and a set of tools for reading and converting binary files \
+                produced by Corel DRAW.
 
-long_description \
-    ${description}
+long_description ${description}
 
 use_xz          yes
 
+distname        ${dname}-${version}
+
 checksums       sha256  a9bd1faca049cf1e2285b27da213a499434591919227beb209b191ad1bb240e8 \
                 rmd160  2d249e5367f1355536a38a7691e09bbc41e9b8c4
 
@@ -46,6 +47,12 @@
     configure.args-replace --without-docs --with-docs
 }
 
+# delete binaries that conflict with libcdr
+
+post-destroot {
+    file delete -force ${destroot}${prefix}/bin
+}
+
 livecheck.type  regex
 livecheck.url   ${master_sites}
-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
+livecheck.regex "${dname}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140621/f23d7b7a/attachment-0001.html>


More information about the macports-changes mailing list