[20648] trunk/dports/math

source_changes at macosforge.org source_changes at macosforge.org
Mon Nov 13 12:40:13 PST 2006


Revision: 20648
          http://trac.macosforge.org/projects/macports/changeset/20648
Author:   gwright at macports.org
Date:     2006-11-13 12:40:13 -0800 (Mon, 13 Nov 2006)

Log Message:
-----------
LiE 2.2.2, a program for Lie group calculations.

Added Paths:
-----------
    trunk/dports/math/LiE/
    trunk/dports/math/LiE/Portfile
    trunk/dports/math/LiE/files/
    trunk/dports/math/LiE/files/patch-Makefile

Added: trunk/dports/math/LiE/Portfile
===================================================================
--- trunk/dports/math/LiE/Portfile	                        (rev 0)
+++ trunk/dports/math/LiE/Portfile	2006-11-13 20:40:13 UTC (rev 20648)
@@ -0,0 +1,51 @@
+# $Id:$
+
+PortSystem 1.0
+name		LiE
+version		2.2.2
+categories	math
+maintainers	gwright at macports.org
+description	A computer algebra program for Lie group calculations
+long_description	\
+	LiE is a computer algebra system that is specialised in		\
+	computations involving (reductive) Lie groups and their		\
+	representations.
+
+homepage	http://young.sp2mi.univ-poitiers.fr/~marc/LiE/
+master_sites	${homepage}
+
+distfiles	conLiE${extract.suffix}
+
+checksums	md5 b6af27a24fd2ee39c7a15a7f5927af91		 \
+		sha1 92eb9283868cc46ae0b87c4dfd6f13631e046bee
+
+depends_lib	port:readline
+
+worksrcdir	${name}
+
+post-extract	{ system "chmod 775 ${worksrcpath}" }
+
+patchfiles	patch-Makefile
+
+use_configure	no
+
+destroot	{ set liedestlib ${destroot}${prefix}/lib/${name}-${version}
+		  file mkdir ${liedestlib}
+		  file copy ${worksrcpath}/Lie.exe   ${liedestlib}
+		  file copy ${worksrcpath}/INFO.0    ${liedestlib}
+		  file copy ${worksrcpath}/INFO.1    ${liedestlib}
+		  file copy ${worksrcpath}/INFO.2    ${liedestlib}
+		  file copy ${worksrcpath}/INFO.3    ${liedestlib}
+		  file copy ${worksrcpath}/INFO.4    ${liedestlib}
+		  file copy ${worksrcpath}/INFO.ind  ${liedestlib}
+		  file copy ${worksrcpath}/LEARN     ${liedestlib}
+		  file copy ${worksrcpath}/LEARN.ind ${liedestlib}
+
+                  set liedestbin ${destroot}${prefix}/bin
+		  file mkdir ${liedestbin}
+		  file copy ${worksrcpath}/lie_script ${liedestbin}
+
+		  reinplace "s|actual directory gets substituted here|${prefix}/lib/${name}-${version}|" ${liedestbin}/lie_script
+		  system "chmod +x ${liedestbin}/lie_script"
+		}
+

Added: trunk/dports/math/LiE/files/patch-Makefile
===================================================================
--- trunk/dports/math/LiE/files/patch-Makefile	                        (rev 0)
+++ trunk/dports/math/LiE/files/patch-Makefile	2006-11-13 20:40:13 UTC (rev 20648)
@@ -0,0 +1,11 @@
+--- Makefile.sav	2006-11-13 15:02:44.000000000 -0500
++++ Makefile	2006-11-13 15:04:34.000000000 -0500
+@@ -2,7 +2,7 @@
+ 
+ CFLAGS= -O
+ fixed-flags = -I$(srcdir) -I$(srcdir)/box
+-all-C-flags:= -ansi $(fixed-flags) $(CFLAGS)
++all-C-flags:= -ansi -D_ANSI_SOURCE $(fixed-flags) $(CFLAGS)
+ non-ansi-flags :=  $(fixed-flags) $(CFLAGS)
+ 
+ CC = gcc # some compiler for ANSI/ISO C

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061113/5ed516aa/attachment.html


More information about the macports-changes mailing list