[101645] trunk/dports/textproc/libxl/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Jan 15 19:57:35 PST 2013


Revision: 101645
          https://trac.macports.org/changeset/101645
Author:   ryandesign at macports.org
Date:     2013-01-15 19:57:35 -0800 (Tue, 15 Jan 2013)
Log Message:
-----------
libxl: update to 3.4.1.4; install documentation files; update livecheck

Modified Paths:
--------------
    trunk/dports/textproc/libxl/Portfile

Modified: trunk/dports/textproc/libxl/Portfile
===================================================================
--- trunk/dports/textproc/libxl/Portfile	2013-01-16 03:40:52 UTC (rev 101644)
+++ trunk/dports/textproc/libxl/Portfile	2013-01-16 03:57:35 UTC (rev 101645)
@@ -4,7 +4,8 @@
 PortSystem          1.0
 
 name                libxl
-version             3.2.4
+version             3.4.1.4
+set branch          [join [lrange [split ${version} .] 0 2] .]
 categories          textproc
 platforms           darwin
 maintainers         ryandesign openmaintainer
@@ -12,14 +13,15 @@
 
 description         library for reading and writing Microsoft Excel files
 
-long_description    LibXL is a ${description}.
+long_description    LibXL is a commercial ${description}.
 
 homepage            http://www.libxl.com/
 master_sites        ${homepage}download
-distfiles           [suffix libxl-mac-${version}]
+dist_subdir         ${name}/${version}
+distfiles           [suffix libxl-mac-${branch}]
 
-checksums           rmd160  d9c434717dcdb967c59bee45014588a50c3a9c88 \
-                    sha256  63a618110d775db735c96c220ec8e6b5bf64ec4504900a0312bd1f25a9a9854d
+checksums           rmd160  5beeeb5a80172242021df668832dcedf9bb4bb82 \
+                    sha256  09648279bcf60d2a2884424bd15777b142e9604ab216aac5fa73c74bc1666184
 
 use_configure       no
 
@@ -46,12 +48,15 @@
     # which could conflict with other projects.
     copy ${worksrcpath}/include_c ${destroot}${prefix}/include/libxl-c
     copy ${worksrcpath}/include_cpp ${destroot}${prefix}/include/libxl-cpp
+
+    xinstall -d ${destroot}${prefix}/share/doc ${destroot}${prefix}/share/examples
+    copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${subport}
+    xinstall -W 644 -W ${worksrcpath} changelog.txt license.txt readme.txt ${destroot}${prefix}/share/doc/${subport}
+    copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${subport}
 }
 
-# I'd use ${homepage}download.html except that their server sniffs for and
-# prevents access from curl.
-livecheck.url       http://www.softpedia.com/get/Programming/Components-Libraries/LibXL.shtml
-livecheck.regex     {LibXL ([0-9.]+)}
+livecheck.url       ${homepage}download.html
+livecheck.regex     {LibXL for Mac ([0-9.]+)}
 
 notes "
 LibXL is commercial software that requires a license to unlock all features.\
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130115/c436fae1/attachment.html>


More information about the macports-changes mailing list