Ticket #41630: Portfile

File Portfile, 1.4 KB (added by jpo@…, 11 years ago)

fix +xinerama description

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5
6name                dmenu
7version             4.5
8categories          x11
9license             MIT
10platforms           darwin
11maintainers         vt.edu:jpo openmaintainer
12description         efficient dynamic menu for X
13long_description    dmenu is a dynamic menu for X, originally designed for \
14                    dwm. It manages large numbers of user-defined menu items \
15                    efficiently.
16homepage            http://tools.suckless.org/dmenu/
17master_sites        http://dl.suckless.org/tools/
18
19checksums           rmd160  b771a84e0e9a8fbb29317c07fa77f92b64dcdc2f \
20                    sha256  082cd698d82125ca0b3989006fb84ac4675c2a5585bf5bb8af0ea09cfb95a850
21
22depends_lib         port:xorg-libX11
23
24variant universal   {}
25variant xinerama    description {Add Xinerama support} {
26    depends_lib-append  port:xorg-libXinerama
27}
28default_variants    +xinerama
29
30use_configure       no
31
32build.args-append   CC="${configure.cc} [get_canonical_archflags]" \
33                    X11INC="${prefix}/include" \
34                    X11LIB="${prefix}/lib"
35
36destroot.args-append    PREFIX="${prefix}"
37
38if {![variant_isset xinerama]} {
39    build.args-append   XINERAMALIBS="" XINERAMAFLAGS=""
40}
41
42livecheck.type      regex
43livecheck.url       ${master_sites}
44livecheck.regex     ${name}-(\\d+(?:\\.\\d+)*)