[75874] trunk/dports/devel/tre/Portfile

ryandesign at macports.org ryandesign at macports.org
Fri Feb 11 10:24:33 PST 2011


Revision: 75874
          http://trac.macports.org/changeset/75874
Author:   ryandesign at macports.org
Date:     2011-02-11 10:24:31 -0800 (Fri, 11 Feb 2011)
Log Message:
-----------
tre: remove -arch flags from tre.pc file, also install doc files, indicate license; see #22778 (maintainer timeout)

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

Modified: trunk/dports/devel/tre/Portfile
===================================================================
--- trunk/dports/devel/tre/Portfile	2011-02-11 17:20:50 UTC (rev 75873)
+++ trunk/dports/devel/tre/Portfile	2011-02-11 18:24:31 UTC (rev 75874)
@@ -3,9 +3,11 @@
 PortSystem          1.0
 name                tre
 version             0.8.0
+revision            1
 categories          devel
 platforms           darwin
 maintainers         erickt
+license             BSD
 description         TRE is a lightweight POSIX compliant regular expression library
 long_description    TRE is a lightweight POSIX compliant regular expression library
 homepage            http://laurikari.net/tre/
@@ -18,3 +20,21 @@
                     port:libiconv
 test.run            yes
 test.target         check
+
+post-build {
+    reinplace -E {s|-arch [a-z0-9_]+||g} ${worksrcpath}/tre.pc
+}
+
+post-destroot {
+    set docdir ${destroot}${prefix}/share/doc/${name}
+    xinstall -d ${docdir}
+    xinstall -m 644 -W ${worksrcpath} \
+        AUTHORS \
+        ChangeLog \
+        LICENSE \
+        NEWS \
+        README \
+        THANKS \
+        TODO \
+        ${docdir}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110211/d394c2df/attachment.html>


More information about the macports-changes mailing list