# $Id: Portfile 57375 2009-09-10 08:16:41Z ryandesign@macports.org $

PortSystem              1.0

name                    xsel
version                 1.2.0
revision                1
categories              x11
platforms               darwin
maintainers             ryandesign

homepage                http://www.kfish.org/software/xsel/
master_sites            ${homepage}download/

description \
    command-line program for getting and setting the contents of the \
    X selection

long_description \
    XSel is a ${description}. Normally this is only accessible by \
    manually highlighting information and pasting it with the middle \
    mouse button.

checksums \
    md5     75983f143ce83dc259796c6eaf85c8f5 \
    sha1    e48df89d7ce7e1256b0c7464393533a0c296eca1 \
    rmd160  53fc7fe06e4e4ebe3c47a3a97408876cd0c5faed

depends_lib \
	port:xorg-libX11

livecheck.type          regex
livecheck.url           [lindex ${master_sites} 0]?M=D
livecheck.regex         ${name}-(\[0-9.\]+)\\.tar
