1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- use DOCSDIR in Makefile

- fix plist with -DNOPORTDOCS
- bump PORTREVISION

Prompted by:	QA Tindy run
This commit is contained in:
Ion-Mihai Tetcu 2008-07-10 05:43:07 +00:00
parent 325b7569e2
commit d943534331
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216651
2 changed files with 9 additions and 10 deletions

View File

@ -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>

View File

@ -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%%