PortSystem       1.0

name             xcb
version          2.4
revision         3
categories       x11
maintainers      {@qbarnes gmail.com:qbarnes} openmaintainer
description      tool for managing X11 cut-buffers
license          Permissive
long_description \
    Xcb provides access to the cut buffers built into every X server. \
    It allows the buffers to be manipulated either via the command line, \
    or with the mouse in a point and click manner.  The buffers can be \
    used as holding pens to store and retrieve arbitrary data fragments, \
    so any number of different pieces of data can be saved and recalled later. \
    The program is designed primarily for use with textual data.
homepage         http://oldhome.schmorp.de/marc/xcb.html
master_sites     http://oldhome.schmorp.de/marc/data

checksums        rmd160  a6edcdac89091d69d49aa176f05237fbf546d092 \
                 sha256  21f25d05907fa3c8393b21474e81f4043af43fb087265f1753a5d57d068bc295 \
                 size    19830

patchfiles       patch-Imakefile.diff \
                 patch-main-proto-fix.diff

use_xmkmf       yes

depends_lib \
        port:xorg-libXaw

destroot.destdir-append \
        BINDIR=${prefix}/bin \
        LIBDIR=${prefix}/lib/X11 \
        ETCX11DIR=${prefix}/lib/X11 \
        FONTDIR=${prefix}/lib/X11/fonts \
        MANPATH=${prefix}/share/man

destroot.target-append install.man

post-destroot {
	delete ${destroot}${prefix}/lib/X11/app-defaults
}
