source: trunk/dports/shells/osh/Portfile @ 94735

Last change on this file since 94735 was 94735, checked in by ryandesign@…, 8 years ago

osh: ensure we're UsingTheRightCompiler and -arch flags (#34922)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 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 94735 2012-06-27 23:39:23Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            osh
7version         20120604
8categories      shells
9license         BSD BSD-old
10maintainers     v6shell.org:jan+mp
11description     Ports of the Sixth Edition (V6) UNIX Thompson shell
12long_description \
13                The osh package provides two ports of the original /bin/sh \
14                from Sixth Edition (V6) UNIX (circa 1975). Osh is an enhanced \
15                port of the shell, and sh6 is an unenhanced port of the shell. \
16                This package also includes the following shell utilities \
17                for use by sh6: glob6, if, goto, and fd2.
18platforms       darwin
19homepage        http://v6shell.org/
20master_sites    ${homepage}src/
21
22checksums       md5    ab1df6860d995cd6530c4e148fe29d83 \
23                sha1   1aa9bb77b1da5326915200f803a656ae7e7e3ad8 \
24                rmd160 24f23cf139eb7fa9f9029d947d7dc36489ccd597
25
26use_configure           no
27use_parallel_build      yes
28
29build.args      PREFIX=${prefix}
30
31# Ensure use of the correct build utilities.
32build.args-append       CC=${configure.cc} CPP=${configure.cpp}
33
34variant universal {}
35
36# Ensure use of the correct build_arch.
37build.args-append       CFLAGS="[get_canonical_archflags cc]" \
38                        LDFLAGS="[get_canonical_archflags ld]"
39
40destroot.args   PREFIX=${prefix}
41destroot.target install install-doc install-exp
42
43livecheck.type  regex
44livecheck.url   ${master_sites}
45livecheck.regex ${name}-(\\d{8})${extract.suffix}
Note: See TracBrowser for help on using the repository browser.