# $Id: Portfile 50984 2009-05-14 21:08:43Z and.damore@macports.org $

PortSystem       1.0

name             xcb
version          2.4
revision         1
categories       x11
maintainers      prairienet.org: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_build   bin:xmkmf:imake

depends_lib \
        port:xorg-libXaw

destroot.destdir \
        DESTDIR=${destroot} \
        BINDIR=${prefix}/bin \
        LIBDIR=${prefix}/lib/X11 \
        XAPPLOADDIR=${prefix}/lib/X11/app-defaults \
        FONTDIR=${prefix}/lib/X11/fonts \
        MANPATH=${prefix}/share/man

destroot.target install install.man
