Ticket #21826: Portfile

File Portfile, 3.2 KB (added by gumboot@…, 15 years ago)
Line 
1# $Id: Portfile 53690 2009-07-12 01:02:03Z macsforever2000@macports.org $
2
3####################################################################
4# Marc Lehmann, the developer of rxvt-unicode, has no interest in  #
5# supporting it on Mac OS X. He is hostile about Apple, Mac OS X,  #
6# and Mac users, so do not contact him about his software when     #
7# used on Mac OS X. If you encounter problems updating this port   #
8# to a newer version, find a workaround and write a patch. Do not  #
9# report upstream. See http://trac.macports.org/ticket/17202       #
10####################################################################
11
12PortSystem      1.0
13
14name            rxvt-unicode
15version         9.06
16revision        3
17categories      x11
18maintainers     nomaintainer
19description     Unicode-aware rxvt clone.
20long_description \
21                rxvt-unicode is a clone of the well-known terminal \
22                emulator rxvt. Some of it's main features over rxvt are \
23                use of UCS-2 or UCS-4 to store text internally, \
24                locale-correct in- and output, stability, \
25                completely flicker-free \
26                display, support for Xft and core fonts in any \
27                combination, etc.
28platforms       darwin
29homepage        http://software.schmorp.de/pkg/rxvt-unicode.html
30master_sites    http://dist.schmorp.de/rxvt-unicode/ \
31                http://dist.schmorp.de/rxvt-unicode/Attic/
32use_bzip2       yes
33checksums       md5     4cb9330e99fc0b0b05cebf3581557dd8 \
34                sha1    df623ebdad001de534781721f8298ba1add0df2c \
35                rmd160  ae737ed07e943303318bd81b566146d5426f36bd
36
37depends_build \
38        port:pkgconfig
39
40depends_lib \
41        port:Xft2 \
42        port:expat \
43        port:ncursesw \
44        path:bin/perl:perl5 \
45        port:zlib
46
47configure.perl  ${prefix}/bin/perl
48
49patchfiles      patch-Makefile.in.diff
50
51configure.args  --enable-everything --with-codeset=all \
52                --disable-utmp --disable-afterimage \
53                --mandir=${prefix}/share/man
54
55use_parallel_build  yes
56
57# port:perl5 is not universal
58universal_variant   no
59
60variant xterm_colors_256 description {256 colors patch via xterm} {
61    use_autoconf yes
62    patchfiles-append patch-urxvt-8.2-256color.diff
63    configure.args-append --enable-xterm-colors=256
64}
65
66variant lite description {lightweight build options} {
67    depends_lib-delete port:Xft2 path:bin/perl:perl5 port:zlib
68    depends_lib-append port:xorg-libX11
69    configure.args-delete  --enable-everything
70    configure.args-append  --disable-everything \
71                    --enable-combining --enable-resources \
72                    --enable-frills --enable-font-styles \
73                    --enable-selectionscrolling \
74                    --enable-mousewheel --enable-pointer-blank
75}
76
77destroot.env    TERMINFO=${destroot}${prefix}/share/terminfo
78pre-destroot {
79    xinstall -m 755 -d ${destroot}${prefix}/share/terminfo
80}
81post-destroot {
82    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/etc
83    xinstall -m 644 -W ${worksrcpath} COPYING Changes INSTALL README.FAQ README.configure ${destroot}${prefix}/share/doc/${name}
84    xinstall -m 644 -W ${worksrcpath}/doc/etc rxvt-unicode.termcap rxvt-unicode.terminfo ${destroot}${prefix}/share/doc/${name}/etc
85}
86