Ticket #39356: Portfile

File Portfile, 1.4 KB (added by noreply@…, 11 years ago)
Line 
1# $Id: Portfile 1 2013-06-06 19:48:35Z emotiongraphics.jp:rino $
2
3PortSystem          1.0
4
5name                mfiler4
6categories          sysutils
7version             1.2.0
8revision            0
9description         mfiler4 - A two-pain console file manager
10long_description    ${description}
11homepage            http://sourceforge.jp/projects/mfiler4/
12
13master_sites        sourceforge_jp:${name}/58941/
14checksums           md5 eb25d58bd367df82cab21f249f9a19b6
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                    port:xyzsh
26
27configure.args      --prefix=/opt/local \
28                    --with-optimize
29
30configure.compiler  llvm-gcc-4.2
31
32pre-destroot {
33        system "mv ${worksrcpath}/USAGE.ja.txt ${worksrcpath}/USAGE.ja"
34        system "mv ${worksrcpath}/USAGE.txt ${worksrcpath}/USAGE"
35}
36
37post-destroot {
38        system "install_name_tool -change libxyzsh.1.9.0.dylib ${prefix}/lib/libxyzsh.1.9.0.dylib ${destroot}${prefix}/bin/mfiler4"
39        system "mv ${destroot}${prefix}/share/doc/mfiler4/USAGE.ja ${destroot}${prefix}/share/doc/mfiler4/USAGE.ja.txt"
40        system "mv ${destroot}${prefix}/share/doc/mfiler4/USAGE ${destroot}${prefix}/share/doc/mfiler4/USAGE.txt"
41}