[83536] trunk/dports/devel/git-core/Portfile

cal at macports.org cal at macports.org
Mon Sep 5 01:53:47 PDT 2011


Revision: 83536
          http://trac.macports.org/changeset/83536
Author:   cal at macports.org
Date:     2011-09-05 01:53:46 -0700 (Mon, 05 Sep 2011)
Log Message:
-----------
git-core: Add variant for pcre, closes #30704

Modified Paths:
--------------
    trunk/dports/devel/git-core/Portfile

Modified: trunk/dports/devel/git-core/Portfile
===================================================================
--- trunk/dports/devel/git-core/Portfile	2011-09-05 00:25:55 UTC (rev 83535)
+++ trunk/dports/devel/git-core/Portfile	2011-09-05 08:53:46 UTC (rev 83536)
@@ -5,6 +5,7 @@
 
 name              git-core
 version           1.7.6.1
+revision          1
 description       A fast version control system
 long_description  Git is a fast, scalable, distributed open source version \
                   control system focusing on speed and efficiency.
@@ -108,6 +109,13 @@
     depends_lib-append      port:python27
 }
 
+variant pcre {
+    build.args-append       LIBPCREDIR=${prefix} USE_LIBPCRE=1
+    destroot.args-append    LIBPCREDIR=${prefix} USE_LIBPCRE=1
+    test.args-append        LIBPCREDIR=${prefix} USE_LIBPCRE=1
+    depends_lib-append      port:pcre
+}
+
 variant doc description {Install HTML and plaintext documentation} {
     distfiles-append    git-htmldocs-${version}${extract.suffix}
     checksums-append    git-htmldocs-${version}${extract.suffix} \
@@ -149,7 +157,7 @@
     }
 }
 
-default_variants    +doc
+default_variants    +doc +pcre
 
 livecheck.type          regex
 livecheck.regex         {<div id="ver">v([0-9.]+)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110905/c7ada869/attachment.html>


More information about the macports-changes mailing list