[76339] trunk/dports/science/smodels/Portfile
snc at macports.org
snc at macports.org
Sun Feb 20 03:08:50 PST 2011
Revision: 76339
http://trac.macports.org/changeset/76339
Author: snc at macports.org
Date: 2011-02-20 03:08:49 -0800 (Sun, 20 Feb 2011)
Log Message:
-----------
smodels:
* don't hardcode /opt/local
* add livecheck
Modified Paths:
--------------
trunk/dports/science/smodels/Portfile
Modified: trunk/dports/science/smodels/Portfile
===================================================================
--- trunk/dports/science/smodels/Portfile 2011-02-20 11:05:32 UTC (rev 76338)
+++ trunk/dports/science/smodels/Portfile 2011-02-20 11:08:49 UTC (rev 76339)
@@ -26,11 +26,15 @@
configure.optflags -O3
patch {
- reinplace s|/usr/bin|/opt/local/bin|g ${worksrcpath}/Makefile
- reinplace s|/usr/local/lib|/opt/local/lib|g ${worksrcpath}/Makefile
+ reinplace s|/usr/bin|${prefix}/bin|g ${worksrcpath}/Makefile
+ reinplace s|/usr/local/lib|${prefix}/lib|g ${worksrcpath}/Makefile
reinplace "s|-O3 -Wall -W|${configure.cxxflags}|g" ${worksrcpath}/Makefile
}
use_configure no
notes "lparse is recommended for piping to smodels: `lparse | smodels`"
+
+livecheck.type regex
+livecheck.url ${homepage}
+livecheck.regex ${name}-(\\d+(\\.\\d+)+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110220/08ff5653/attachment.html>
More information about the macports-changes
mailing list