Ticket #48777: Portfile

File Portfile, 2.1 KB (added by gustafn, 9 years ago)

lang/nsf/Portfile

Line 
1# $Id$
2
3PortSystem 1.0
4
5name                    nsf
6version                 2.0.0
7revision                0
8categories              lang
9license                 MIT
10maintainers             wu.ac.at:neumann
11description             Next Scripting Framework
12long_description        The Next Scripting Framework (NSF) was developed based on the notion of \
13                        language-oriented programming. The Frameworks allows a language developer to \
14                        provide multiple object systems in a single workspace. The developer can base \
15                        the development on a rich set of predefined but extensible set of functions \
16                        (typically implemented in C) which can be registered on object / class skeletons. \
17                        NSF provides a basis for defining object-oriented, domain-specific languages. \
18                        The framework is packaged with XOTcl 2.0 and NX (Next Scripting Language, \
19                        successor of XOTcl)
20platforms               darwin
21homepage                https://next-scripting.org/
22
23# Set tclv and checksums to the current MacPorts Tcl port version, though port doesn't
24# break if they aren't in sync.
25
26set tclv                8.6.3
27
28master_sites            sourceforge:project/next-scripting/${version}:nsf \
29                        sourceforge:project/tcl/Tcl/${tclv}:tcl
30
31distname                ${name}${version}
32dist_subdir             tcltk
33distfiles               ${distname}.tar.gz:nsf \
34                        tcl${tclv}-src.tar.gz:tcl
35
36checksums               ${distname}.tar.gz \
37                        md5     1ce375a3c73338d3a784f5245beaba9e \
38                        sha1    b397f11ce9db9bab957aee29eae404846bb5c707 \
39                        rmd160  cff57b4bff5096ec41cb40d939b4883ef2a1ee93 \
40                        tcl${tclv}-src.tar.gz \
41                        md5     db382feca91754b7f93da16dc4cdad1f \
42                        sha1    026b4b6330205bdc49af12332ee17c2b01f76d37 \
43                        rmd160  7d798ddba4e0b2fce9228f2d654e2cfeef015aca
44
45depends_lib             port:tcl
46
47configure.cflags        "-I${workpath}/tcl${tclv}/generic -I${workpath}/tcl${tclv}/unix"
48configure.args          --enable-threads --with-tcl=${prefix}/lib \
49                        --mandir=${prefix}/share/man \
50                        --with-tcl=${prefix}/lib \
51                        --with-tclinclude=${workpath}/tcl${tclv}/generic/
52
53test.run                yes
54test.target             test
55use_parallel_build      no