source: trunk/dports/lang/gprolog/Portfile @ 50984

Last change on this file since 50984 was 50984, checked in by and.damore@…, 10 years ago

Maintainer email change, second batch, mail without @macports.org domain are put in domain:user form.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $
2
3PortSystem 1.0
4name            gprolog
5version         1.3.1
6
7categories      lang
8maintainers     mac.com:pmoura
9platforms       darwin
10description     GNU Prolog compiler
11
12long_description        \
13                GNU Prolog is a free Prolog compiler with constraint    \
14                solving over finite domains developed by Daniel Diaz.   \
15                GNU Prolog accepts Prolog+constraint programs and       \
16                produces native binaries (like gcc does from a C        \
17                source). The obtained executable is then stand-alone.   \
18                The size of this executable can be quite small since    \
19                GNU Prolog can avoid linking the code of most unused    \
20                built-in predicates. The performance of GNU Prolog is   \
21                very encouraging (comparable to commercial systems).    \
22                Beside native-code compilation, GNU Prolog offers a     \
23                classical interactive interpreter (top-level) with a    \
24                debugger.
25
26homepage        http://gprolog.inria.fr/
27master_sites    http://www.gprolog.org/
28
29checksums       md5 cbae19c31e17bcfca4b57fe35ec4aba2
30
31distname        ${name}-${version}
32worksrcdir      ${name}-${version}/src
33
34configure.args \
35        --prefix=${destroot}/${prefix} \
36        --with-install-dir=${prefix}/lib/${name}-${version} \
37        --with-examples-dir=${prefix}/share/${name}-${version} \
38        --with-doc-dir=${prefix}/share/${name}-${version}
39
40post-destroot   {
41        foreach cmd {fd2c gplc gprolog hexgplc ma2asm pl2wam wam2ma} {
42                system "ln -fs ../lib/${name}-${version}/bin/${cmd} ${destroot}${prefix}/bin/${cmd}"
43        }
44
45        file delete -force ${destroot}${prefix}/var
46}
47
48
49post-pkg {
50        set resources ${workpath}/${name}-${version}.pkg/Contents/Resources/
51        file copy -force -- ${workpath}/${name}-${version}/COPYING ${resources}/License.txt
52        file copy -force -- ${workpath}/${name}-${version}/README ${resources}/ReadMe.txt
53}
Note: See TracBrowser for help on using the repository browser.