Index: head/x11/xclip/Makefile =================================================================== --- head/x11/xclip/Makefile (revision 560394) +++ head/x11/xclip/Makefile (revision 560395) @@ -1,34 +1,40 @@ # Created by: ijliao # $FreeBSD$ PORTNAME= xclip PORTVERSION= 0.13 CATEGORIES= x11 -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ed.arrakis@gmail.com COMMENT= Interface to X selections ("the clipboard") from the command line LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING +USES= autoreconf gmake iconv xorg + USE_GITHUB= yes GH_ACCOUNT= astrand -USES= autoreconf gmake iconv xorg USE_XORG= x11 xmu GNU_CONFIGURE= yes CONFIGURE_ENV+= ac_cv_header_X11_Xmu_Atoms_h=yes \ ac_cv_header_X11_Intrinsic_h=yes \ ac_cv_lib_Xmu_XmuClientWindow=yes PLIST_FILES= bin/xclip bin/xclip-copyfile bin/xclip-cutfile \ bin/xclip-pastefile \ man/man1/xclip.1.gz man/man1/xclip-copyfile.1.gz -post-patch: - ${REINPLACE_CMD} 's,mktemp,mktemp -t xclip,' ${WRKSRC}/xclip-copyfile +PORTDOCS= README +OPTIONS_DEFINE= DOCS + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/xclip .include Index: head/x11/xclip/files/patch-xclip-copyfile =================================================================== --- head/x11/xclip/files/patch-xclip-copyfile (nonexistent) +++ head/x11/xclip/files/patch-xclip-copyfile (revision 560395) @@ -0,0 +1,11 @@ +--- xclip-copyfile.orig 2016-09-13 07:09:12 UTC ++++ xclip-copyfile +@@ -5,7 +5,7 @@ if [ "x$1" = "x" ]; then + echo "-p Copy path information; preserve tree structure" + exit 1 + fi +-archive=`mktemp` || exit 1 ++archive=`mktemp -t xclip` || exit 1 + trap 'rm -f "${archive}"' 1 2 3 15 + if [ "x$1" = "x-p" ]; then + tar cf "${archive}" "$@" Property changes on: head/x11/xclip/files/patch-xclip-copyfile ___________________________________________________________________ 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/x11/xclip/files/patch-xclip-pastefile =================================================================== --- head/x11/xclip/files/patch-xclip-pastefile (nonexistent) +++ head/x11/xclip/files/patch-xclip-pastefile (revision 560395) @@ -0,0 +1,8 @@ +--- xclip-pastefile.orig 2020-11-05 09:03:17 UTC ++++ xclip-pastefile +@@ -4,4 +4,4 @@ if [ "x$1" != "x" ]; then + echo "Usage: $0" >&2 + exit 1 + fi +-xclip -selection secondary -o | gunzip -c | tar xv ++xclip -selection secondary -o | gunzip -c | tar xv -f - Property changes on: head/x11/xclip/files/patch-xclip-pastefile ___________________________________________________________________ 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