[19799] trunk/dports/math/lp_solve/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Sat Sep 30 10:25:30 PDT 2006


Revision: 19799
          http://trac.macosforge.org/projects/macports/changeset/19799
Author:   markd at macports.org
Date:     2006-09-30 10:25:30 -0700 (Sat, 30 Sep 2006)

Log Message:
-----------
Closes 10760.  Upidate to 5.5.0.8.

Modified Paths:
--------------
    trunk/dports/math/lp_solve/Portfile

Modified: trunk/dports/math/lp_solve/Portfile
===================================================================
--- trunk/dports/math/lp_solve/Portfile	2006-09-30 17:14:57 UTC (rev 19798)
+++ trunk/dports/math/lp_solve/Portfile	2006-09-30 17:25:30 UTC (rev 19799)
@@ -3,30 +3,35 @@
 PortSystem 1.0
 
 name			lp_solve
-version			4.0
+version			5.5.0.8
 categories		math
 platforms		darwin
 maintainers		mww at opendarwin.org
 description		Linear Programming Solver
-long_description	This is the lp_solve, A free linear programming solver \
-			that can process standard MPL format, LP format or be accessed \
-			directly from your code via API calls from a library. This \
-			lp_solve versions is released under the LGPL license.
+long_description	Mixed Integer Linear Programming (MILP) solver. \
+					lp_solve solves pure linear, (mixed) integer/binary, \
+					semi-continuous and special ordered sets (SOS) models. \
+					lp_solve is written in ANSI C and can be compiled on \
+					many different platforms like Mac OS X, Linux and Windows.
 
-homepage		http://groups.yahoo.com/group/lp_solve/
-master_sites	ftp://ftp.es.ele.tue.nl/pub/lp_solve/old_versions_which_you_probably_dont_want/ freebsd
-distname		${name}_${version}
-checksums		md5 58892f708d7f78664bce80c1ebc250f9
+homepage		http://lpsolve.sourceforge.net/5.5/
+master_sites	sourceforge:lpsolve
+distname		${name}_${version}_source
+worksrcdir		${name}_5.5
+checksums		md5 35e5a07e87ad1d63051aeb26335f56dc \
+				sha1 d71cceee3f624d72edb2a6eee199abc7660d8262 \
+				rmd160 f94745272f23c508c0b375ccf9ab71463981a090
 
 use_configure	no
+set worksrcpath ${workpath}/${worksrcdir}
+build.cmd		cd ${worksrcpath}/lpsolve55/ && sh ./ccc.osx && \
+				cd ${worksrcpath}/lp_solve/ && sh ./ccc.osx
+build.args		{}
 
 destroot {
-	xinstall -m 755 -W ${worksrcpath} lp2mps lp_solve mps2lp \
-		${destroot}${prefix}/bin
-	xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/examples
-	xinstall -m 644 -W ${worksrcpath} HARTMUT_DOCUMENTATION MPS.description \
-		SOSInterpolation.pdf ${destroot}${prefix}/share/doc/${name}
-	eval xinstall -m 644 [glob ${worksrcpath}/lp_examples/*] \
-		${destroot}${prefix}/share/doc/${name}/examples
+	xinstall -m 755 -W ${worksrcpath}/lpsolve55 \
+		liblpsolve55.a liblpsolve55.dylib ${destroot}${prefix}/lib
+	xinstall -m 755 -W ${worksrcpath}/lp_solve \
+		lp_solve ${destroot}${prefix}/bin
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20060930/07c8cca5/attachment.html


More information about the macports-changes mailing list