[140814] trunk/dports/devel

raimue at macports.org raimue at macports.org
Sat Oct 3 13:29:41 PDT 2015


Revision: 140814
          https://trac.macports.org/changeset/140814
Author:   raimue at macports.org
Date:     2015-10-03 13:29:40 -0700 (Sat, 03 Oct 2015)
Log Message:
-----------
devel/libtermkey:
New port, version 0.17

Added Paths:
-----------
    trunk/dports/devel/libtermkey/
    trunk/dports/devel/libtermkey/Portfile
    trunk/dports/devel/libtermkey/files/
    trunk/dports/devel/libtermkey/files/patch-Makefile.diff

Added: trunk/dports/devel/libtermkey/Portfile
===================================================================
--- trunk/dports/devel/libtermkey/Portfile	                        (rev 0)
+++ trunk/dports/devel/libtermkey/Portfile	2015-10-03 20:29:40 UTC (rev 140814)
@@ -0,0 +1,37 @@
+# -*- 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
+
+name                libtermkey
+version             0.17
+categories          devel
+platforms           darwin
+maintainers         raimue \
+                    openmaintainer
+license             MIT
+
+description         Cross-platform asychronous I/O
+
+long_description \
+    libuv is a multi-platform support library with a focus on asynchronous I/O.
+
+homepage            http://www.leonerd.org.uk/code/libtermkey/
+master_sites        ${homepage}
+
+checksums           rmd160  0d9938985fb1e6801cb876c6c720f551300fa13c \
+                    sha256  68949364ed5eaad857b3dea10071cde74b00b9f236dfbb702169f246c3cef389
+
+patchfiles          patch-Makefile.diff
+
+depends_build       port:libtool \
+                    port:pkgconfig
+
+use_configure no
+
+build.args          PREFIX=${prefix}
+build.env-append    CC=${configure.cc} \
+                    CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
+                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
+
+destroot.args       ${build.args}


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

Added: trunk/dports/devel/libtermkey/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/libtermkey/files/patch-Makefile.diff	                        (rev 0)
+++ trunk/dports/devel/libtermkey/files/patch-Makefile.diff	2015-10-03 20:29:40 UTC (rev 140814)
@@ -0,0 +1,30 @@
+--- Makefile.orig	2015-10-03 19:37:52.000000000 +0200
++++ Makefile	2015-10-03 19:39:01.000000000 +0200
+@@ -19,25 +19,14 @@
+   LDFLAGS+=-pg
+ endif
+ 
+-ifeq ($(shell pkg-config --atleast-version=0.1.0 unibilium && echo 1),1)
+-  CFLAGS +=$(shell pkg-config --cflags unibilium) -DHAVE_UNIBILIUM
+-  LDFLAGS+=$(shell pkg-config --libs   unibilium)
+-else ifeq ($(shell pkg-config ncursesw && echo 1),1)
+-  CFLAGS +=$(shell pkg-config --cflags ncursesw)
+-  LDFLAGS+=$(shell pkg-config --libs   ncursesw)
+-else
+-  LDFLAGS+=-lncurses
+-endif
++CFLAGS +=$(shell pkg-config --cflags ncursesw)
++LDFLAGS+=$(shell pkg-config --libs   ncursesw)
+ 
+ OBJECTS=termkey.lo driver-csi.lo driver-ti.lo
+ LIBRARY=libtermkey.la
+ 
+ DEMOS=demo demo-async
+ 
+-ifeq ($(shell pkg-config glib-2.0 && echo 1),1)
+-  DEMOS+=demo-glib
+-endif
+-
+ DEMO_OBJECTS=$(DEMOS:=.lo)
+ 
+ TESTSOURCES=$(wildcard t/[0-9]*.c)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151003/da55801a/attachment.html>


More information about the macports-changes mailing list