diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-03-09 09:19:21 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2017-03-09 09:19:21 +0000 |
commit | 8d59de68516ecf3929b10415fe5dd5e11308e00e (patch) | |
tree | 5ff9fe87dd94930914a57386fed1bd6c481683d9 /x11/xkbctrl | |
parent | 7356095eaeb522ad3316a6910111b673bacc4d25 (diff) | |
download | ports-8d59de68516ecf3929b10415fe5dd5e11308e00e.tar.gz ports-8d59de68516ecf3929b10415fe5dd5e11308e00e.zip |
Notes
Diffstat (limited to 'x11/xkbctrl')
-rw-r--r-- | x11/xkbctrl/Makefile | 16 | ||||
-rw-r--r-- | x11/xkbctrl/files/patch-Imakefile | 6 | ||||
-rw-r--r-- | x11/xkbctrl/files/patch-xkbctrl.c | 8 |
3 files changed, 17 insertions, 13 deletions
diff --git a/x11/xkbctrl/Makefile b/x11/xkbctrl/Makefile index b027460623d9..42facbd4c043 100644 --- a/x11/xkbctrl/Makefile +++ b/x11/xkbctrl/Makefile @@ -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> diff --git a/x11/xkbctrl/files/patch-Imakefile b/x11/xkbctrl/files/patch-Imakefile index 60aec48104e4..4c1437cd98c4 100644 --- a/x11/xkbctrl/files/patch-Imakefile +++ b/x11/xkbctrl/files/patch-Imakefile @@ -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) diff --git a/x11/xkbctrl/files/patch-xkbctrl.c b/x11/xkbctrl/files/patch-xkbctrl.c index fbc6774de8c8..3f0c5dae457c 100644 --- a/x11/xkbctrl/files/patch-xkbctrl.c +++ b/x11/xkbctrl/files/patch-xkbctrl.c @@ -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; |