source: trunk/dports/x11/xterm/Portfile

Last change on this file was 148350, checked in by jeremyhu@…, 19 months ago

xterm: Bump to 324

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.9 KB
Line 
1# $Id: Portfile 148350 2016-05-05 04:51:17Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                xterm
6version             324
7categories          x11
8license             X11
9platforms           darwin
10maintainers         jeremyhu openmaintainer
11description         the ubiquitous X terminal emulator, stand-alone
12long_description    The xterm program is a terminal emulator for the X \
13                    Window System. It supports a plethora of features, \
14                    including colors, Unicode, etc.
15
16homepage            http://invisible-island.net/xterm/
17master_sites        ftp://invisible-island.net/xterm/ \
18                    http://invisible-island.net/datafiles/release/
19checksums           rmd160  4c7c3446830b183327b969dbc982e3ee2e56e160 \
20                    sha256  70ecbec8d27789248e8ae2dc2cf159a2e189c152a6559a2b3df7f4838da36092
21extract.suffix      .tgz
22
23depends_build \
24        port:xorg-xproto
25
26depends_run \
27        bin:luit:luit
28
29depends_lib \
30        port:ncurses \
31        port:expat \
32        port:zlib \
33        port:xorg-libXaw \
34        port:Xft2
35
36patchfiles PR-7191532.patch
37
38patch.pre_args -p1
39
40configure.args      --mandir=${prefix}/share/man --enable-luit \
41                    --enable-logging --enable-wide-chars \
42                    --enable-256-color --enable-load-vt-fonts \
43                    --x-include=${prefix}/include --x-lib=${prefix}/lib \
44                    --with-app-defaults=${prefix}/share/X11/app-defaults
45
46# If -ltermcap stays in the LDFLAGS, xterm is linked against both
47# /usr/lib's and ${prefix}/lib's libncurses.
48post-configure {
49    reinplace "s|-ltermcap|-lncurses|" ${worksrcpath}/Makefile
50}
51
52livecheck.type      regex
53livecheck.url       http://www.invisible-island.net/xterm/xterm.log.html
54livecheck.regex     "Patch #(\\d+)"
55
56variant utmp description {Support updating utmp/utmpx database
57                          (installs setgid daemon)} {
58   configure.args-append   --with-utmp-setgid=daemon --with-utempter
59}
60
61platform darwin 8 {
62    configure.args-append cf_cv_xopen_source=no cf_cv_posix_c_source=no
63}
Note: See TracBrowser for help on using the repository browser.