[83569] trunk/dports/science/indi/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon Sep 5 19:17:18 PDT 2011
Revision: 83569
http://trac.macports.org/changeset/83569
Author: ryandesign at macports.org
Date: 2011-09-05 19:17:18 -0700 (Mon, 05 Sep 2011)
Log Message:
-----------
indi:
* use libnova dylib not static lib
* register the symlinks to the port
* clean up unregistered symlinks installed by prior versions
See #31050 (maintainer timeout)
Modified Paths:
--------------
trunk/dports/science/indi/Portfile
Modified: trunk/dports/science/indi/Portfile
===================================================================
--- trunk/dports/science/indi/Portfile 2011-09-06 01:53:24 UTC (rev 83568)
+++ trunk/dports/science/indi/Portfile 2011-09-06 02:17:18 UTC (rev 83569)
@@ -6,6 +6,7 @@
name indi
version 0.8
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
categories science
@@ -44,8 +45,16 @@
-DWITH_CFITSIO=ON \
-DWITH_FLI=OFF \
-DNOVA_INCLUDE_DIR=${prefix}/include/libnova \
- -DNOVA_LIBRARIES=${prefix}/lib/libnova.a \
+ -DNOVA_LIBRARIES=${prefix}/lib/libnova.dylib \
+ -DBUILD_ROOT=${destroot} \
${worksrcpath}
+pre-activate {
+ # Remove symlinks left behind by indi 0.8_0 and earlier.
+ foreach file {indi_lx200_16 indi_lx200ap indi_lx200autostar indi_lx200classic indi_lx200gps indi_tcfs3_focus} {
+ file delete -force ${prefix}/bin/${file}
+ }
+}
+
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/20110905/3665ffa1/attachment.html>
More information about the macports-changes
mailing list