source: trunk/dports/games/sl/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.1 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 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6
7github.setup        mtoyoda sl 5.02
8revision            1
9categories          games
10maintainers         eitanadler.com:lists
11license             Permissive
12
13description         The infamous sl command
14long_description    Corrects you if you type sl instead of ls
15
16platforms           darwin
17
18checksums           rmd160  6df6fbc6fd14cecb2832725553eafab5714e2f15 \
19                    sha256  44dcba02a9fb0f0f66c8a35423898b3089e5f004ee71442462adb3d8d1639c70
20
21depends_lib         port:ncurses
22
23use_configure       no
24
25build {
26    system -W ${worksrcpath} \
27        "${configure.cc} ${configure.optflags} [get_canonical_archflags] -I${prefix}/include -L${prefix}/lib \
28        -Wno-implicit-function-declaration -Wno-implicit-int -Wno-return-type \
29        -o sl sl.c -lncurses -ltermcap"
30}
31
32destroot {
33    xinstall -m 755 ${worksrcpath}/sl ${destroot}${prefix}/bin/sl
34}
35
36variant universal {}
Note: See TracBrowser for help on using the repository browser.