# $Id: Portfile 59997 2009-10-28 23:46:51Z jmr@macports.org $

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://www.goof.com/pcg/marc/xcb.html
platforms        darwin
master_sites     http://www.goof.com/pcg/marc/data/
checksums        md5 bc791ccefd9260394a8f30733adc42e4
patchfiles       patch-Imakefile

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 
}
