Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2019 13:34:40 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498374 - in head/deskutils/autocutsel: . files
Message-ID:  <201904081334.x38DYetw000167@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Mon Apr  8 13:34:39 2019
New Revision: 498374
URL: https://svnweb.freebsd.org/changeset/ports/498374

Log:
  - Add man pages [1]
  - Add missing XORG dependencies (ice, sm, xext, xt) as prompted by stage-qa
  - Pacify portlint (rearrange some vars)
  - Add LICENSE
  
  PR:		236789
  Approved by:	john@jnielsen.net (maintainer-timeout; 14d)
  Obtained from:	debian [1]

Added:
  head/deskutils/autocutsel/files/
  head/deskutils/autocutsel/files/patch-autocutsel.1   (contents, props changed)
  head/deskutils/autocutsel/files/patch-cutsel.1   (contents, props changed)
Modified:
  head/deskutils/autocutsel/Makefile

Modified: head/deskutils/autocutsel/Makefile
==============================================================================
--- head/deskutils/autocutsel/Makefile	Mon Apr  8 13:05:47 2019	(r498373)
+++ head/deskutils/autocutsel/Makefile	Mon Apr  8 13:34:39 2019	(r498374)
@@ -3,22 +3,31 @@
 
 PORTNAME=	autocutsel
 PORTVERSION=	0.10.0
+PORTREVISION=	1
 CATEGORIES=	deskutils
 
 MAINTAINER=	john@jnielsen.net
 COMMENT=	Synchronizes the two copy/paste buffers used by X applications
 
+LICENSE=	GPLv2
+LICENSE_FILE=	${WRKSRC}/COPYING
+
+USES=		autoreconf gmake libtool
+USE_XORG=	ice sm x11 xaw xext xmu xt
 USE_GITHUB=	yes
 GH_ACCOUNT=	sigmike
 
-USE_XORG=	x11 xaw xmu
 GNU_CONFIGURE=	yes
-USES=		gmake autoreconf libtool
 
 PLIST_FILES=	bin/autocutsel \
-		bin/cutsel
+		bin/cutsel \
+		man/man1/autocutsel.1.gz \
+		man/man1/cutsel.1.gz
 
 post-configure:
 	@${REINPLACE_CMD} -e 's|-I\.|-I/usr/local/include|g' ${WRKSRC}/Makefile
+
+post-install:
+	${INSTALL_MAN} ${WRKSRC}/*.1 ${STAGEDIR}${PREFIX}/man/man1
 
 .include <bsd.port.mk>

Added: head/deskutils/autocutsel/files/patch-autocutsel.1
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/autocutsel/files/patch-autocutsel.1	Mon Apr  8 13:34:39 2019	(r498374)
@@ -0,0 +1,101 @@
+--- autocutsel.1.orig	2019-03-25 17:46:04 UTC
++++ autocutsel.1
+@@ -0,0 +1,98 @@
++.TH "AUTOCUTSEL" "1" "5 December 2007" "autocutsel 0.9.0"
++.SH "NAME"
++autocutsel \- keep the X clipboard and the cutbuffer in sync
++.SH "SYNOPSIS"
++.na
++.B autocutsel
++.RB [ \-selection
++.IR selection_name ]
++.RB [ \-cutbuffer
++.IR number ]
++.RB [ \-debug ]
++.RB [ \-verbose ]
++.RB [ \-fork ]
++.RB [ \-pause
++.IR milliseconds ]
++.RB [ \-buttonup ]
++
++.LP
++.SH "DESCRIPTION"
++.PP
++This manual page documents briefly the
++.B autocutsel
++command.
++.PP
++This manual page was written for the
++.B Debian
++distribution because the original
++program does not have a manual page.
++.PP
++.B autocutsel
++tracks changes in the server's
++cutbuffer and clipboard selection.
++When the clipboard is changed,
++it updates the cutbuffer.
++When the cutbuffer is changed,
++it owns the clipboard selection.
++The cutbuffer and clipboard
++selection are always synchronized.
++Since the VNC client synchronizes
++the Windows' clipboard and the
++server's cutbuffer,
++all three "clipboards" are
++always kept synchronized.
++When you copy some text in Windows,
++the cutbuffer and the clipboard
++selection are updated.
++When you copy text on the server
++using either the cutbuffer or
++the clipboard selection,
++the Windows's clipboard is always
++updated.
++
++.SH "OPTIONS"
++.TP
++.B -selection, -select, -sel, -s {CLIPBOARD|PRIMARY}
++Specify which selection to use.
++Default is CLIPBOARD.
++
++.TP
++.B -cutbuffer <number>
++(Details of this parameter unknown.)
++
++.TP
++.B -debug, -d
++Run with debugging mode.
++
++.TP
++.B -verbose, -v
++Be more verbose.
++Reports the version and announces synchronizations.
++
++.TP
++.B -fork, -f
++Run as a daemon program in the background.
++This is recommended when used from an X startup script.
++
++.TP
++.B -pause, -p <milliseconds>
++Wait some milliseconds before owning the selection.
++
++.TP
++.B -buttonup
++Get the selection only when the
++button 1 is not pressed.
++This may help with OpenOffice Writer.
++
++.SH "AUTHOR"
++.PP
++This manual page was written by
++Elmar S. Heeb <elmar@heebs.ch> for the
++.B Debian
++system (but may be used by others).
++Permission is granted to copy,
++distribute and/or modify this
++document under  the terms of the
++GNU General Public License,
++Version 2 any later version published
++by the Free Software Foundation.

Added: head/deskutils/autocutsel/files/patch-cutsel.1
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/autocutsel/files/patch-cutsel.1	Mon Apr  8 13:34:39 2019	(r498374)
@@ -0,0 +1,66 @@
+--- cutsel.1.orig	2019-03-25 17:46:04 UTC
++++ cutsel.1
+@@ -0,0 +1,63 @@
++.TH "CUTSEL" "1" "5 December 2007" "autocutsel 0.9.0"
++.SH "NAME"
++cutsel \- show information about the X clipboard and the cutbuffer in sync
++.SH "SYNOPSIS"
++.PP
++.B cutsel
++[\-selection \fIselection_name\fP]
++[\-cutbuffer \fInumber\fP]
++[\-debug]
++[\-verbose]
++{cut|sel}
++
++.LP
++.SH "DESCRIPTION"
++.PP
++This manual page documents briefly the
++.B cutsel
++command.
++.PP
++This manual page was written for the
++.B Debian
++distribution because the original
++program does not have a manual page.
++
++.TP
++.B cutsel [\fIoptions\fP] cut
++shows the contents of the cut buffer
++and
++.TP
++.B cutsel [\fIoptions\fP] sel
++shows the owner of the selection.
++
++.SH "OPTIONS"
++.TP
++.B \-selection, \-select, \-sel, \-s {CLIPBOARD|PRIMARY}
++Specify which selection to use.
++Default is CLIPBOARD.
++
++.TP
++.B \-cutbuffer <number>
++(Details of this parameter unknown.)
++
++.TP
++.B \-debug, \-d
++Run with debugging mode.
++
++.TP
++.B \-verbose, \-v
++Be more verbose.
++Reports the version and announces synchronizations.
++
++.SH "AUTHOR"
++.PP
++This manual page was written by
++Elmar S. Heeb <elmar@heebs.ch> for the
++.B Debian
++system (but may be used by others).
++Permission is granted to copy,
++distribute and/or modify this
++document under  the terms of the
++GNU General Public License,
++Version 2 any later version published
++by the Free Software Foundation.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904081334.x38DYetw000167>