source: trunk/dports/lang/4th/Portfile

Last change on this file was 138288, checked in by mww@…, 2 years ago

4th: version 3.62.3

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# $Id: Portfile 138288 2015-07-04 10:48:37Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                4th
6version             3.62.3
7categories          lang
8platforms           darwin
9maintainers         mww
10license             LGPL-3
11description         very small Forth compiler
12long_description    4tH is a very small Forth compiler that can create \
13                    bytecode, C-embeddable bytecode, standalone executables, \
14                    but also works fine as a scripting language. It supports \
15                    over 85% of the ANS Forth CORE wordset and features \
16                    conditional compilation, pipes, files, assertions, forward \
17                    declarations, recursion, include files, etc.
18
19homepage            http://thebeez.home.xs4all.nl/4tH/
20master_sites        sourceforge:forth-4th
21distname            ${distname}-unix
22checksums           rmd160  05e124c8fbb331f42c627fb9a64127d8ecd484df \
23                    sha256  60f17e31ef3ac8043adffd42330787f8920158f9e88fcd3e1c6bc17b22ae3d56
24patchfiles          patch-Makefile.OSX.diff
25
26worksrcdir          ${worksrcdir}/sources
27
28variant universal   {}
29
30post-extract { xinstall -m 755 ${filespath}/configure ${worksrcpath} }
31
32configure.cppflags-delete -I${prefix}/include
33configure.ldflags-delete -L${prefix}/lib
34configure.env-append PREFIX=${prefix}
35build.args          -f Makefile.OSX
36destroot.args       -f Makefile.OSX
37
38post-destroot {
39    xinstall -m 755 -d ${destroot}${prefix}/share/doc
40    file copy ${worksrcpath}/../documentation ${destroot}${prefix}/share/doc/${name}
41    file copy ${worksrcpath}/../4th ${destroot}${prefix}/share/doc/${name}/
42    file rename ${destroot}${prefix}/share/doc/4th/4th.1 \
43        ${destroot}${prefix}/share/man/man1/4th.1
44}
45
46livecheck.type      regex
47livecheck.url       http://www.xs4all.nl/~thebeez/4tH/download.html
48livecheck.regex     4th-(\[a-z0-9\\.\]+)-unix.tar.gz
Note: See TracBrowser for help on using the repository browser.