Index: head/deskutils/autocutsel/Makefile =================================================================== --- head/deskutils/autocutsel/Makefile (revision 498373) +++ head/deskutils/autocutsel/Makefile (revision 498374) @@ -1,24 +1,33 @@ # Created by: john@jnielsen.net # $FreeBSD$ 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 Index: head/deskutils/autocutsel/files/patch-autocutsel.1 =================================================================== --- head/deskutils/autocutsel/files/patch-autocutsel.1 (nonexistent) +++ head/deskutils/autocutsel/files/patch-autocutsel.1 (revision 498374) @@ -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 ++(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 ++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 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. Property changes on: head/deskutils/autocutsel/files/patch-autocutsel.1 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/deskutils/autocutsel/files/patch-cutsel.1 =================================================================== --- head/deskutils/autocutsel/files/patch-cutsel.1 (nonexistent) +++ head/deskutils/autocutsel/files/patch-cutsel.1 (revision 498374) @@ -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 ++(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 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. Property changes on: head/deskutils/autocutsel/files/patch-cutsel.1 ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property