[47487] trunk/dports/databases

ryandesign at macports.org ryandesign at macports.org
Sat Feb 28 04:54:43 PST 2009


Revision: 47487
          http://trac.macports.org/changeset/47487
Author:   ryandesign at macports.org
Date:     2009-02-28 04:54:41 -0800 (Sat, 28 Feb 2009)
Log Message:
-----------
pure-odbc: new port, version 0.1; see #18682

Modified Paths:
--------------
    trunk/dports/databases/pure-odbc/Portfile
    trunk/dports/databases/pure-odbc/files/patch-Makefile.diff

Added Paths:
-----------
    trunk/dports/databases/pure-odbc/

Modified: trunk/dports/databases/pure-odbc/Portfile
===================================================================
--- trunk/dports/devel/pure-csv/Portfile	2009-02-26 04:18:27 UTC (rev 47339)
+++ trunk/dports/databases/pure-odbc/Portfile	2009-02-28 12:54:41 UTC (rev 47487)
@@ -2,8 +2,8 @@
 
 PortSystem                      1.0
 
-name                            pure-csv
-version                         0.3
+name                            pure-odbc
+version                         0.1
 categories                      devel
 platforms                       darwin
 maintainers                     ryandesign
@@ -11,18 +11,20 @@
 homepage                        http://pure-lang.googlecode.com/
 master_sites                    ${homepage}files/
 
-description                     an interface to read and write comma \
-                                separated value files in Pure
+description                     a simple ODBC interface for the Pure \
+                                programming language
 
-long_description                ${name} provides ${description}. The reading \
-                                and writing functions are loosely based on \
-                                Python's CSV module
+long_description                ${name} provides ${description} which lets \
+                                you access a large variety of open source \
+                                and commercial database systems from Pure
 
-checksums                       md5     ce5bbaf838f15206d9910f9b4ce5727f \
-                                sha1    6648789e26e9d8a7d2629b5af54dfaa1e339151b \
-                                rmd160  55e5dfd25814ff74faae8c7274f2aa60d173b6dc
+checksums                       md5     825c7956e2aec87b874b03569c2d8d84 \
+                                sha1    2411890a13ef7a4b6ec72c834193ff9665b41ddc \
+                                rmd160  1bea7cbd12a740dd9945dfe201a6a474e3350c79
 
-depends_lib-append              path:lib/libpure.dylib:pure
+depends_lib-append              path:lib/libpure.dylib:pure \
+                                path:lib/libgmp.dylib:gmp \
+                                path:lib/libodbc.dylib:unixODBC
 
 patchfiles                      patch-Makefile.diff
 

Modified: trunk/dports/databases/pure-odbc/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/pure-csv/files/patch-Makefile.diff	2009-02-26 04:18:27 UTC (rev 47339)
+++ trunk/dports/databases/pure-odbc/files/patch-Makefile.diff	2009-02-28 12:54:41 UTC (rev 47487)
@@ -1,20 +1,13 @@
---- 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)
- 
- csv$(DLL): csv.c
--	gcc $(shared) -o $@ $< $(FLAGS) -lpure $(LIBS)
-+	$(CC) $(shared) -o $@ $< $(FLAGS) -lpure $(LIBS)
- 
- clean:
+--- Makefile.orig	2009-02-24 15:11:56.000000000 -0600
++++ Makefile	2009-02-28 06:32:58.000000000 -0600
+@@ -62,8 +62,8 @@
  	rm -f *$(DLL) *~ *.a *.o
  
  install:
 -	test -d "$(DESTDIR)$(libdir)/pure" || mkdir -p "$(DESTDIR)$(libdir)/pure"
--	cp csv.pure csv$(DLL) "$(DESTDIR)$(libdir)/pure"
+-	cp odbc.pure odbc$(DLL) "$(DESTDIR)$(libdir)/pure"
 +	test -d "$(DESTDIR)`readlink $(libdir)/pure`" || mkdir -p "$(DESTDIR)`readlink $(libdir)/pure`"
-+	cp csv.pure csv$(DLL) "$(DESTDIR)`readlink $(libdir)/pure`"
++	cp odbc.pure odbc$(DLL) "$(DESTDIR)`readlink $(libdir)/pure`"
  
  uninstall:
- 	rm -f "$(DESTDIR)$(libdir)/pure/csv.pure" "$(DESTDIR)$(libdir)/pure/csv$(DLL)"
+ 	rm -f "$(DESTDIR)$(libdir)/pure/odbc.pure" "$(DESTDIR)$(libdir)/pure/odbc$(DLL)"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090228/1d8faa11/attachment-0001.html>


More information about the macports-changes mailing list