From d94353433174d2c13327a67ed3f0c4f56c0e9088 Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Thu, 10 Jul 2008 05:43:07 +0000 Subject: [PATCH] - use DOCSDIR in Makefile - fix plist with -DNOPORTDOCS - bump PORTREVISION Prompted by: QA Tindy run --- x11/xkeywrap/Makefile | 11 +++++------ x11/xkeywrap/pkg-plist | 8 ++++---- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/x11/xkeywrap/Makefile b/x11/xkeywrap/Makefile index e58293a63d74..5729b20c7c1f 100644 --- a/x11/xkeywrap/Makefile +++ b/x11/xkeywrap/Makefile @@ -7,7 +7,7 @@ PORTNAME= xkeywrap PORTVERSION= 1.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= x11 MASTER_SITES= http://hp.vector.co.jp/authors/VA014157/myfreesoft/ @@ -17,16 +17,15 @@ COMMENT= Record, repeat, and play key sequence from keyboard USE_XORG= x11 xt MAN1= xkeywrap.1 MANCOMPRESSED= yes -PORTSDOCDIR= ${PREFIX}/share/doc/xkeywrap do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xkeywrap ${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/xkeywrap.1.gz ${PREFIX}/man/man1 .if !defined(NOPORTDOCS) - ${MKDIR} ${PORTSDOCDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${PORTSDOCDIR} - ${INSTALL_DATA} ${WRKSRC}/demo.dat ${PORTSDOCDIR} - ${INSTALL_DATA} ${WRKSRC}/xkeywrap_demo.c ${PORTSDOCDIR} + ${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/demo.dat ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/xkeywrap_demo.c ${DOCSDIR} .endif .include diff --git a/x11/xkeywrap/pkg-plist b/x11/xkeywrap/pkg-plist index f68fc65e5724..50d505caf6a0 100644 --- a/x11/xkeywrap/pkg-plist +++ b/x11/xkeywrap/pkg-plist @@ -1,5 +1,5 @@ bin/xkeywrap -%%DOCSDIR%%/README -%%DOCSDIR%%/demo.dat -%%DOCSDIR%%/xkeywrap_demo.c -@dirrm %%DOCSDIR%% +%%PORTDOCS%%%%DOCSDIR%%/README +%%PORTDOCS%%%%DOCSDIR%%/demo.dat +%%PORTDOCS%%%%DOCSDIR%%/xkeywrap_demo.c +%%PORTDOCS%%@dirrm %%DOCSDIR%%