[80400] trunk/dports/science/indi/Portfile
ryandesign at macports.org
ryandesign at macports.org
Tue Jul 12 01:48:06 PDT 2011
Revision: 80400
http://trac.macports.org/changeset/80400
Author: ryandesign at macports.org
Date: 2011-07-12 01:48:04 -0700 (Tue, 12 Jul 2011)
Log Message:
-----------
indi: update to 0.8, enable cfitsio, use cmake portgroup, update master_sites for sourceforge reorg, fix livecheck; see #30073
Modified Paths:
--------------
trunk/dports/science/indi/Portfile
Modified: trunk/dports/science/indi/Portfile
===================================================================
--- trunk/dports/science/indi/Portfile 2011-07-12 07:31:15 UTC (rev 80399)
+++ trunk/dports/science/indi/Portfile 2011-07-12 08:48:04 UTC (rev 80400)
@@ -1,10 +1,12 @@
# $Id$
PortSystem 1.0
+PortGroup cmake 1.0
name indi
-version 0.6
+version 0.8
+set branch [join [lrange [split ${version} .] 0 1] .]
categories science
@@ -19,31 +21,33 @@
transparent control over your instruments so you can get \
more science with less time.
-homepage http://www.indilib.org
+homepage http://www.indilib.org/
+master_sites sourceforge:project/indi/indilib/${branch}
platforms darwin
-distname libindi0_${version}
-master_sites sourceforge
+distname libindi_${version}
-checksums md5 49218ad15a40dfa8a2366a2694477595 \
- sha1 70b6a4cf4447874a0cf65dd8ece2d77dc397826d \
- rmd160 1ec9fd8daa04db458b80ab2e153a6025faa0406f
+checksums sha1 5bf30b66f57f4e5dd63b38798e9eacc853c59d9b \
+ rmd160 882f8f99df1d24fa36c58e2090a9f6baaee00df7
depends_lib port:libnova \
port:zlib \
- port:libusb
+ port:libusb \
+ port:boost \
+ port:libusb-compat \
+ port:cfitsio
depends_build port:cmake
-worksrcdir libindi0-${version}
+worksrcdir libindi-${version}
-configure.cmd ${prefix}/bin/cmake
-configure.pre_args -DCMAKE_INSTALL_PREFIX=${prefix} \
-configure.args -DWITH_CFITSIO=OFF \
+configure.args-append \
+ -DWITH_CFITSIO=ON \
-DWITH_FLI=OFF \
-DNOVA_INCLUDE_DIR=${prefix}/include/libnova \
-DNOVA_LIBRARIES=${prefix}/lib/libnova.a \
${worksrcpath}
-destroot.env CMAKE_INSTALL_PREFIX=${destroot}${prefix}
+livecheck.type sourceforge
+livecheck.regex /libindi_(\[0-9.\]+)${extract.suffix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110712/9c2fa266/attachment.html>
More information about the macports-changes
mailing list