summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2002-01-07 14:51:16 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2002-01-07 14:51:16 +0000
commit58c29833f890ddafd1510e39f1862b60eacc1fa0 (patch)
tree997f8f8de1c037123da2a58bc60d4421fa719da5 /games
parentUpdate port to version 1.11 (diff)
o unbreak for XFree86-3.
o install Japanese docs under share/doc/ja. o PORTDOCS.
Notes
Notes: svn path=/head/; revision=52719
Diffstat (limited to 'games')
-rw-r--r--games/gru/Makefile14
-rw-r--r--games/gru/pkg-plist4
2 files changed, 8 insertions, 10 deletions
diff --git a/games/gru/Makefile b/games/gru/Makefile
index 5100ae36b353..a7d2c891a751 100644
--- a/games/gru/Makefile
+++ b/games/gru/Makefile
@@ -16,14 +16,12 @@ MAINTAINER= hym@cocoa.freemail.ne.jp
USE_IMAKE= yes
MAN1= gru.1
-MANCOMPRESSED= no
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gru ${PREFIX}/bin
- @cp ${WRKSRC}/gru.man ${WRKSRC}/gru.1
- @${INSTALL_MAN} ${WRKSRC}/gru.1 ${PREFIX}/man/man1
- @${INSTALL_DATA} ${WRKSRC}/gru.1.html ${PREFIX}/lib/X11/doc/html
- @install -d ${PREFIX}/share/doc/gru_8087
- @install -c -m 444 ${WRKSRC}/README.jp ${PREFIX}/share/doc/gru_8087
+.if !defined(NOPORTDOCS)
+DOCSDIR= ${PREFIX}/share/doc/ja/gru
+post-install:
+ ${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README.jp ${DOCSDIR}
+.endif
.include <bsd.port.mk>
diff --git a/games/gru/pkg-plist b/games/gru/pkg-plist
index d6089ce3da11..e25526421f2e 100644
--- a/games/gru/pkg-plist
+++ b/games/gru/pkg-plist
@@ -1,3 +1,3 @@
bin/gru
-share/doc/gru_8087/README.jp
-@dirrm share/doc/gru_8087
+%%PORTDOCS%%share/doc/ja/gru/README.jp
+%%PORTDOCS%%@dirrm share/doc/ja/gru