source: trunk/dports/games/sl/Portfile @ 135134

Last change on this file since 135134 was 135134, checked in by ionic@…, 4 years ago

sl: switch to github. Use correct version value. Remove (broken) persistent variant. Drop unneeded patch. Maintainer upload. Fixes: #47469.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.0 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8::et:sw=4:ts=4:sts=4
2# $Id: Portfile 135134 2015-04-16 06:17:24Z ionic@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        mtoyoda sl 5.02
8categories          games
9maintainers         eitanadler.com:lists
10license             Permissive
11
12description         The infamous sl command
13long_description    Corrects you if you type sl instead of ls
14
15platforms           darwin
16
17checksums           rmd160  6df6fbc6fd14cecb2832725553eafab5714e2f15 \
18                    sha256  44dcba02a9fb0f0f66c8a35423898b3089e5f004ee71442462adb3d8d1639c70
19
20depends_lib         port:ncurses
21
22use_configure       no
23
24build {
25    system -W ${worksrcpath} \
26        "${configure.cc} ${configure.optflags} [get_canonical_archflags] -I${prefix}/include -L${prefix}/lib \
27        -Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-type \
28        -o sl sl.c -lncurses -ltermcap"
29}
30
31destroot {
32    xinstall -m 755 ${worksrcpath}/sl ${destroot}${prefix}/bin/sl
33}
34
35variant universal {}
Note: See TracBrowser for help on using the repository browser.