[98823] trunk/dports/science

macsforever2000 at macports.org macsforever2000 at macports.org
Wed Oct 17 08:43:39 PDT 2012


Revision: 98823
          http://trac.macports.org//changeset/98823
Author:   macsforever2000 at macports.org
Date:     2012-10-17 08:43:39 -0700 (Wed, 17 Oct 2012)
Log Message:
-----------
exodriver: new port

Added Paths:
-----------
    trunk/dports/science/exodriver/
    trunk/dports/science/exodriver/Portfile

Added: trunk/dports/science/exodriver/Portfile
===================================================================
--- trunk/dports/science/exodriver/Portfile	                        (rev 0)
+++ trunk/dports/science/exodriver/Portfile	2012-10-17 15:43:39 UTC (rev 98823)
@@ -0,0 +1,39 @@
+# -*- 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
+PortGroup           github 1.0
+
+set git_tag         e04b0b6
+github.setup        labjack exodriver ${git_tag}
+
+version             2.5.1
+license             MIT
+categories          science
+maintainers         macsforever2000 openmaintainer
+description         The Exodriver is a thin interface (think exoskeleton) to LabJack devices.
+long_description    The Exodriver is a thin interface (think exoskeleton) to LabJack devices. \
+                    The library can open, close, read from, and write to a LabJack U3, U6, UE9, and U12.
+platforms           darwin
+homepage            http://labjack.com/support/linux-and-mac-os-x-drivers
+
+checksums           rmd160  2d5b5b7c0204d6f779c26c88188b6f3f1eff3ead \
+                    sha256  1133287818af9c42dec109da4770aee6935828da480f2b131bb7c1c68c846845
+
+worksrcdir          labjack-exodriver-${git_tag}/liblabjackusb
+
+depends_lib         port:libusb
+
+use_configure       no
+use_parallel_build  no
+
+build.args-append   CC=${configure.cc} \
+                    CXX=${configure.cxx} \
+                    CPP=${configure.cpp}
+
+post-patch {
+    reinplace "s|/usr/local|${destroot}${prefix}|g" Makefile
+    reinplace "s|-lusb-1.0|-L${prefix}/lib -lusb-1.0|g" Makefile
+}
+
+livecheck.type      none
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121017/fa7aa132/attachment.html>


More information about the macports-changes mailing list