From cdbf27f77f81246e611a4b167a6b38083ed068d4 Mon Sep 17 00:00:00 2001 From: sf Date: Mon, 7 Jan 2002 14:51:16 +0000 Subject: o unbreak for XFree86-3. o install Japanese docs under share/doc/ja. o PORTDOCS. --- games/gru/Makefile | 14 ++++++-------- games/gru/pkg-plist | 4 ++-- 2 files changed, 8 insertions(+), 10 deletions(-) (limited to 'games/gru') 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 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 -- cgit