From 6fa65de6a42fceb6cbacffbf1b6bb74908bc533f Mon Sep 17 00:00:00 2001 From: itetcu Date: Mon, 17 Nov 2008 19:31:24 +0000 Subject: - use DOCSDIR macro - fix plist for -DNOPORTDOCS - bump PORTREVISION Approved by: maintainer timeout on QAT BotMail Prompted by: QAT QA run --- games/xmulti/Makefile | 7 ++++--- games/xmulti/pkg-plist | 10 +++++----- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to 'games/xmulti') diff --git a/games/xmulti/Makefile b/games/xmulti/Makefile index 8923db84ea49..4341de38869d 100644 --- a/games/xmulti/Makefile +++ b/games/xmulti/Makefile @@ -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 diff --git a/games/xmulti/pkg-plist b/games/xmulti/pkg-plist index 1ffeb005008f..0c74d536f528 100644 --- a/games/xmulti/pkg-plist +++ b/games/xmulti/pkg-plist @@ -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%% -- cgit