[76339] trunk/dports/science/smodels/Portfile
Revision: 76339 http://trac.macports.org/changeset/76339 Author: snc@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+)+)
participants (1)
-
snc@macports.org