source: trunk/dports/math/scalc/Portfile

Last change on this file was 95155, checked in by mww@…, 5 years ago

scalc: add license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 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 95155 2012-07-06 06:30:59Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                scalc
7version             1.15
8revision            1
9categories          math
10platforms           darwin
11license             GPL-2
12maintainers         nomaintainer
13
14description         tool for simple integer calculations or for converting numbers
15
16long_description    The calc command may be used to do simple integer \
17                    calculations or to convert numbers from one radix to \
18                    another.
19
20homepage            http://www.fokus.fraunhofer.de/research/cc/berlios/employees/joerg.schilling/private/
21master_sites        ftp://ftp.berlios.de/pub/calc/
22distname            calc-${version}
23
24checksums           md5     f2a89c26bf52078b156af79897d8556a
25
26depends_build       port:smake
27
28patchfiles          patch-RULES_rules.prg.diff \
29                    patch-getline.diff
30
31use_configure       no
32
33# smake does not support the -j flag
34use_parallel_build  no
35
36build.cmd           ${prefix}/bin/smake
37
38destroot.destdir    INS_BASE=${destroot}${prefix} \
39                    MANDIR=share/man
40
41post-destroot {
42    delete ${destroot}${prefix}/lib ${destroot}${prefix}/include \
43        ${destroot}${prefix}/share/man/man5
44    move ${destroot}${prefix}/bin/calc ${destroot}${prefix}/bin/${name}
45    move ${destroot}${prefix}/share/man/man1/calc.1 \
46        ${destroot}${prefix}/share/man/man1/${name}.1
47}
Note: See TracBrowser for help on using the repository browser.