aboutsummaryrefslogtreecommitdiff
path: root/x11/xkeywrap
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-04-12 15:06:52 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-04-12 15:06:52 +0000
commit1b75f322052d281afd3c0fac56bc6bb759a356c2 (patch)
treee9dd1612667d148a858fc48040c8f1c4e4b04324 /x11/xkeywrap
parent79e1e7c11377a7c77564680fe90c06b0503032cd (diff)
downloadports-1b75f322052d281afd3c0fac56bc6bb759a356c2.tar.gz
ports-1b75f322052d281afd3c0fac56bc6bb759a356c2.zip
Unbreak.
While there, split out DOCS and EXAMPLES. PR: 208723 Submitted by: tkato432 yahoo com Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=413139
Diffstat (limited to 'x11/xkeywrap')
-rw-r--r--x11/xkeywrap/Makefile23
-rw-r--r--x11/xkeywrap/files/patch-Makefile6
-rw-r--r--x11/xkeywrap/pkg-descr7
3 files changed, 18 insertions, 18 deletions
diff --git a/x11/xkeywrap/Makefile b/x11/xkeywrap/Makefile
index 590587bd2b74..f32b2e274fc4 100644
--- a/x11/xkeywrap/Makefile
+++ b/x11/xkeywrap/Makefile
@@ -5,30 +5,31 @@ PORTNAME= xkeywrap
PORTVERSION= 1.1
PORTREVISION= 3
CATEGORIES= x11
-MASTER_SITES= http://hp.vector.co.jp/authors/VA014157/myfreesoft/
+MASTER_SITES= http://ftp.vector.co.jp/18/98/1364/
MAINTAINER= ports@FreeBSD.org
COMMENT= Record, repeat, and play key sequence from keyboard
-BROKEN= unfetchable
-DEPRECATED= Does not fetch
-EXPIRATION_DATE=2016-04-13
-
-MAKE_ENV= X11BASE=${LOCALBASE}
+MAKE_ENV= X11BASE="${LOCALBASE}"
USE_XORG= x11 xt
-PORTDOCS= README demo.dat xkeywrap_demo.c
+PORTDOCS= README
+PORTEXAMPLES= demo.dat xkeywrap_demo.c
PLIST_FILES= bin/xkeywrap man/man1/${PORTNAME}.1.gz
-OPTIONS_DEFINE= DOCS
+OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xkeywrap ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/xkeywrap.1.gz ${STAGEDIR}${PREFIX}/man/man1
+
+post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for docs in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${docs} ${STAGEDIR}${DOCSDIR}
-.endfor
+ ${INSTALL_DATA} ${PORTDOCS:S/^/${WRKSRC}\//} ${STAGEDIR}${DOCSDIR}
+
+post-install-EXAMPLES-on:
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_DATA} ${PORTEXAMPLES:S/^/${WRKSRC}\//} ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>
diff --git a/x11/xkeywrap/files/patch-Makefile b/x11/xkeywrap/files/patch-Makefile
index 4f6e9f18c458..a159d3dc44fe 100644
--- a/x11/xkeywrap/files/patch-Makefile
+++ b/x11/xkeywrap/files/patch-Makefile
@@ -1,5 +1,5 @@
---- Makefile.orig Sun Apr 22 16:52:58 2001
-+++ Makefile Sun Apr 22 16:55:06 2001
+--- Makefile.orig 2001-04-22 07:16:47 UTC
++++ Makefile
@@ -6,16 +6,16 @@
###############################################################################
@@ -22,7 +22,7 @@
all : xkeywrap xkeywrap.1.gz
-@@ -40,7 +40,7 @@
+@@ -40,7 +40,7 @@ copyright.h : COPYRIGHT mkstr
cat COPYRIGHT | ./mkstr copyright > copyright.h
mkstr : mkstr.c
diff --git a/x11/xkeywrap/pkg-descr b/x11/xkeywrap/pkg-descr
index ef7897497df5..ad6c7b7b06de 100644
--- a/x11/xkeywrap/pkg-descr
+++ b/x11/xkeywrap/pkg-descr
@@ -9,9 +9,8 @@ and
% man xkeywrap
If you want to see a demonstration of XKeyWrap, type
- % cp /usr/X11R6/share/doc/xkeywrap/demo.dat .
- % cp /usr/X11R6/share/doc/xkeywrap/xkeywrap_demo.c .
+ % cp /usr/local/share/examples/xkeywrap/demo.dat .
+ % cp /usr/local/share/examples/xkeywrap/xkeywrap_demo.c .
% xkeywrap -p -s 2 -f demo.dat -x emacs -geometry 80x25 xkeywrap_demo.c
-If you want to get the full or newest original destribution package
-of XKeyWrap, see
+WWW: http://kozos.jp/myfreesoft/