diff options
author | sat <sat@FreeBSD.org> | 2007-08-10 00:31:04 +0800 |
---|---|---|
committer | sat <sat@FreeBSD.org> | 2007-08-10 00:31:04 +0800 |
commit | 8e705b463b5918ec270e41035d31a4b3487be8fa (patch) | |
tree | 349d2deb47730fa3c4659db576edec34425ab1e3 /x11 | |
parent | 1be77c32043eaf62d611d457fb6b813c8694e7a0 (diff) | |
download | freebsd-ports-gnome-8e705b463b5918ec270e41035d31a4b3487be8fa.tar.gz freebsd-ports-gnome-8e705b463b5918ec270e41035d31a4b3487be8fa.tar.zst freebsd-ports-gnome-8e705b463b5918ec270e41035d31a4b3487be8fa.zip |
Add port x11/xsel-conrad:
XSel is a command-line program for getting and setting the contents of
the X selection. Normally this is only accessible by manually
highlighting information and pasting it with the middle mouse button.
This port is similar to x11/xsel, but with different CLI syntax and
a bit more functionality. It is a lot more popular, too.
WWW: http://www.vergenet.net/~conrad/software/xsel/
Author: Conrad Parker <conrad@vergenet.net>
Based on: OpenBSD port, Portage package
Diffstat (limited to 'x11')
-rw-r--r-- | x11/Makefile | 1 | ||||
-rw-r--r-- | x11/xsel-conrad/Makefile | 40 | ||||
-rw-r--r-- | x11/xsel-conrad/distinfo | 3 | ||||
-rw-r--r-- | x11/xsel-conrad/pkg-descr | 9 |
4 files changed, 53 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile index b78b9708bd14..bf1e7b17ec49 100644 --- a/x11/Makefile +++ b/x11/Makefile @@ -431,6 +431,7 @@ SUBDIR += xscreensaver-kde SUBDIR += xscreensaver.app SUBDIR += xsel + SUBDIR += xsel-conrad SUBDIR += xset SUBDIR += xsetmode SUBDIR += xsetpointer diff --git a/x11/xsel-conrad/Makefile b/x11/xsel-conrad/Makefile new file mode 100644 index 000000000000..406efe78bc64 --- /dev/null +++ b/x11/xsel-conrad/Makefile @@ -0,0 +1,40 @@ +# Ports collection makefile for: xsel-conrad +# Date created: 9 August 2007 +# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org> +# +# $FreeBSD$ +# + +PORTNAME= xsel +PORTVERSION= 0.9.6 +CATEGORIES= x11 +MASTER_SITES= http://www.vergenet.net/~conrad/software/xsel/download/ \ + CENKES +PKGNAMESUFFIX= -conrad + +MAINTAINER= infofarmer@FreeBSD.org +COMMENT= Access X selection from command line + +CONFLICTS= xsel-[0-9]* +USE_XORG= x11 xext xt xproto ice sm +CFLAGS+= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib +MAN1= ${PORTNAME}.1 +PLIST_FILES= bin/${PORTNAME} +PORTDOCS= ChangeLog README +GNU_CONFIGURE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|jmp_buf|sigjmp_buf|g' ${WRKSRC}/xsel.c + @${REINPLACE_CMD} -e 's|@X_CFLAGS@|${CFLAGS}|;\ + s|@X_LIBS@|${LDFLAGS}|' ${WRKSRC}/Makefile.in + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ + @${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1x ${MAN1PREFIX}/man/man1/${PORTNAME}.1 +.ifndef NOPORTDOCS + @${INSTALL} -d ${DOCSDIR}/ + @cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/ +.endif + +.include <bsd.port.mk> diff --git a/x11/xsel-conrad/distinfo b/x11/xsel-conrad/distinfo new file mode 100644 index 000000000000..6fc40fc9633a --- /dev/null +++ b/x11/xsel-conrad/distinfo @@ -0,0 +1,3 @@ +MD5 (xsel-0.9.6.tar.gz) = cec2fb09a4101b7f2beab8094234e2f4 +SHA256 (xsel-0.9.6.tar.gz) = e4c2f9e38776627e2c502339e72c169e1a037ebb41bb147e5658f7abb2212f93 +SIZE (xsel-0.9.6.tar.gz) = 66209 diff --git a/x11/xsel-conrad/pkg-descr b/x11/xsel-conrad/pkg-descr new file mode 100644 index 000000000000..bf5491404dcf --- /dev/null +++ b/x11/xsel-conrad/pkg-descr @@ -0,0 +1,9 @@ +XSel is a command-line program for getting and setting the contents of +the X selection. Normally this is only accessible by manually +highlighting information and pasting it with the middle mouse button. + +This port is similar to x11/xsel, but with different CLI syntax and +a bit more functionality. It is a lot more popular, too. + +WWW: http://www.vergenet.net/~conrad/software/xsel/ +Author: Conrad Parker <conrad@vergenet.net> |