aboutsummaryrefslogtreecommitdiffstats
path: root/games/xmulti
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2008-11-18 03:31:24 +0800
committeritetcu <itetcu@FreeBSD.org>2008-11-18 03:31:24 +0800
commit6fa65de6a42fceb6cbacffbf1b6bb74908bc533f (patch)
tree2f8d94e39c10122d1b2a95668cad36553f2db946 /games/xmulti
parent74a2bca2cc5811860c0cff82bd8d5c1ce4297c0c (diff)
downloadfreebsd-ports-gnome-6fa65de6a42fceb6cbacffbf1b6bb74908bc533f.tar.gz
freebsd-ports-gnome-6fa65de6a42fceb6cbacffbf1b6bb74908bc533f.tar.zst
freebsd-ports-gnome-6fa65de6a42fceb6cbacffbf1b6bb74908bc533f.zip
- use DOCSDIR macro
- fix plist for -DNOPORTDOCS - bump PORTREVISION Approved by: maintainer timeout on QAT BotMail Prompted by: QAT QA run
Diffstat (limited to 'games/xmulti')
-rw-r--r--games/xmulti/Makefile7
-rw-r--r--games/xmulti/pkg-plist10
2 files changed, 9 insertions, 8 deletions
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%%