source: trunk/dports/math/pdc/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    pdc
6version                 0.9
7revision        1
8categories              math
9platforms               darwin
10license                 GPL-2
11maintainers             nomaintainer
12description             programmers desktop caclulator in bc style
13long_description        PDC is a desktop caclulator in the bc style with \
14                                features designed for programmers. It does not support \
15                                floating point maths but does provide all the C \
16                                operators (logical, bitwise, shifts etc.) and \
17                                implements ISO C operator precedence. Additionally \
18                                functions are available to perform population counts \
19                                and byte swaps.
20
21homepage                http://www.redfelineninja.dsl.pipex.com/software/all.html#pdc
22master_sites    http://www.redfelineninja.dsl.pipex.com/software/
23checksums               md5 03dadb29fd517a2b23e2cb3018cf5753
24
25depends_lib             port:readline port:ncurses
26
27use_configure   no
28
29build.env-append                CFLAGS="${configure.cppflags}" \
30                                LDFLAGS="${configure.ldflags}" \
31                                CC="${configure.cc}"
32
33destroot        {
34        xinstall -s -m 755 ${worksrcpath}/pdc ${destroot}${prefix}/bin/
35        xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
36        xinstall -m 644 -W ${worksrcpath} ChangeLog COPYING README \
37                ${destroot}${prefix}/share/doc/${name}
38}
Note: See TracBrowser for help on using the repository browser.