source: trunk/dports/math/gexpr/Portfile

Last change on this file was 103139, checked in by ryandesign@…, 5 years ago

gexpr: white space changes; add modeline

  • 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 103139 2013-02-16 03:12:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                gexpr
7conflicts           coreutils
8version             2.0.2
9categories          math
10platforms           darwin
11maintainers         nomaintainer
12license             GPL-2+
13
14description         A shell calculator
15
16long_description    Gexpr is a shell calculator with floating point, standard \
17                    C functions, relational operators, and output in base 2/8/10/16. \
18                    It is a light alternative to bc(1). It can also be used to add \
19                    floating point math to shell scripts.
20
21homepage            http://gexpr.sourceforge.net/
22master_sites        http://www.ibiblio.org/pub/Linux/apps/math/calc/ freebsd
23
24checksums           md5     e4cb9b62b1f363bbf788f455ef144885
25
26use_configure       no
27
28variant universal {}
29
30configure.cflags-append -Wall
31
32build.args          CC="${configure.cc}" \
33                    OPTS="${configure.cflags} [get_canonical_archflags cc]"
34
35destroot {
36    xinstall -m 755 ${worksrcpath}/gexpr ${destroot}${prefix}/bin
37    xinstall -m 644 ${worksrcpath}/gexpr.1 ${destroot}${prefix}/share/man/man1
38    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
39    xinstall -m 644 -W ${worksrcpath} README COPYING \
40        ${destroot}${prefix}/share/doc/${name}
41}
Note: See TracBrowser for help on using the repository browser.