[36942] trunk/dports/devel

wsiegrist at apple.com wsiegrist at apple.com
Tue May 20 09:22:16 PDT 2008


Revision: 36942
          http://trac.macosforge.org/projects/macports/changeset/36942
Author:   wsiegrist at apple.com
Date:     2008-05-20 09:22:14 -0700 (Tue, 20 May 2008)

Log Message:
-----------
New port: asdf-binary-locations

Closes #14430

Added Paths:
-----------
    trunk/dports/devel/asdf-binary-locations/
    trunk/dports/devel/asdf-binary-locations/Portfile
    trunk/dports/devel/asdf-binary-locations/files/
    trunk/dports/devel/asdf-binary-locations/files/patch-dev-main.lisp.diff

Added: trunk/dports/devel/asdf-binary-locations/Portfile
===================================================================
--- trunk/dports/devel/asdf-binary-locations/Portfile	                        (rev 0)
+++ trunk/dports/devel/asdf-binary-locations/Portfile	2008-05-20 16:22:14 UTC (rev 36942)
@@ -0,0 +1,53 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
+# $Id$
+
+PortSystem        1.0
+
+name              asdf-binary-locations
+version           latest
+categories        devel
+maintainers       rlonstein at pobox.com
+description       keep asdf-compiled lisp files in their places
+long_description  Keep asdf-compiled lisp files in directories unique \
+                  to the Lisp implementation, Lisp implementation version \
+                  operating system and hardware architecture.
+
+homepage          http://common-lisp.net/project/cl-containers/asdf-binary-locations/
+master_sites      http://common-lisp.net/project/cl-containers/asdf-binary-locations/
+
+platforms         darwin
+universal_variant no
+
+distfiles         ${name}${extract.suffix}
+distname          ${name}
+
+checksums           md5     c221dcb4a1fcb0c1f744cb5fc17d8903 \
+                    sha1    e6420f5e95708cf7e38884e218f62336957f3091 \
+                    rmd160  39e678334501d231f526b90ede21c3b28acd9624
+
+configure { }
+build     { }
+
+variant ignore_lisp_version description {Don't include Lisp version when composing path} {
+    pre-configure {
+        ui_msg "\n\nWarning- Ignoring Lisp version can result in load failures"
+        ui_msg "if fasl implementation changes between Lisp releases.\n"
+        ui_msg "If this occurs it will be necessary to rebuild affected modules.\n"
+    }
+    patchfiles-append patch-dev-main.lisp.diff
+}
+
+set destroot-lisp "${destroot}${prefix}/share/common-lisp"
+
+destroot {
+    xinstall -m 0755 -d "${destroot-lisp}/src"
+    xinstall -m 0755 -d "${destroot-lisp}/systems/${name}"
+
+    file copy ${worksrcpath} ${destroot-lisp}/src/${name}
+    system "find ${destroot-lisp}/src/${name} -type d -exec chmod 755 {} \\;"
+    system "find ${destroot-lisp}/src/${name} -type f -exec chmod 644 {} \\;"
+
+    foreach f [glob -dir ${destroot-lisp}/src/$name -tails *.asd] {
+        ln -sf ../src/${name}/$f ${destroot-lisp}/systems/$f
+    }
+}


Property changes on: trunk/dports/devel/asdf-binary-locations/Portfile
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Added: trunk/dports/devel/asdf-binary-locations/files/patch-dev-main.lisp.diff
===================================================================
--- trunk/dports/devel/asdf-binary-locations/files/patch-dev-main.lisp.diff	                        (rev 0)
+++ trunk/dports/devel/asdf-binary-locations/files/patch-dev-main.lisp.diff	2008-05-20 16:22:14 UTC (rev 36942)
@@ -0,0 +1,12 @@
+--- dev/main.lisp	2007-12-13 19:10:17.000000000 -0500
++++ main.lisp	2008-02-14 19:38:49.000000000 -0500
+@@ -118,7 +118,7 @@
+                     (version (maybe-warn (lisp-version-string)
+                                          "Don't know how to get Lisp ~
+                                           implementation version.")))
+-                (format nil "~(~@{~a~^-~}~)" lisp version os arch))))))
++                (format nil "~(~@{~a~^-~}~)" lisp os arch))))))
+ 
+ (defun pathname-prefix-p (prefix pathname) 
+   (not (equal (enough-namestring pathname prefix) (namestring pathname)))) 
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080520/8ad398ab/attachment.htm 


More information about the macports-changes mailing list