[29851] trunk/dports/x11/pango/Portfile
source_changes at macosforge.org
source_changes at macosforge.org
Fri Oct 12 03:43:47 PDT 2007
Revision: 29851
http://trac.macosforge.org/projects/macports/changeset/29851
Author: ryandesign at macports.org
Date: 2007-10-12 03:43:45 -0700 (Fri, 12 Oct 2007)
Log Message:
-----------
pango: add +no_x11 variant; see #12787
Modified Paths:
--------------
trunk/dports/x11/pango/Portfile
Modified: trunk/dports/x11/pango/Portfile
===================================================================
--- trunk/dports/x11/pango/Portfile 2007-10-12 10:22:58 UTC (rev 29850)
+++ trunk/dports/x11/pango/Portfile 2007-10-12 10:43:45 UTC (rev 29851)
@@ -44,7 +44,18 @@
configure.args \
--enable-cairo
+variant no_x11 description {Disable X11 support} {
+ depends_lib-delete \
+ lib:libX11.6:XFree86 \
+ port:Xft2
+ configure.args-append \
+ --without-x
+}
+
post-destroot {
+ if {[variant_isset no_x11]} {
+ xinstall -d ${destroot}${prefix}/etc/pango
+ }
xinstall -m 0644 ${worksrcpath}/modules/pangorc \
${destroot}${prefix}/etc/pango
reinplace "s|\\.\\./modules/|${prefix}/etc/pango/|g" \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071012/e4bab3ea/attachment.html
More information about the macports-changes
mailing list