source: trunk/dports/lang/sicp/Portfile

Last change on this file was 78030, checked in by ryandesign@…, 6 years ago

sicp is noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 78030 2011-04-20 06:40:01Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                sicp
7version             0.0.1
8revision            3
9categories          lang
10platforms           darwin
11maintainers         nomaintainer
12supported_archs     noarch
13
14description         Lytha Ayth's texinfo version of Structure and \
15                    Interpretation of Computer Programs -- 2nd ed. (Harold Abelson \
16                    and Gerald Jay Sussman, with Julie Sussman)
17
18homepage            http://www.neilvandyke.org/sicp-texi/
19master_sites        ${homepage}
20distname            sicp.texi
21dist_subdir         ${name}/${version}_2
22
23checksums           md5     57105e0883446d0da50f5419c3ca6383
24
25depends_build       port:texinfo
26
27extract.mkdir       yes
28extract.suffix      .gz
29extract.post_args   > ${distname}
30
31use_configure       no
32
33use_parallel_build  no
34
35build.cmd           ${prefix}/bin/makeinfo
36build.target        ${distname}
37
38destroot {
39    system "cd ${worksrcpath} && \
40        for i in sicp sicp-\[0-9\]*; do \
41                gzip -c \$i > ${destroot}${prefix}/share/info/\$i.gz; \
42        done"
43}
Note: See TracBrowser for help on using the repository browser.