Ticket #30782: efte-1.1.diff
File efte-1.1.diff, 2.0 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
Portfile
1 1 # $Id$ 2 2 3 3 PortSystem 1.0 4 PortGroup cmake 1.0 4 5 5 6 name efte 6 version 0.96 7 revision 3 7 version 1.1 8 8 categories editors 9 9 platforms darwin 10 10 maintainers reiffert openmaintainer … … 16 16 17 17 homepage http://efte.sourceforge.net 18 18 master_sites sourceforge:project/efte/efte/${version} 19 use_bzip2 yes 19 20 20 checksums efte-${version}.tar.gz md5 ae60a3056e73d4655569f455e4c6283e 21 depends_build\ 22 bin:cmake:cmake \ 23 port:xorg-libsm \ 24 port:xorg-libXext \ 25 port:xpm 21 checksums rmd160 8f2410a2d942038b2143e34389d04e59cf7ab036 \ 22 sha256 b71b9301dc781555bd9f4c73d7d81eb92701ccd5119b17da9b86ede402d31e16 26 23 27 configure.args -DCMAKE_BUIL_TYPE=Release \ 28 -DCMAKE_INSTALL_PREFIX:PATH=${prefix} \ 29 -DUSE_GPM=OFF -DBUILD_CONSOLE=ON -DBUILD_X=ON 24 depends_lib port:ncurses 30 25 31 configure { 32 system "cd ${worksrcpath} && ${configure.env} cmake ${configure.args} ${worksrcpath}" 26 configure.args-append \ 27 -DUSE_GPM=OFF -DBUILD_CONSOLE=ON -DBUILD_X=OFF 28 29 variant x11 conflicts no_x11 { 30 depends_lib-append port:xorg-libsm port:xorg-libXext port:xpm 31 configure.args-append -DBUILD_X=ON 32 configure.args-delete -DBUILD_X=OFF 33 33 } 34 34 35 variant no_x11 { 36 depends_build-delete port:xorg-libsm port:xorg-libXext port:xpm 37 configure.args-append "-DBUILD_X=OFF" 38 configure.args-delete "-DBUILD_X=ON" 35 variant no_x11 conflicts x11 description {Legacy compatibility variant} 36 if {[variant_isset no_x11]} { 37 default_variants -x11 38 } else { 39 default_variants +x11 39 40 } 40 41 41 42 post-destroot { 42 system "cd ${destroot}${prefix}/share/efte &&../../bin/cefte config/mymain.fte system.fterc"43 system -W ${destroot}${prefix}/share/efte "../../bin/cefte config/mymain.fte system.fterc" 43 44 }