source: trunk/dports/math/scalc/Portfile @ 56061

Last change on this file since 56061 was 42492, checked in by blb@…, 11 years ago

math/scalc - switch from 'file delete' to 'delete', and rename what it installs to scalc (rest of ticket #17352)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 KB
Line 
1# $Id: Portfile 42492 2008-11-22 08:27:52Z blb@macports.org $
2
3PortSystem      1.0
4
5name            scalc
6version         1.15
7revision        1
8categories      math
9platforms       darwin
10maintainers     nomaintainer
11description     tool for simple integer calculations or for converting numbers
12long_description \
13   The calc command may be used to do simple integer calculations or to \
14   convert numbers from one radix to another.
15
16homepage        http://www.fokus.fraunhofer.de/research/cc/berlios/employees/joerg.schilling/private/
17master_sites    ftp://ftp.berlios.de/pub/calc/
18distname        calc-${version}
19checksums       md5 f2a89c26bf52078b156af79897d8556a
20
21depends_build   port:smake
22
23patchfiles      patch-RULES_rules.prg.diff
24
25use_configure   no
26
27build.cmd       smake
28
29destroot.destdir   INS_BASE=${destroot}${prefix} \
30                   MANDIR=share/man
31post-destroot {
32   delete ${destroot}${prefix}/lib ${destroot}${prefix}/include \
33      ${destroot}${prefix}/share/man/man5
34   move ${destroot}${prefix}/bin/calc ${destroot}${prefix}/bin/${name}
35   move ${destroot}${prefix}/share/man/man1/calc.1 \
36      ${destroot}${prefix}/share/man/man1/${name}.1
37}
38
Note: See TracBrowser for help on using the repository browser.