[77352] trunk/dports/net

ryandesign at macports.org ryandesign at macports.org
Sun Mar 27 23:19:06 PDT 2011


Revision: 77352
          http://trac.macports.org/changeset/77352
Author:   ryandesign at macports.org
Date:     2011-03-27 23:19:05 -0700 (Sun, 27 Mar 2011)
Log Message:
-----------
libre: new port, version 0.1.0; see #28661

Added Paths:
-----------
    trunk/dports/net/libre/
    trunk/dports/net/libre/Portfile
    trunk/dports/net/libre/files/
    trunk/dports/net/libre/files/patch-mk-re.mk.diff

Added: trunk/dports/net/libre/Portfile
===================================================================
--- trunk/dports/net/libre/Portfile	                        (rev 0)
+++ trunk/dports/net/libre/Portfile	2011-03-28 06:19:05 UTC (rev 77352)
@@ -0,0 +1,48 @@
+# -*- 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           muniversal 1.0
+
+name                libre
+version             0.1.0
+categories          net
+platforms           darwin
+maintainers         db.org:aeh
+
+description         generic library for real-time communications with async \
+                    I/O support
+
+long_description    ${name} is a ${description}.
+
+homepage            http://www.creytiv.com/
+master_sites        ${homepage}pub/
+
+distname            re-${version}
+
+checksums           sha1    7970de2c873ab83c70f6eafc3a85ac89493a670a \
+                    rmd160  cdc7218762f71f568b468cf82e00b2e09dafcda3
+
+depends_lib         port:zlib \
+                    port:openssl
+
+patchfiles          patch-mk-re.mk.diff
+
+use_configure       no
+
+build.args          PREFIX=${prefix} SYSROOT_ALT=${prefix}
+destroot.args       ${build.args}
+
+if {[tbool configure.ccache]} {
+    build.env-append CCACHE=ccache
+}
+
+if {[variant_isset universal]} {
+    foreach arch ${configure.universal_archs} {
+        lappend merger_build_env(${arch})    CC='${configure.cc} -arch ${arch}'
+        lappend merger_destroot_env(${arch}) CC='${configure.cc} -arch ${arch}'
+    }
+} else {
+    build.env-append    CC='${configure.cc} ${configure.cc_archflags}'
+    destroot.env-append CC='${configure.cc} ${configure.cc_archflags}'
+}


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

Added: trunk/dports/net/libre/files/patch-mk-re.mk.diff
===================================================================
--- trunk/dports/net/libre/files/patch-mk-re.mk.diff	                        (rev 0)
+++ trunk/dports/net/libre/files/patch-mk-re.mk.diff	2011-03-28 06:19:05 UTC (rev 77352)
@@ -0,0 +1,20 @@
+--- mk/re.mk.orig	2010-11-03 06:34:14.000000000 -0500
++++ mk/re.mk	2011-03-28 01:10:55.000000000 -0500
+@@ -271,6 +271,7 @@
+ 	AR		:= ar
+ 	AFLAGS		:= cru
+ 	LIB_SUFFIX	:= .dylib
++	SH_LFLAGS	+= -install_name $(PREFIX)/lib/libre$(LIB_SUFFIX)
+ 	ARCH            := $(shell echo $(MACHINE) | \
+ 				sed -e 's/\([^-]*\)-.*/\1/')
+ endif
+@@ -488,9 +488,6 @@
+ #
+ # Misc tools section
+ #
+-CCACHE	:= $(shell [ -e /usr/bin/ccache ] 2>/dev/null \
+-	|| [ -e /opt/local/bin/ccache ] \
+-	&& echo "ccache")
+ CFLAGS  += -DVERSION=\"$(VERSION)\"
+ 
+ # Enable gcov Coverage testing
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110327/69d7d9ae/attachment.html>


More information about the macports-changes mailing list