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
RevLine 
[84550]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
[42556]2# $Id: Portfile 94735 2012-06-27 23:39:23Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            osh
[94427]7version         20120604
[42556]8categories      shells
[88980]9license         BSD BSD-old
[42556]10maintainers     v6shell.org:jan+mp
11description     Ports of the Sixth Edition (V6) UNIX Thompson shell
12long_description \
[43605]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. \
[51643]16                This package also includes the following shell utilities \
17                for use by sh6: glob6, if, goto, and fd2.
[43605]18platforms       darwin
[42556]19homepage        http://v6shell.org/
[43605]20master_sites    ${homepage}src/
[42556]21
[94427]22checksums       md5    ab1df6860d995cd6530c4e148fe29d83 \
23                sha1   1aa9bb77b1da5326915200f803a656ae7e7e3ad8 \
24                rmd160 24f23cf139eb7fa9f9029d947d7dc36489ccd597
[42556]25
[44395]26use_configure           no
27use_parallel_build      yes
[42556]28
29build.args      PREFIX=${prefix}
30
[94735]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
[60676]40destroot.args   PREFIX=${prefix}
[61749]41destroot.target install install-doc install-exp
[42556]42
[57375]43livecheck.type  regex
[43605]44livecheck.url   ${master_sites}
[60676]45livecheck.regex ${name}-(\\d{8})${extract.suffix}
Note: See TracBrowser for help on using the repository browser.