source: trunk/dports/lang/icon/Portfile

Last change on this file was 131796, checked in by khindenburg@…, 3 years ago

icon: for +x11 add dependency #45524

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.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 131796 2015-01-18 20:16:38Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                icon
7version             9.5.1
8
9categories          lang
10maintainers         laposte.net:michael.grunewald openmaintainer
11license             public-domain
12
13description         The Icon Programming Language
14long_description    Icon is a high-level, general-purpose programming \
15                    language with a large repertoire of features for \
16                    processing data structures and character strings. \
17                    Icon is an imperative, procedural language with a \
18                    syntax reminiscent of C and Pascal, but with \
19                    semantics at a much higher level.
20
21homepage            http://www.cs.arizona.edu/icon/
22platforms           darwin
23master_sites        ${homepage}ftp/packages/unix/
24distname            icon-v[strsed ${version} {g/\.//}]src
25extract.suffix      .tgz
26
27checksums           rmd160  b72481675a6961e609ad6adabc9abd37474eebc3 \
28                    sha256  062a680862b1c10c21789c0c7c7687c970a720186918d5ed1f7aad9fdc6fa9b9
29
30universal_variant   no
31use_parallel_build  no
32
33configure.cmd       make
34configure.pre_args
35
36configure.args      Configure name=macintosh
37
38build.target        All
39
40destroot.target     Install
41destroot.destdir    dest=${destroot}${prefix}/libexec/${name}
42
43post-destroot {
44    foreach prog {icon icont iconx vib} {
45        ln -s ../libexec/${name}/bin/${prog} ${destroot}${prefix}/bin
46    }
47    set doc_dir ${destroot}${prefix}/share/doc
48    xinstall -d ${doc_dir}
49    ln -s ../../libexec/${name}/doc ${doc_dir}/${name}-${version}
50    set man1_dir ${destroot}${prefix}/share/man/man1
51    xinstall -d ${man1_dir}
52    ln -s ../../../libexec/${name}/man/man1/icon.1 ${man1_dir}
53    ln -s ../../../libexec/${name}/man/man1/icont.1 ${man1_dir}
54}
55
56default_variants    +x11
57
58variant x11 {
59    configure.args X-Configure name=macintosh
60    depends_lib-append    port:xorg-libXt
61}
62
63livecheck.type      regex
64livecheck.url       [lindex ${master_sites} 0]
65livecheck.version   [strsed ${version} {g/\.//}]
66livecheck.regex     ${name}-v(\[0-9.\]+)src${extract.suffix}
Note: See TracBrowser for help on using the repository browser.