1 | # $Id: Portfile 1 2013-06-06 19:48:35Z emotiongraphics.jp:rino $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name mfiler4 |
---|
6 | categories sysutils |
---|
7 | version 1.2.0 |
---|
8 | revision 0 |
---|
9 | description mfiler4 - A two-pain console file manager |
---|
10 | long_description ${description} |
---|
11 | homepage http://sourceforge.jp/projects/mfiler4/ |
---|
12 | |
---|
13 | master_sites sourceforge_jp:${name}/58941/ |
---|
14 | checksums md5 eb25d58bd367df82cab21f249f9a19b6 |
---|
15 | extract.suffix .tgz |
---|
16 | |
---|
17 | platforms darwin |
---|
18 | license MIT |
---|
19 | maintainers emotiongraphics.jp:rino |
---|
20 | |
---|
21 | depends_build port:libc-headers \ |
---|
22 | port:libm-headers \ |
---|
23 | port:ncurses \ |
---|
24 | port:oniguruma5 \ |
---|
25 | port:xyzsh |
---|
26 | |
---|
27 | configure.args --prefix=/opt/local \ |
---|
28 | --with-optimize |
---|
29 | |
---|
30 | configure.compiler llvm-gcc-4.2 |
---|
31 | |
---|
32 | pre-destroot { |
---|
33 | system "mv ${worksrcpath}/USAGE.ja.txt ${worksrcpath}/USAGE.ja" |
---|
34 | system "mv ${worksrcpath}/USAGE.txt ${worksrcpath}/USAGE" |
---|
35 | } |
---|
36 | |
---|
37 | post-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 | } |
---|