- use DOCSDIR macro

- fix plist for -DNOPORTDOCS
- bump PORTREVISION

Approved by:	maintainer timeout on QAT BotMail
Prompted by:	QAT QA run
This commit is contained in:
Ion-Mihai Tetcu 2008-11-17 19:31:24 +00:00
parent 63685a3bc1
commit e7f4e48e2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=222982
2 changed files with 9 additions and 8 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= xmulti
PORTVERSION= 2.00b4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= games
MASTER_SITES= http://www.denpa.org/~go/xmulti/
DISTFILES= xmul200b4.tgz
@ -21,12 +21,13 @@ USE_IMAKE= yes
MAN1= xmaid.1
NOMANCOMPRESS= yes
DOCSDIR= ${PREFIX}/share/doc/ja/{PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/ja/xmulti
${MKDIR} ${DOCSDIR}
.for i in MODULE.jp README.jp STYLESHEET.jp XMULTI.jp
${INSTALL_MAN} ${WRKSRC}/$i ${PREFIX}/share/doc/ja/xmulti
${INSTALL_MAN} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif

View file

@ -59,11 +59,11 @@ lib/X11/xmaid/multi/suwari.gif
lib/X11/xmaid/multi/xmultiback.gif
lib/X11/xmaid/multi/xmultimark.gif
lib/X11/xmaid/multi/xmultimark2.gif
share/doc/ja/xmulti/MODULE.jp
share/doc/ja/xmulti/README.jp
share/doc/ja/xmulti/STYLESHEET.jp
share/doc/ja/xmulti/XMULTI.jp
%%PORTDOCS%%%%DOCSDIR%%/MODULE.jp
%%PORTDOCS%%%%DOCSDIR%%/README.jp
%%PORTDOCS%%%%DOCSDIR%%/STYLESHEET.jp
%%PORTDOCS%%%%DOCSDIR%%/XMULTI.jp
@dirrm lib/X11/xmaid/datas
@dirrm lib/X11/xmaid/multi
@dirrm lib/X11/xmaid
@dirrm share/doc/ja/xmulti
%%PORTDOCS%%@dirrm %%DOCSDIR%%