[122083] trunk/dports/textproc/iksemel

ryandesign at macports.org ryandesign at macports.org
Mon Jul 14 03:51:56 PDT 2014


Revision: 122083
          https://trac.macports.org/changeset/122083
Author:   ryandesign at macports.org
Date:     2014-07-14 03:51:56 -0700 (Mon, 14 Jul 2014)
Log Message:
-----------
iksemel: actually use gnutls again; remove unused dependencies

Modified Paths:
--------------
    trunk/dports/textproc/iksemel/Portfile

Added Paths:
-----------
    trunk/dports/textproc/iksemel/files/
    trunk/dports/textproc/iksemel/files/libgnutls-config

Modified: trunk/dports/textproc/iksemel/Portfile
===================================================================
--- trunk/dports/textproc/iksemel/Portfile	2014-07-14 10:36:21 UTC (rev 122082)
+++ trunk/dports/textproc/iksemel/Portfile	2014-07-14 10:51:56 UTC (rev 122083)
@@ -5,7 +5,7 @@
 
 name                    iksemel
 version                 1.4
-revision                2
+revision                3
 categories              textproc
 license                 LGPL-2.1
 platforms               darwin
@@ -23,12 +23,12 @@
                         sha1    722910b99ce794fd3f6f0e5f33fa804732cf46db \
                         rmd160  8f6e528d8a5d08bce88cb90b100dab7ea7a0d203
 
-depends_lib             port:gnutls \
-                        port:gettext \
-                        port:libgcrypt \
-                        port:libgpg-error \
-                        port:libiconv \
-                        port:libtasn1 \
-                        port:zlib
+depends_lib             port:gnutls
 
-configure.cflags-append "-I${prefix}/include"
+post-extract {
+    # https://code.google.com/p/iksemel/issues/detail?id=29
+    xinstall -d ${workpath}/bin
+    xinstall ${filespath}/libgnutls-config ${workpath}/bin
+}
+
+configure.args          --with-libgnutls-prefix=${workpath}

Added: trunk/dports/textproc/iksemel/files/libgnutls-config
===================================================================
--- trunk/dports/textproc/iksemel/files/libgnutls-config	                        (rev 0)
+++ trunk/dports/textproc/iksemel/files/libgnutls-config	2014-07-14 10:51:56 UTC (rev 122083)
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [ "$1" == "--version" ]; then
+    pkg-config --modversion gnutls
+else
+    pkg-config $1 gnutls
+fi


Property changes on: trunk/dports/textproc/iksemel/files/libgnutls-config
___________________________________________________________________
Added: svn:executable
   + *
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140714/7fe38e32/attachment.html>


More information about the macports-changes mailing list