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