[46299] trunk/dports/devel

ryandesign at macports.org ryandesign at macports.org
Sun Feb 1 23:44:47 PST 2009


Revision: 46299
          http://trac.macports.org/changeset/46299
Author:   ryandesign at macports.org
Date:     2009-02-01 23:44:47 -0800 (Sun, 01 Feb 2009)
Log Message:
-----------
pure-csv: new port, version 0.3; see #18322

Modified Paths:
--------------
    trunk/dports/devel/pure-csv/Portfile
    trunk/dports/devel/pure-csv/files/patch-Makefile.diff

Added Paths:
-----------
    trunk/dports/devel/pure-csv/

Modified: trunk/dports/devel/pure-csv/Portfile
===================================================================
--- trunk/dports/devel/pure-ffi/Portfile	2009-02-02 06:14:42 UTC (rev 46295)
+++ trunk/dports/devel/pure-csv/Portfile	2009-02-02 07:44:47 UTC (rev 46299)
@@ -2,7 +2,7 @@
 
 PortSystem                      1.0
 
-name                            pure-ffi
+name                            pure-csv
 version                         0.3
 categories                      devel
 platforms                       darwin
@@ -11,23 +11,18 @@
 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                     an interface to read and write comma \
+                                separated value files in 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} provides ${description}. The reading \
+                                and writing functions are loosely based on \
+                                Python's CSV module
 
-checksums                       md5     8030fbff0c2fff58861f05850d2a0911 \
-                                sha1    62d8f8e85aa8925fb2b41a9df9e44b1bae39d3ab \
-                                rmd160  d607e91265866e908364143634a30a037a5c4219
+checksums                       md5     ce5bbaf838f15206d9910f9b4ce5727f \
+                                sha1    6648789e26e9d8a7d2629b5af54dfaa1e339151b \
+                                rmd160  55e5dfd25814ff74faae8c7274f2aa60d173b6dc
 
-depends_lib-append              path:lib/libpure.dylib:pure \
-                                port:libffi
+depends_lib-append              path:lib/libpure.dylib:pure
 
 patchfiles                      patch-Makefile.diff
 

Modified: trunk/dports/devel/pure-csv/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/pure-ffi/files/patch-Makefile.diff	2009-02-02 06:14:42 UTC (rev 46295)
+++ trunk/dports/devel/pure-csv/files/patch-Makefile.diff	2009-02-02 07:44:47 UTC (rev 46299)
@@ -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:41:39.000000000 -0600
++++ Makefile 2009-02-02 01:35:54.000000000 -0600
+@@ -52,14 +52,14 @@
+ all: csv$(DLL)
  
- ffi$(DLL): ffi.c
--	gcc $(shared) -o $@ $< $(FLAGS) -lffi -lpure -lgmp $(LIBS)
-+	$(CC) $(shared) -o $@ $< $(FLAGS) -lffi -lpure -lgmp $(LIBS)
+ csv$(DLL): csv.c
+-	gcc $(shared) -o $@ $< $(FLAGS) -lpure $(LIBS)
++	$(CC) $(shared) -o $@ $< $(FLAGS) -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 csv.pure csv$(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 csv.pure csv$(DLL) "$(DESTDIR)`readlink $(libdir)/pure`"
  
  uninstall:
- 	rm -f "$(DESTDIR)$(libdir)/pure/ffi.pure" "$(DESTDIR)$(libdir)/pure/ffi$(DLL)"
+ 	rm -f "$(DESTDIR)$(libdir)/pure/csv.pure" "$(DESTDIR)$(libdir)/pure/csv$(DLL)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090201/1d3581f9/attachment.html>


More information about the macports-changes mailing list