Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Apr 2016 15:06:52 +0000 (UTC)
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413139 - in head/x11/xkeywrap: . files
Message-ID:  <201604121506.u3CF6q8Y032316@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mat
Date: Tue Apr 12 15:06:52 2016
New Revision: 413139
URL: https://svnweb.freebsd.org/changeset/ports/413139

Log:
  Unbreak.
  
  While there, split out DOCS and EXAMPLES.
  
  PR:		208723
  Submitted by:	tkato432 yahoo com
  Sponsored by:	Absolight

Modified:
  head/x11/xkeywrap/Makefile   (contents, props changed)
  head/x11/xkeywrap/files/patch-Makefile   (contents, props changed)
  head/x11/xkeywrap/pkg-descr   (contents, props changed)

Modified: head/x11/xkeywrap/Makefile
==============================================================================
--- head/x11/xkeywrap/Makefile	Tue Apr 12 15:06:46 2016	(r413138)
+++ head/x11/xkeywrap/Makefile	Tue Apr 12 15:06:52 2016	(r413139)
@@ -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>

Modified: head/x11/xkeywrap/files/patch-Makefile
==============================================================================
--- head/x11/xkeywrap/files/patch-Makefile	Tue Apr 12 15:06:46 2016	(r413138)
+++ head/x11/xkeywrap/files/patch-Makefile	Tue Apr 12 15:06:52 2016	(r413139)
@@ -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

Modified: head/x11/xkeywrap/pkg-descr
==============================================================================
--- head/x11/xkeywrap/pkg-descr	Tue Apr 12 15:06:46 2016	(r413138)
+++ head/x11/xkeywrap/pkg-descr	Tue Apr 12 15:06:52 2016	(r413139)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604121506.u3CF6q8Y032316>