[78221] trunk/dports/net

ryandesign at macports.org ryandesign at macports.org
Thu Apr 28 16:46:41 PDT 2011


Revision: 78221
          http://trac.macports.org/changeset/78221
Author:   ryandesign at macports.org
Date:     2011-04-28 16:46:41 -0700 (Thu, 28 Apr 2011)
Log Message:
-----------
pure-sockets: new port, version 0.3; see #27797

Added Paths:
-----------
    trunk/dports/net/pure-sockets/
    trunk/dports/net/pure-sockets/Portfile
    trunk/dports/net/pure-sockets/files/
    trunk/dports/net/pure-sockets/files/patch-Makefile.diff

Added: trunk/dports/net/pure-sockets/Portfile
===================================================================
--- trunk/dports/net/pure-sockets/Portfile	                        (rev 0)
+++ trunk/dports/net/pure-sockets/Portfile	2011-04-28 23:46:41 UTC (rev 78221)
@@ -0,0 +1,31 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem                      1.0
+PortGroup                       pure 1.0
+
+pure.setup                      sockets 0.3
+categories                      net
+platforms                       darwin
+maintainers                     ryandesign
+license                         GPL-3 LGPL-3
+
+description                     an interface to the Berkeley socket functions \
+                                for Pure
+
+long_description                ${name} is ${description}. It provides most \
+                                of the core functionality, so you can create \
+                                sockets for both stream and datagram-based \
+                                protocols and use these to transmit messages. \
+                                Unix-style file sockets are also available \
+                                if the host system supports them.
+
+checksums                       sha1    f51baf7a36b02e06c3fcedfa8e1397995ed82f04 \
+                                rmd160  6ce8797a87f895a0420352da16aca098ad526280
+
+depends_build-append            path:bin/clang:clang
+
+patchfiles                      patch-Makefile.diff
+
+configure.cc                    ${prefix}/bin/clang
+configure.cxx                   ${prefix}/bin/clang++


Property changes on: trunk/dports/net/pure-sockets/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native

Added: trunk/dports/net/pure-sockets/files/patch-Makefile.diff
===================================================================
--- trunk/dports/net/pure-sockets/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/net/pure-sockets/files/patch-Makefile.diff	2011-04-28 23:46:41 UTC (rev 78221)
@@ -0,0 +1,16 @@
+--- Makefile.orig	2011-04-15 05:14:13.000000000 -0500
++++ Makefile	2011-04-28 18:40:59.000000000 -0500
+@@ -70,11 +70,11 @@
+ 
+ # compile C source to shared library
+ %$(DLL): %.c
+-	-$(CC) $(shared) $(CFLAGS) $(PIC) $< -o $@ $(LD_FLAGS) -lpure $(LIBS)
++	-$(CC) $(shared) $(CFLAGS) $(CPPFLAGS) $(PIC) $< -o $@ $(LDFLAGS) -lpure $(LIBS)
+ 
+ # compile C++ source to shared library
+ %$(DLL): %.cc
+-	-$(CXX) $(shared) $(CXXFLAGS) $(PIC) $< -o $@ $(LD_FLAGS) -lpure $(LIBS)
++	-$(CXX) $(shared) $(CXXFLAGS) $(CPPFLAGS) $(PIC) $< -o $@ $(LDFLAGS) -lpure $(LIBS)
+ 
+ # install and uninstall targets.
+ 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110428/ed3999e8/attachment.html>


More information about the macports-changes mailing list