aboutsummaryrefslogtreecommitdiffstats
path: root/x11/xkeywrap
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-07-10 13:43:07 +0800
committeritetcu <itetcu@FreeBSD.org>2008-07-10 13:43:07 +0800
commitdd586f76e2b749195d631d7cdade6bcb55f7d6ff (patch)
tree9b0afb96b53b8b9d66b7de8ed51e66f448aa0200 /x11/xkeywrap
parent9bf514bf2f0117c36822b8fcc703c7387f41fa2e (diff)
downloadfreebsd-ports-gnome-dd586f76e2b749195d631d7cdade6bcb55f7d6ff.tar.gz
freebsd-ports-gnome-dd586f76e2b749195d631d7cdade6bcb55f7d6ff.tar.zst
freebsd-ports-gnome-dd586f76e2b749195d631d7cdade6bcb55f7d6ff.zip
- use DOCSDIR in Makefile
- fix plist with -DNOPORTDOCS - bump PORTREVISION Prompted by: QA Tindy run
Diffstat (limited to 'x11/xkeywrap')
-rw-r--r--x11/xkeywrap/Makefile11
-rw-r--r--x11/xkeywrap/pkg-plist8
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 <bsd.port.mk>
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%%