source: trunk/dports/devel/asdf-binary-locations/Portfile @ 46137

Last change on this file since 46137 was 46137, checked in by snc@…, 11 years ago

configure{} -> use_configure no

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2# $Id: Portfile 46137 2009-01-30 05:07:16Z snc@macports.org $
3
4PortSystem        1.0
5
6name              asdf-binary-locations
7version           latest
8categories        devel
9maintainers       rlonstein@pobox.com
10description       keep asdf-compiled lisp files in their places
11long_description  Keep asdf-compiled lisp files in directories unique \
12                  to the Lisp implementation, Lisp implementation version \
13                  operating system and hardware architecture.
14
15homepage          http://common-lisp.net/project/cl-containers/asdf-binary-locations/
16master_sites      http://common-lisp.net/project/cl-containers/asdf-binary-locations/
17
18platforms         darwin
19universal_variant no
20
21distfiles         ${name}${extract.suffix}
22distname          ${name}
23
24checksums           md5     c221dcb4a1fcb0c1f744cb5fc17d8903 \
25                    sha1    e6420f5e95708cf7e38884e218f62336957f3091 \
26                    rmd160  39e678334501d231f526b90ede21c3b28acd9624
27
28use_configure     no
29build     { }
30
31variant ignore_lisp_version description {Don't include Lisp version when composing path} {
32    pre-configure {
33        ui_msg "\n\nWarning- Ignoring Lisp version can result in load failures"
34        ui_msg "if fasl implementation changes between Lisp releases.\n"
35        ui_msg "If this occurs it will be necessary to rebuild affected modules.\n"
36    }
37    patchfiles-append patch-dev-main.lisp.diff
38}
39
40set destroot-lisp "${destroot}${prefix}/share/common-lisp"
41
42destroot {
43    xinstall -m 0755 -d "${destroot-lisp}/src"
44    xinstall -m 0755 -d "${destroot-lisp}/systems/${name}"
45
46    file copy ${worksrcpath} ${destroot-lisp}/src/${name}
47    system "find ${destroot-lisp}/src/${name} -type d -exec chmod 755 {} \\;"
48    system "find ${destroot-lisp}/src/${name} -type f -exec chmod 644 {} \\;"
49
50    foreach f [glob -dir ${destroot-lisp}/src/$name -tails *.asd] {
51        ln -sf ../src/${name}/$f ${destroot-lisp}/systems/$f
52    }
53}
Note: See TracBrowser for help on using the repository browser.