[29468] trunk/dports/devel/pcre/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Sep 24 11:57:46 PDT 2007


Revision: 29468
          http://trac.macosforge.org/projects/macports/changeset/29468
Author:   nox at macports.org
Date:     2007-09-24 11:57:45 -0700 (Mon, 24 Sep 2007)

Log Message:
-----------
pcre:
 * Updated to 7.4.
 * Added doc variant.

Modified Paths:
--------------
    trunk/dports/devel/pcre/Portfile

Modified: trunk/dports/devel/pcre/Portfile
===================================================================
--- trunk/dports/devel/pcre/Portfile	2007-09-24 17:44:50 UTC (rev 29467)
+++ trunk/dports/devel/pcre/Portfile	2007-09-24 18:57:45 UTC (rev 29468)
@@ -3,7 +3,7 @@
 PortSystem      1.0
 
 name            pcre
-version         7.3
+version         7.4
 categories      devel
 platforms       darwin freebsd
 maintainers     nox
@@ -22,12 +22,22 @@
                 sourceforge
 
 use_bzip2       yes
-checksums       md5 08b48bf97ff84a9dea07d6be518f0046 \
-                sha1 a9867a2c9980005aed07be022f07a61eb4135780 \
-                rmd160 a4f2293cfe1a56a518f025a7a088ea772a2a0b51
 
+checksums       md5 7d05b4fb088ffa6fcf704e36ebb427f9 \
+                sha1 2092ff639da7694b47056f3f9abed285d4a840b3 \
+                rmd160 42bc33e5592c23c7eb337f8fcfab77fb290aed61
+
 configure.args  --docdir=${prefix}/share/doc/${name}-${version} \
                 --enable-unicode-properties
 
+post-configure {
+    if {! [variant_isset doc]} {
+        reinplace -E "/^install-data-am:/s/install-dist_htmlDATA//" ${worksrcpath}/Makefile
+        reinplace -E "/install-man/s/install-htmlDATA//" ${worksrcpath}/Makefile
+    }
+}
+
 test.run        yes
 
+variant doc description {Install extra documentation} {}
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070924/7c9effc4/attachment.html


More information about the macports-changes mailing list