[87736] trunk/dports/textproc

ryandesign at macports.org ryandesign at macports.org
Fri Dec 2 18:54:34 PST 2011


Revision: 87736
          http://trac.macports.org/changeset/87736
Author:   ryandesign at macports.org
Date:     2011-12-02 18:54:34 -0800 (Fri, 02 Dec 2011)
Log Message:
-----------
libxl: new port, version 3.2.3; see #32374

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

Added: trunk/dports/textproc/libxl/Portfile
===================================================================
--- trunk/dports/textproc/libxl/Portfile	                        (rev 0)
+++ trunk/dports/textproc/libxl/Portfile	2011-12-03 02:54:34 UTC (rev 87736)
@@ -0,0 +1,54 @@
+# -*- 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                libxl
+version             3.2.3
+categories          textproc
+platforms           darwin
+maintainers         ryandesign openmaintainer
+license             LibXL
+
+description         library for reading and writing Microsoft Excel files
+
+long_description    LibXL is a ${description}.
+
+homepage            http://www.libxl.com/
+master_sites        ${homepage}download
+distfiles           [suffix libxl-mac-${version}]
+
+checksums           rmd160  f22f793ed55ffefd3365626559c01bc8079c9544 \
+                    sha256  4396c41fdfa7fc9baa9e620f4a2766b66f0cb082dff8885e7b38ac77c16fb813
+
+use_configure       no
+
+variant universal {}
+
+supported_archs     i386 x86_64
+configure.universal_archs i386 x86_64
+
+set libxl           lib/libxl.dylib
+
+build {
+    system -W ${worksrcpath} "install_name_tool -id ${prefix}/${libxl} ${libxl}"
+    if {![variant_isset universal]} {
+        system -W ${worksrcpath} "lipo -extract ${configure.build_arch} ${libxl} -output ${libxl}"
+    }
+}
+
+destroot {
+    xinstall -m 644 ${worksrcpath}/${libxl} ${destroot}${prefix}/lib
+    # I don't know where the developers intend these to be installed but they
+    # need to be in separate directories because there are files of the same
+    # names with different contents. Having them directly in ${prefix}/include
+    # also seems inadvisable due to the generically-named enum.h and setup.h.
+    # which could conflict with other projects.
+    copy ${worksrcpath}/include_c ${destroot}${prefix}/include/libxl-c
+    copy ${worksrcpath}/include_cpp ${destroot}${prefix}/include/libxl-cpp
+}
+
+# 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.]+)}


Property changes on: trunk/dports/textproc/libxl/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111202/107db3d3/attachment.html>


More information about the macports-changes mailing list