[46298] trunk/dports/math

ryandesign at macports.org ryandesign at macports.org
Sun Feb 1 23:14:52 PST 2009


Revision: 46298
          http://trac.macports.org/changeset/46298
Author:   ryandesign at macports.org
Date:     2009-02-01 23:14:51 -0800 (Sun, 01 Feb 2009)
Log Message:
-----------
pure-gsl: new port, version 0.4; see #18320

Modified Paths:
--------------
    trunk/dports/math/pure-gsl/Portfile
    trunk/dports/math/pure-gsl/files/patch-Makefile.diff

Added Paths:
-----------
    trunk/dports/math/pure-gsl/

Modified: trunk/dports/math/pure-gsl/Portfile
===================================================================
--- trunk/dports/devel/pure-ffi/Portfile	2009-02-02 06:14:42 UTC (rev 46295)
+++ trunk/dports/math/pure-gsl/Portfile	2009-02-02 07:14:51 UTC (rev 46298)
@@ -2,32 +2,30 @@
 
 PortSystem                      1.0
 
-name                            pure-ffi
-version                         0.3
-categories                      devel
+name                            pure-gsl
+version                         0.4
+categories                      math science
 platforms                       darwin
 maintainers                     ryandesign
 use_parallel_build              yes
 homepage                        http://pure-lang.googlecode.com/
 master_sites                    ${homepage}files/
 
-description                     an interface to libffi which enables you to \
-                                call C functions from Pure and vice versa
+description                     a wrapper to call GNU Scientific Library \
+                                functions from Pure
 
-long_description                ${name} provides ${description}. It goes \
-                                beyond Pure's built-in C interface in that \
-                                it also handles C structs and makes Pure \
-                                functions callable from C. Moreover, \
-                                depending on the libffi implementation, it \
-                                may also be possible to call foreign \
-                                languages other than C.
+long_description                ${name} aims to provide a complete wrapper \
+                                for the GNU Scientific Library which provides \
+                                a wide range of mathematical routines useful \
+                                for scientific programming, number crunching \
+                                and signal processing applications.
 
-checksums                       md5     8030fbff0c2fff58861f05850d2a0911 \
-                                sha1    62d8f8e85aa8925fb2b41a9df9e44b1bae39d3ab \
-                                rmd160  d607e91265866e908364143634a30a037a5c4219
+checksums                       md5     b90a66dc18024b554662f34c033e5b45 \
+                                sha1    bb89afdc3c625a2549e9518d3439094f4adcd246 \
+                                rmd160  58d82ad8ebba3507d1c3103b5690c862f1d46a80
 
 depends_lib-append              path:lib/libpure.dylib:pure \
-                                port:libffi
+                                port:gsl
 
 patchfiles                      patch-Makefile.diff
 

Modified: trunk/dports/math/pure-gsl/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/pure-ffi/files/patch-Makefile.diff	2009-02-02 06:14:42 UTC (rev 46295)
+++ trunk/dports/math/pure-gsl/files/patch-Makefile.diff	2009-02-02 07:14:51 UTC (rev 46298)
@@ -1,20 +1,20 @@
---- Makefile.orig	2009-01-29 17:33:22.000000000 -0600
-+++ Makefile	2009-02-01 20:39:26.000000000 -0600
-@@ -54,14 +54,14 @@
- all: ffi$(DLL)
+--- Makefile.orig 2009-01-29 18:44:26.000000000 -0600
++++ Makefile 2009-02-01 21:02:34.000000000 -0600
+@@ -52,14 +52,14 @@
+ all: gsl$(DLL)
  
- ffi$(DLL): ffi.c
--	gcc $(shared) -o $@ $< $(FLAGS) -lffi -lpure -lgmp $(LIBS)
-+	$(CC) $(shared) -o $@ $< $(FLAGS) -lffi -lpure -lgmp $(LIBS)
+ gsl$(DLL): gsl.c
+-	gcc $(shared) -o $@ $< $(FLAGS) -lgsl -lgslcblas -lm -lpure $(LIBS)
++	$(CC) $(shared) -o $@ $< $(FLAGS) -lgsl -lgslcblas -lm -lpure $(LIBS)
  
  clean:
  	rm -f *$(DLL) *~ *.a *.o
  
  install:
 -	test -d "$(DESTDIR)$(libdir)/pure" || mkdir -p "$(DESTDIR)$(libdir)/pure"
--	cp ffi.pure ffi$(DLL) "$(DESTDIR)$(libdir)/pure"
+-	cp gsl.pure gsl$(DLL) "$(DESTDIR)$(libdir)/pure"
 +	test -d "$(DESTDIR)`readlink $(libdir)/pure`" || mkdir -p "$(DESTDIR)`readlink $(libdir)/pure`"
-+	cp ffi.pure ffi$(DLL) "$(DESTDIR)`readlink $(libdir)/pure`"
++	cp gsl.pure gsl$(DLL) "$(DESTDIR)`readlink $(libdir)/pure`"
  
  uninstall:
- 	rm -f "$(DESTDIR)$(libdir)/pure/ffi.pure" "$(DESTDIR)$(libdir)/pure/ffi$(DLL)"
+ 	rm -f "$(DESTDIR)$(libdir)/pure/gsl.pure" "$(DESTDIR)$(libdir)/pure/gsl$(DLL)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090201/fec06fdd/attachment.html>


More information about the macports-changes mailing list