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

gwright at macports.org gwright at macports.org
Fri Nov 21 10:42:17 PST 2008


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} {} 
+
 variant test description {enable test suite} {
 	test.run	yes
 	test.dir	${worksrcpath}/tests
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081121/77d65ca9/attachment.html>


More information about the macports-changes mailing list