summaryrefslogtreecommitdiff
path: root/games/xbattle
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
committerPatrick Li <pat@FreeBSD.org>2001-12-24 02:17:17 +0000
commitb666502afda11878e1adfaefeff785ee6171024b (patch)
tree9aa30fd7bf24b32e216a3b9ae394f1a2abdb5bf3 /games/xbattle
parent- update to 2.9.8p1 (diff)
- PORTDOCS police
- DOCSDIR support to some - Brush out some lint
Notes
Notes: svn path=/head/; revision=52072
Diffstat (limited to 'games/xbattle')
-rw-r--r--games/xbattle/Makefile8
-rw-r--r--games/xbattle/pkg-plist8
2 files changed, 7 insertions, 9 deletions
diff --git a/games/xbattle/Makefile b/games/xbattle/Makefile
index 783bee77ed72..064ee76e201e 100644
--- a/games/xbattle/Makefile
+++ b/games/xbattle/Makefile
@@ -28,11 +28,9 @@ post-install:
@${CHMOD} 755 ${PREFIX}/share/xbattle/xbts
@${CHMOD} 644 ${PREFIX}/share/xbattle/xbts/*
.if !defined(NOPORTDOCS)
- $(MKDIR) $(PREFIX)/share/doc/xbattle
- $(CP) $(WRKSRC)/tutorial* $(PREFIX)/share/doc/xbattle/
- $(CP) $(WRKSRC)/README $(PREFIX)/share/doc/xbattle/
- @${CHMOD} 755 $(PREFIX)/share/doc/xbattle
- @${CHMOD} 644 $(PREFIX)/share/doc/xbattle/*
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/tutorial* ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.include <bsd.port.mk>
diff --git a/games/xbattle/pkg-plist b/games/xbattle/pkg-plist
index b9dd67771910..75d9fd3e6c7c 100644
--- a/games/xbattle/pkg-plist
+++ b/games/xbattle/pkg-plist
@@ -13,10 +13,10 @@ share/xbattle/xbos/tropical2.xbo
share/xbattle/xbos/tundra.xbo
share/xbattle/xbts/castle.xbt
share/xbattle/xbts/natural.xbt
-share/doc/xbattle/README
-share/doc/xbattle/tutorial1
-share/doc/xbattle/tutorial2
-@dirrm share/doc/xbattle
+%%PORTDOCS%%share/doc/xbattle/README
+%%PORTDOCS%%share/doc/xbattle/tutorial1
+%%PORTDOCS%%share/doc/xbattle/tutorial2
+%%PORTDOCS%%@dirrm share/doc/xbattle
@dirrm share/xbattle/xbas
@dirrm share/xbattle/xbos
@dirrm share/xbattle/xbts