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

Last change on this file was 75512, checked in by jmr@…, 6 years ago

asdf-binary-locations: follow upstream update (#22412), use the real version number, use versioned dist_subdir, mark noarch, add license

  • 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 75512 2011-01-27 19:47:46Z ryandesign@macports.org $
3
4PortSystem        1.0
5
6name              asdf-binary-locations
7version           0.3.9
8categories        devel
9license           MIT
10maintainers       pobox.com:rlonstein
11description       keep asdf-compiled lisp files in their places
12long_description  Keep asdf-compiled lisp files in directories unique \
13                  to the Lisp implementation, Lisp implementation version \
14                  operating system and hardware architecture.
15
16homepage          http://common-lisp.net/project/cl-containers/asdf-binary-locations/
17master_sites      ${homepage}
18
19platforms         darwin
20supported_archs   noarch
21
22distname          ${name}
23dist_subdir       ${name}/${version}
24
25checksums         md5     96a670f18a20740d512534c5b42d9e16 \
26                  sha1    348f34147f1137566e6713e7d56d267404ae09ca \
27                  rmd160  43ed18aa3a9070f5a7f8e8f887bcd868b6e39ad9
28
29use_configure     no
30build     { }
31
32variant ignore_lisp_version description {Don't include Lisp version when composing path} {
33    pre-configure {
34        ui_msg "\n\nWarning- Ignoring Lisp version can result in load failures"
35        ui_msg "if fasl implementation changes between Lisp releases.\n"
36        ui_msg "If this occurs it will be necessary to rebuild affected modules.\n"
37    }
38    patchfiles-append patch-dev-main.lisp.diff
39}
40
41set destroot-lisp "${destroot}${prefix}/share/common-lisp"
42
43destroot {
44    xinstall -m 0755 -d "${destroot-lisp}/src"
45    xinstall -m 0755 -d "${destroot-lisp}/systems/${name}"
46
47    file copy ${worksrcpath} ${destroot-lisp}/src/${name}
48    system "find ${destroot-lisp}/src/${name} -type d -exec chmod 755 {} \\;"
49    system "find ${destroot-lisp}/src/${name} -type f -exec chmod 644 {} \\;"
50
51    foreach f [glob -dir ${destroot-lisp}/src/$name -tails *.asd] {
52        ln -sf ../src/${name}/$f ${destroot-lisp}/systems/$f
53    }
54}
Note: See TracBrowser for help on using the repository browser.