PortSystem       1.0

name             xcb
version          2.4
revision         3
categories       x11
maintainers      gmail.com:qbarnes
description      tool for managing X11 cut-buffers
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
platforms        darwin
master_sites     http://oldhome.schmorp.de/marc/data
checksums        md5 bc791ccefd9260394a8f30733adc42e4
patchfiles       patch-Imakefile \
                 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 
}
