[71254] trunk/dports/x11/xorg-server-devel/Portfile
jeremyhu at macports.org
jeremyhu at macports.org
Mon Sep 6 22:49:07 PDT 2010
Revision: 71254
http://trac.macports.org/changeset/71254
Author: jeremyhu at macports.org
Date: 2010-09-06 22:49:03 -0700 (Mon, 06 Sep 2010)
Log Message:
-----------
xorg-server-devel: Add docs variant
This should help avoid pulling in doxygen and family now that util-macros are
a bit better at supporting this.
Modified Paths:
--------------
trunk/dports/x11/xorg-server-devel/Portfile
Modified: trunk/dports/x11/xorg-server-devel/Portfile
===================================================================
--- trunk/dports/x11/xorg-server-devel/Portfile 2010-09-06 23:39:26 UTC (rev 71253)
+++ trunk/dports/x11/xorg-server-devel/Portfile 2010-09-07 05:49:03 UTC (rev 71254)
@@ -6,6 +6,7 @@
conflicts xorg-server
set my_name xorg-server
version 1.9.0
+revision 1
categories x11 devel
maintainers jeremyhu openmaintainer
description The X.org / Xquartz X server.
@@ -47,11 +48,7 @@
port:xorg-xextproto \
port:xorg-xineramaproto \
port:xorg-xtrans \
- port:autoconf \
- port:automake \
- port:libtool \
- port:xorg-util-macros \
- port:doxygen
+ port:xorg-util-macros
depends_skip_archcheck doxygen
@@ -72,6 +69,9 @@
configure.args --with-apple-applications-dir=${applications_dir} \
--with-launchd-id-prefix=org.macports \
--without-dtrace \
+ --without-doxygen \
+ --without-fop \
+ --without-xmlto \
--with-sha1=CommonCrypto
# GL/internal/dri_interface.h is missing in prefix (provided by libdrm for the xorg DDX... not helpful for us)
@@ -110,3 +110,20 @@
configure.cppflags-append -I${filespath}/include
}
}
+
+variant docs description "Install extra documentation" {
+ depends_build-append \
+ port:doxygen \
+ port:fop \
+ port:xmlto
+
+ configure.args-delete \
+ --without-doxygen \
+ --without-fop \
+ --without-xmlto
+
+ configure.args-append \
+ --with-doxygen=${prefix}/bin/doxygen \
+ --with-fop=${prefix}/bin/fop \
+ --with-xmlto=${prefix}/bin/xmlto
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100906/74f42f69/attachment.html>
More information about the macports-changes
mailing list