summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjlam <jlam>2002-09-21 13:23:34 +0000
committerjlam <jlam>2002-09-21 13:23:34 +0000
commita120e4fe19111eb0bf2ab80ba798280c4e3cd348 (patch)
tree6c8dfd7884749282483e0f1e6826a60fac232a50 /games
parent65cb67da0e850c758c50dd547394cc3e443d2e1c (diff)
downloadpkgsrc-a120e4fe19111eb0bf2ab80ba798280c4e3cd348.tar.gz
Install documentation for clanbomber.
Diffstat (limited to 'games')
-rw-r--r--games/clanbomber/Makefile9
-rw-r--r--games/clanbomber/PLIST5
2 files changed, 12 insertions, 2 deletions
diff --git a/games/clanbomber/Makefile b/games/clanbomber/Makefile
index f375856f554..b1c94eca6be 100644
--- a/games/clanbomber/Makefile
+++ b/games/clanbomber/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2002/09/21 13:07:03 jlam Exp $
+# $NetBSD: Makefile,v 1.17 2002/09/21 13:23:34 jlam Exp $
DISTNAME= clanbomber-1.01
PKGREVISION= 2
@@ -14,9 +14,16 @@ USE_X11BASE= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
+DOCDIR= ${PREFIX}/share/doc/${PKGBASE}
+
pre-configure:
${ECHO} "#define BOMBERDATDIR \"${PREFIX}/share/clanbomber/clanbomber.dat\"" >> ${WRKSRC}/config.h.in
${ECHO} "#define BOMBERMAPS \"${PREFIX}/share/clanbomber/maps\"" >> ${WRKSRC}/config.h.in
+post-install:
+ ${INSTALL_DATA_DIR} ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/COPYING ${DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
+
.include "../../graphics/clanlib/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/games/clanbomber/PLIST b/games/clanbomber/PLIST
index 34a195740ef..11f293af567 100644
--- a/games/clanbomber/PLIST
+++ b/games/clanbomber/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/11/01 00:51:11 zuntum Exp $
+@comment $NetBSD: PLIST,v 1.2 2002/09/21 13:23:34 jlam Exp $
bin/clanbomber
share/clanbomber/bud.mod
share/clanbomber/maps/Crammed.map
@@ -35,5 +35,8 @@ share/clanbomber/maps/MungoBane.map
share/clanbomber/maps/Snake_Race.map
share/clanbomber/clanbomber.dat
share/clanbomber/clanbomber.scr
+share/doc/clanbomber/COPYING
+share/doc/clanbomber/README
+@dirrm share/doc/clanbomber
@dirrm share/clanbomber/maps
@dirrm share/clanbomber