mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
36 lines
1.1 KiB
Plaintext
36 lines
1.1 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name pdc
|
|
version 0.9
|
|
revision 3
|
|
categories math
|
|
platforms darwin
|
|
license GPL-2
|
|
maintainers nomaintainer
|
|
description programmers desktop caclulator in bc style
|
|
long_description PDC is a desktop caclulator in the bc style with \
|
|
features designed for programmers. It does not support \
|
|
floating point maths but does provide all the C \
|
|
operators (logical, bitwise, shifts etc.) and \
|
|
implements ISO C operator precedence. Additionally \
|
|
functions are available to perform population counts \
|
|
and byte swaps.
|
|
|
|
homepage http://www.redfelineninja.dsl.pipex.com/software/all.html#pdc
|
|
master_sites http://www.redfelineninja.dsl.pipex.com/software/
|
|
checksums md5 03dadb29fd517a2b23e2cb3018cf5753
|
|
|
|
depends_lib port:readline port:ncurses
|
|
|
|
use_configure no
|
|
build.env-append CFLAGS=${configure.cppflags} \
|
|
LDFLAGS=${configure.ldflags} \
|
|
CC=${configure.cc}
|
|
|
|
destroot {
|
|
xinstall -s -m 755 ${worksrcpath}/pdc ${destroot}${prefix}/bin/
|
|
xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 644 -W ${worksrcpath} ChangeLog COPYING README \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
}
|