# $Id$ PortSystem 1.0 name sl version 1.0.0 categories games maintainers nomaintainer description The infamous sl command long_description Corrects you if you type sl instead of ls homepage http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html platforms darwin master_sites http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/sl checksums sl.tar \ md5 cc06b159f78f86bfd2d4e0e16330fbae \ sha1 57e18b4333e05be67faff58c42a06fcbc231def9 distfiles sl.tar worksrcdir sl depends_lib port:ncurses extract.cmd tar extract.pre_args -xf extract.post_args "" patchfiles patch-main.diff use_configure no build { system -W ${worksrcpath} \ "${configure.cc} ${configure.optflags} [get_canonical_archflags] -I${prefix}/include -L${prefix}/lib \ -Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-type \ -o sl sl.c -lncurses -ltermcap" } destroot { xinstall -m 755 ${worksrcpath}/sl ${destroot}${prefix}/bin/sl } variant persistent description {Add gates and different trains. Even more annoying!} { # Remove this as it's already included in upstream patch patchfiles-delete patch-main.diff patch_sites-append http://www.izumix.org.uk/sl/ patchfiles-append sl5-1.patch checksums-append sl5-1.patch \ sha1 4bad34d817f725626c1f1b655d968290ec78a19a \ rmd160 03feef9ec80e127b0aee3b08b15fa605e9b6aad2 patch.pre_args -p1 } variant universal {}