[143093] trunk/dports/devel/libtermkey

raimue at macports.org raimue at macports.org
Sat Dec 12 08:31:41 PST 2015


Revision: 143093
          https://trac.macports.org/changeset/143093
Author:   raimue at macports.org
Date:     2015-12-03 03:59:57 -0800 (Thu, 03 Dec 2015)
Log Message:
-----------
devel/libtermkey:
Update to version 0.18

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

Modified: trunk/dports/devel/libtermkey/Portfile
===================================================================
--- trunk/dports/devel/libtermkey/Portfile	2015-12-03 11:14:42 UTC (rev 143092)
+++ trunk/dports/devel/libtermkey/Portfile	2015-12-03 11:59:57 UTC (rev 143093)
@@ -4,7 +4,7 @@
 PortSystem          1.0
 
 name                libtermkey
-version             0.17
+version             0.18
 categories          devel
 platforms           darwin
 maintainers         raimue \
@@ -19,8 +19,8 @@
 homepage            http://www.leonerd.org.uk/code/libtermkey/
 master_sites        ${homepage}
 
-checksums           rmd160  0d9938985fb1e6801cb876c6c720f551300fa13c \
-                    sha256  68949364ed5eaad857b3dea10071cde74b00b9f236dfbb702169f246c3cef389
+checksums           rmd160  e1508516f827d4263406c1d79e0ad349a24715bc \
+                    sha256  239746de41c845af52bb3c14055558f743292dd6c24ac26c2d6567a5a6093926
 
 patchfiles          patch-Makefile.diff
 

Modified: trunk/dports/devel/libtermkey/files/patch-Makefile.diff
===================================================================
--- trunk/dports/devel/libtermkey/files/patch-Makefile.diff	2015-12-03 11:14:42 UTC (rev 143092)
+++ trunk/dports/devel/libtermkey/files/patch-Makefile.diff	2015-12-03 11:59:57 UTC (rev 143093)
@@ -1,27 +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
+--- Makefile.orig	2015-10-06 23:52:28.000000000 +0200
++++ Makefile	2015-12-03 12:57:37.000000000 +0100
+@@ -21,28 +21,14 @@
+   override 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)
+-ifeq ($(call pkgconfig, --atleast-version=0.1.0 unibilium && echo 1),1)
+-  override CFLAGS +=$(call pkgconfig, --cflags unibilium) -DHAVE_UNIBILIUM
+-  override LDFLAGS+=$(call pkgconfig, --libs   unibilium)
+-else ifeq ($(call pkgconfig, tinfo && echo 1),1)
+-  override CFLAGS +=$(call pkgconfig, --cflags tinfo)
+-  override LDFLAGS+=$(call pkgconfig, --libs   tinfo)
+-else ifeq ($(call pkgconfig, ncursesw && echo 1),1)
+-  override CFLAGS +=$(call pkgconfig, --cflags ncursesw)
+-  override LDFLAGS+=$(call pkgconfig, --libs   ncursesw)
 -else
--  LDFLAGS+=-lncurses
+-  override LDFLAGS+=-lncurses
 -endif
-+CFLAGS +=$(shell pkg-config --cflags ncursesw)
-+LDFLAGS+=$(shell pkg-config --libs   ncursesw)
++override CFLAGS +=$(call pkgconfig, --cflags ncursesw)
++override LDFLAGS+=$(call pkgconfig, --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)
+-ifeq ($(call pkgconfig, glib-2.0 && echo 1),1)
 -  DEMOS+=demo-glib
 -endif
 -
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/f4752489/attachment.html>


More information about the macports-changes mailing list