Date: Thu, 9 Mar 2017 09:19:21 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r435750 - in head/x11/xkbctrl: . files Message-ID: <201703090919.v299JL3h059902@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Mar 9 09:19:21 2017 New Revision: 435750 URL: https://svnweb.freebsd.org/changeset/ports/435750 Log: - Add LICENSE - Pet portlint - Regenerate patches Modified: head/x11/xkbctrl/Makefile head/x11/xkbctrl/files/patch-Imakefile head/x11/xkbctrl/files/patch-xkbctrl.c Modified: head/x11/xkbctrl/Makefile ============================================================================== --- head/x11/xkbctrl/Makefile Thu Mar 9 09:01:49 2017 (r435749) +++ head/x11/xkbctrl/Makefile Thu Mar 9 09:19:21 2017 (r435750) @@ -11,6 +11,9 @@ DISTFILES= Imakefile xkbctrl.c MAINTAINER= ports@FreeBSD.org COMMENT= Display and manipulate XKB keyboard controls from the commandline +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/COPYING + DIST_SUBDIR= xkbctrl PLIST_FILES= bin/xkbctrl USES= imake @@ -18,13 +21,14 @@ USE_XORG= x11 xkbfile NO_WRKSUBDIR= yes do-extract: - @${RM} -r ${WRKSRC} - @${MKDIR} ${WRKSRC} - @for _file in ${DISTFILES}; do \ - ${CP} ${DISTDIR}/${DIST_SUBDIR}/$${_file} ${WRKSRC}; \ - done + @${RM} -r ${WRKSRC} + @${MKDIR} ${WRKSRC} + @for _file in ${DISTFILES}; do \ + ${CP} ${DISTDIR}/${DIST_SUBDIR}/$${_file} ${WRKSRC}; \ + done + @${SED} -n '3,24p' <${WRKSRC}/xkbctrl.c >${WRKSRC}/COPYING do-install: - @${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin .include <bsd.port.mk> Modified: head/x11/xkbctrl/files/patch-Imakefile ============================================================================== --- head/x11/xkbctrl/files/patch-Imakefile Thu Mar 9 09:01:49 2017 (r435749) +++ head/x11/xkbctrl/files/patch-Imakefile Thu Mar 9 09:19:21 2017 (r435750) @@ -1,6 +1,6 @@ ---- Imakefile.org Sun Jan 9 22:48:52 2000 -+++ Imakefile Sun Jan 9 22:49:13 2000 -@@ -7,35 +7,9 @@ +--- Imakefile.orig 2017-03-09 09:12:29 UTC ++++ Imakefile +@@ -7,35 +7,9 @@ XCOMM $XConsortium: Imakefile /main/7 19 DEPLIBS = $(DEPXKBFILELIB) $(DEPXONLYLIB) XTLOCLIBS = $(XTOOLLIB) $(XONLYLIB) XTDEPLIBS = $(DEPXTOOLLIB) $(DEPXONLYLIB) Modified: head/x11/xkbctrl/files/patch-xkbctrl.c ============================================================================== --- head/x11/xkbctrl/files/patch-xkbctrl.c Thu Mar 9 09:01:49 2017 (r435749) +++ head/x11/xkbctrl/files/patch-xkbctrl.c Thu Mar 9 09:19:21 2017 (r435750) @@ -1,6 +1,6 @@ ---- xkbctrl.c.org Sun Jan 9 22:51:02 2000 -+++ xkbctrl.c Wed Jul 5 22:15:09 2000 -@@ -27,7 +27,7 @@ +--- xkbctrl.c.orig 2017-03-09 09:12:29 UTC ++++ xkbctrl.c +@@ -27,7 +27,7 @@ THE USE OR PERFORMANCE OF THIS SOFTWARE. #include <stdio.h> #include <stdlib.h> @@ -9,7 +9,7 @@ #include <ctype.h> #include <X11/Xos.h> #include <X11/Xlib.h> -@@ -112,7 +112,7 @@ +@@ -112,7 +112,7 @@ register char *tmp; if (*tmp=='4') { *changes|= Mod4Mask; if (onOff) *mods|= Mod4Mask;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201703090919.v299JL3h059902>