Skip to content
Permalink
Browse files

Bug: https://trac.macports.org/ticket/971

Submitted by:
Reviewed by:
Approved by:
Obtained from:

mention variants in portfile.7

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@3587 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Felix Kronlage
Felix Kronlage committed Oct 4, 2003
1 parent ac85b75 commit ca7a2fc1e49a714941cff69b3834e95aac5e6e9d
Showing with 13 additions and 0 deletions.
  1. +13 −0 doc/portfile.7
@@ -701,6 +701,19 @@ Directory in which to run ${test.cmd}
.Sy Example:
.Dl test.dir ${worksrcpath}/checks
.El
.Ss VARIANT OPTIONS
DarwinPorts allows for conditional modification to be specified in a Portfile, allowing for handling of software's build-time settings.
.Bl -tag -width lc
.It Ic variant
The key variant is used to begin the gnome variant as shown in the example.
.br
.Sy Type:
.Em optional
.br
.Sy Example:
.Dl variant gnome { configure.args-append --with-gnome \
depends_lib-append lib:gnome-session:gnome-session }
.El
.Sh AUTHORS
.An "Landon Fuller <landonf@opendarwin.org>"
.An "Kevin Van Vechten <kevin@opendarwin.org>"

0 comments on commit ca7a2fc

Please sign in to comment.
You can’t perform that action at this time.