[42458] trunk/dports/lang/sbcl/Portfile

Ryan Schmidt ryandesign at macports.org
Fri Nov 21 15:10:29 PST 2008


On Nov 21, 2008, at 12:42, gwright at macports.org wrote:

> Revision: 42458
>           http://trac.macports.org/changeset/42458
> Author:   gwright at macports.org
> Date:     2008-11-21 10:42:16 -0800 (Fri, 21 Nov 2008)
> Log Message:
> -----------
> Build html documentation.
>
> Modified Paths:
> --------------
>     trunk/dports/lang/sbcl/Portfile
>
> Modified: trunk/dports/lang/sbcl/Portfile
> ===================================================================
> --- trunk/dports/lang/sbcl/Portfile	2008-11-21 18:34:31 UTC (rev  
> 42457)
> +++ trunk/dports/lang/sbcl/Portfile	2008-11-21 18:42:16 UTC (rev  
> 42458)
> @@ -78,8 +78,16 @@
>  	system "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh  
> make.sh ${host_lisp}"
>  }
>
> -default_variants	+test
> +post-build {
> +	if {[variant_isset html]} {
> +		system "cd ${worksrcpath}/doc; INSTALL_ROOT=${destroot}${prefix}  
> sh ${worksrcpath}/doc/make-doc.sh"
> +	}
> +}
>
> +default_variants	+test +html
> +
> +variant html description {Builds the SBCL and ASDF documentation  
> as HTML} {}

Why make this a variant? Unless it takes terribly long to build, I'd  
do it always.



More information about the macports-dev mailing list