Ticket #39355: Portfile

File Portfile, 1.1 KB (added by noreply@…, 11 years ago)
Line 
1# $Id: Portfile 2 2013-06-06 13:36:49Z emotiongraphics.jp:rino $
2
3PortSystem          1.0
4
5name                xyzsh
6categories          shells
7version             1.4.3
8revision            0
9description         xyzsh - An interactive shell
10long_description    An interactive shell features object oriented scripting with garbage collection.
11homepage            http://sourceforge.jp/projects/xyzsh/
12
13master_sites        sourceforge_jp:${name}/58940/
14checksums           md5 c3e3166fd068c20881f4f39c190069f9
15extract.suffix      .tgz
16
17platforms           darwin
18license             MIT
19maintainers         emotiongraphics.jp:rino
20
21depends_build       port:libc-headers \
22                    port:libm-headers \
23                    port:ncurses \
24                    port:oniguruma5
25
26depends_lib         port:libiconv
27
28configure.args      --prefix=/opt/local \
29                    --with-optimize
30
31variant static description {Create static library} {
32    configure.args-append   --with-static
33}
34
35post-destroot {
36        system "install_name_tool -change libxyzsh.1.9.0.dylib ${prefix}/lib/libxyzsh.1.9.0.dylib ${destroot}${prefix}/bin/xyzsh"
37}