expand binary paths
[lml2.git] / downloads.lisp
index 99445ef39ae9c305da39a7c78d3267911b516095..e7b58975f5ab22558c641dc4de2c43e93479174a 100644 (file)
     (dolist (sect sects)
       (display-sections sect dl-data))
     (when giturl
-      (if gitweb
-          (lml-format "<h2>Git Repository</h2><tt><a href=\"~A\">~A</a></tt>" gitweb giturl)
-          (lml-format "<h2>Git Repository</h2><tt>~A</tt>" giturl)))
+      (lml-format "<h2>Git Repository</h2><tt>~A</tt>" giturl)
+      (when gitweb
+        (lml-format "&nbsp;&nbsp;[<a href=\"~A\">Browse</a>]" gitweb)))
     (display-footer dl-data)))
 
 (defun std-dl-page (pkg-name pkg-base dl-base dl-url &optional giturl gitweb)
           (w32-path (merge-pathnames
                      (make-pathname :directory '(:relative "win32")
                                     :type :wild :name :wild)
+                     base))
+          (mac-path (merge-pathnames
+                     (make-pathname :directory '(:relative "mac")
+                                    :type :wild :name :wild)
+                     base))
+          (linux-path (merge-pathnames
+                     (make-pathname :directory '(:relative "linux")
+                                    :type :wild :name :wild)
                      base)))
       (display-page pkg-name pkg-base dl-base dl-url giturl gitweb
                     `(("Manual" ,doc-path)
                        (("Unix (.tar.gz)" ,tgz-path)
                         ("Windows (.zip)" ,zip-path)))
                       ("Binaries"
-                       (("Linux Binaries"
-                         (("Debian Linux" ,deb-path)
-                          ("RedHat Linux" ,rpm-path)))
+                       (("Linux Binaries" ,linux-path)
+                        ("Linux .deb Packages" ,deb-path)
+                        ("Linux .rpm Packages" ,rpm-path)
+                        ("Mac Binaries" ,mac-path)
                         ("Windows Binaries" ,w32-path))))))))