summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-02-25 04:17:35 +0000
committerhubertf <hubertf>2001-02-25 04:17:35 +0000
commit4998ed1120ceba68dfd376a31c35cc7e7560d644 (patch)
treef7733ee24f18b76cbeda1e577b4cec2485f4cf3e /games
parent404fa988da3e4b378114094a680f0dd6928e6d43 (diff)
downloadpkgsrc-4998ed1120ceba68dfd376a31c35cc7e7560d644.tar.gz
Cleanup MKDIR usage => INSTALL_*_DIR
XXX need to teach pkglint to be more picky about this
Diffstat (limited to 'games')
-rw-r--r--games/battalion/Makefile12
-rw-r--r--games/civctp-demo/Makefile6
-rw-r--r--games/crossfire-cli/Makefile4
-rw-r--r--games/eus-demo/Makefile6
-rw-r--r--games/freeciv-manual/Makefile4
-rw-r--r--games/galaxa/Makefile4
-rw-r--r--games/icbm3d/Makefile6
-rw-r--r--games/mirrormagic/Makefile6
-rw-r--r--games/omega/Makefile6
-rw-r--r--games/pysol/Makefile4
-rw-r--r--games/rocksndiamonds/Makefile8
-rw-r--r--games/xbomber/Makefile6
-rw-r--r--games/xdoom/Makefile4
-rw-r--r--games/xemeraldia/Makefile4
-rw-r--r--games/xworm/Makefile4
15 files changed, 42 insertions, 42 deletions
diff --git a/games/battalion/Makefile b/games/battalion/Makefile
index 3c36e58952b..f05f04ed4ac 100644
--- a/games/battalion/Makefile
+++ b/games/battalion/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2001/02/16 15:10:43 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2001/02/25 04:17:48 hubertf Exp $
#
DISTNAME= battalion
@@ -22,11 +22,11 @@ do-install:
${INSTALL} -c -s -o root -g games -m 2755 ${WRKSRC}/battalion ${PREFIX}/bin
cd ${WRKDIR} && \
${GZCAT} ${DISTDIR}/battalionSUN4.tar.gz | ${GTAR} xmf -
- ${MKDIR} ${PREFIX}/share/battalion/HELP
- ${MKDIR} ${PREFIX}/share/battalion/battalion.data/DATA
- ${MKDIR} ${PREFIX}/share/battalion/battalion.data/MUSIC
- ${MKDIR} ${PREFIX}/share/battalion/battalion.data/SOUNDS
- ${MKDIR} ${PREFIX}/share/battalion/battalion.data/TEXTURES
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/HELP
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/DATA
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/MUSIC
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/SOUNDS
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/battalion/battalion.data/TEXTURES
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/DATA/* ${PREFIX}/share/battalion/battalion.data/DATA
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/MUSIC/* ${PREFIX}/share/battalion/battalion.data/MUSIC
${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/SOUNDS/* ${PREFIX}/share/battalion/battalion.data/SOUNDS
diff --git a/games/civctp-demo/Makefile b/games/civctp-demo/Makefile
index 0ee397fa355..57b4e3eb5a1 100644
--- a/games/civctp-demo/Makefile
+++ b/games/civctp-demo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/02/16 15:10:43 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/02/25 04:17:48 hubertf Exp $
#
DISTNAME= civctp-demo-10251999
@@ -47,8 +47,8 @@ do-build:
# The executable must be in the same directory as the data.
do-install:
- ${MKDIR} ${LIBDIR}
- ${MKDIR} ${SHAREDIR}
+ ${INSTALL_DATA_DIR} ${LIBDIR}
+ ${INSTALL_DATA_DIR} ${SHAREDIR}
${INSTALL_SCRIPT} ${WRKDIR}/${BINNAME}.sh ${PREFIX}/bin/${BINNAME}
${INSTALL_PROGRAM} ${WRKSRC}/bin/${BINTYPE}/${DISTBINNAME} ${LIBDIR}/${BINNAME}
${INSTALL_DATA} ${WRKSRC}/README ${SHAREDIR}/${BINNAME}-README
diff --git a/games/crossfire-cli/Makefile b/games/crossfire-cli/Makefile
index 2f057b53d74..d2abfafcee6 100644
--- a/games/crossfire-cli/Makefile
+++ b/games/crossfire-cli/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2001/02/16 15:10:46 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2001/02/25 04:17:48 hubertf Exp $
#
DISTNAME= crossfire-client-0.95.8
@@ -33,7 +33,7 @@ pre-build:
cd ${WRKSRC} && ${MAKE} soundsdef.h
post-install:
- @${MKDIR} ${LOCALBASE}/share/cfclient
+ @${INSTALL_DATA_DIR} ${LOCALBASE}/share/cfclient
cd ${LOCALBASE}/share/cfclient && \
${GZCAT} ${DISTDIR}/${CF_SND} | ${GTAR} xmf -
cd ${LOCALBASE}/share/cfclient && \
diff --git a/games/eus-demo/Makefile b/games/eus-demo/Makefile
index 0db455053e6..94203ffcd88 100644
--- a/games/eus-demo/Makefile
+++ b/games/eus-demo/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/02/16 15:10:47 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/02/25 04:17:49 hubertf Exp $
#
DISTNAME= eus-demo
@@ -47,8 +47,8 @@ do-build:
# The executable must be in the same directory as the data.
do-install:
- ${MKDIR} ${LIBDIR}
- ${MKDIR} ${SHAREDIR}
+ ${INSTALL_DATA_DIR} ${LIBDIR}
+ ${INSTALL_DATA_DIR} ${SHAREDIR}
${INSTALL_SCRIPT} ${WRKDIR}/${BINNAME}.sh ${PREFIX}/bin/${BINNAME}
${INSTALL_PROGRAM} ${WRKSRC}/bin/${BINTYPE}/${DISTBINNAME} ${LIBDIR}/${BINNAME}
${INSTALL_DATA} ${WRKSRC}/README ${SHAREDIR}/${BINNAME}-README
diff --git a/games/freeciv-manual/Makefile b/games/freeciv-manual/Makefile
index c37bca35d8c..aa0e6b2c0b8 100644
--- a/games/freeciv-manual/Makefile
+++ b/games/freeciv-manual/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/02/16 15:10:48 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/02/25 04:17:49 hubertf Exp $
#
DISTNAME= manual-1.8.1-2
@@ -14,7 +14,7 @@ NO_BUILD= YES
WRKSRC= ${WRKDIR}/manual
do-install:
- ${MKDIR} ${PREFIX}/share/doc/html/freeciv/img
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/html/freeciv/img
cd ${WRKSRC} && \
${INSTALL_DATA} *.html ${PREFIX}/share/doc/html/freeciv
cd ${WRKSRC}/img && \
diff --git a/games/galaxa/Makefile b/games/galaxa/Makefile
index 92c9a5430e0..54551f6228e 100644
--- a/games/galaxa/Makefile
+++ b/games/galaxa/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2001/02/16 15:10:49 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2001/02/25 04:17:49 hubertf Exp $
#
DISTNAME= galaxa.0.1
@@ -15,7 +15,7 @@ MAKEFILE= makefile
USE_X11BASE= yes
pre-install:
- ${MKDIR} ${PREFIX}/share/doc/galaxa
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/galaxa
${CP} ${WRKSRC}/README.txt ${PREFIX}/share/doc/galaxa
.include "../../mk/bsd.pkg.mk"
diff --git a/games/icbm3d/Makefile b/games/icbm3d/Makefile
index 11e8f4ed1cc..634d80f3c24 100644
--- a/games/icbm3d/Makefile
+++ b/games/icbm3d/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2001/02/16 15:10:52 wiz Exp $
+# $NetBSD: Makefile,v 1.6 2001/02/25 04:17:49 hubertf Exp $
#
DISTNAME= icbm3d.0.3
@@ -15,7 +15,7 @@ MAKEFILE= makefile
USE_X11BASE= yes
pre-install:
- ${MKDIR} ${PREFIX}/share/doc/icbm3d
- ${CP} ${WRKSRC}/README.txt ${PREFIX}/share/doc/icbm3d
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/icbm3d
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/icbm3d
.include "../../mk/bsd.pkg.mk"
diff --git a/games/mirrormagic/Makefile b/games/mirrormagic/Makefile
index 48b3a447937..ff5c4797276 100644
--- a/games/mirrormagic/Makefile
+++ b/games/mirrormagic/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/02/16 15:10:54 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2001/02/25 04:17:49 hubertf Exp $
#
DISTNAME= mirrormagic-1.3
@@ -15,8 +15,8 @@ USE_XPM= YES
do-install:
${INSTALL_PROGRAM} -o bin -g games -m 2755 ${WRKSRC}/mirrormagic ${X11PREFIX}/bin
- ${MKDIR} ${X11PREFIX}/share/mirrormagic/sounds
- ${MKDIR} ${X11PREFIX}/share/mirrormagic/graphics
+ ${INSTALL_DATA_DIR} ${X11PREFIX}/share/mirrormagic/sounds
+ ${INSTALL_DATA_DIR} ${X11PREFIX}/share/mirrormagic/graphics
${CHOWN} bin:games ${X11PREFIX}/share/mirrormagic
${CHMOD} 775 ${X11PREFIX}/share/mirrormagic
${INSTALL_DATA} ${WRKSRC}/sounds/* ${X11PREFIX}/share/mirrormagic/sounds
diff --git a/games/omega/Makefile b/games/omega/Makefile
index 7960319e264..01ac22a2bf3 100644
--- a/games/omega/Makefile
+++ b/games/omega/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2001/02/16 15:10:56 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2001/02/25 04:17:50 hubertf Exp $
DISTNAME= omega-0.90-pa4
PKGNAME= omega-0.90.4
@@ -21,7 +21,7 @@ do-install:
@ ${INSTALL_PROGRAM} -o games -g games -m 4711 ${WRKSRC}/omega \
${PREFIX}/bin/Omega
@ ${INSTALL_MAN} ${WRKSRC}/docs/omega.6 ${PREFIX}/man/man6
- @ ${MKDIR} ${PREFIX}/share/omega
+ @ ${INSTALL_DATA_DIR} ${PREFIX}/share/omega
@ ${INSTALL_DATA} ${WRKSRC}/lib/* ${PREFIX}/share/omega
@ ${RM} ${PREFIX}/share/omega/license.old
@ ${CHMOD} 0600 ${PREFIX}/share/omega/omega.hi
@@ -30,7 +30,7 @@ do-install:
@ ${CHOWN} -R games:games ${PREFIX}/share/omega
post-install:
- @ ${MKDIR} ${PREFIX}/share/doc/omega
+ @ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/omega
.for file in buglist.txt docs/compile.all docs/readme.1st docs/omega.txt docs/readme3 docs/readme4
@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/omega
.endfor
diff --git a/games/pysol/Makefile b/games/pysol/Makefile
index 4f3611f47f1..3d8055a5b71 100644
--- a/games/pysol/Makefile
+++ b/games/pysol/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/02/16 15:10:56 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2001/02/25 04:17:50 hubertf Exp $
# FreeBSD Id: ports/games/pysol/Makefile,v 1.20 1999/12/08 11:01:01 tg Exp
DISTNAME= pysol-4.10
@@ -21,7 +21,7 @@ do-install:
${SED} -e "s|@pkgdatadir@|${PREFIX}/share/pysol|" < ${WRKSRC}/pysol > ${PREFIX}/bin/pysol
${CHMOD} +x ${PREFIX}/bin/pysol
${INSTALL_DATA} ${WRKSRC}/pysol.6 ${PREFIX}/man/man6
- @${MKDIR} ${PREFIX}/share/pysol
+ @${INSTALL_DATA_DIR} ${PREFIX}/share/pysol
(cd ${WRKSRC}/data; tar cf - *) | \
(cd ${PREFIX}/share/pysol; tar xf -)
(cd ${WRKDIR}/${CARDSETS}/data; tar cf - *) | \
diff --git a/games/rocksndiamonds/Makefile b/games/rocksndiamonds/Makefile
index b5e1e82169f..3de05047e77 100644
--- a/games/rocksndiamonds/Makefile
+++ b/games/rocksndiamonds/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/02/16 15:10:58 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/02/25 04:17:50 hubertf Exp $
#
DISTNAME= rocksndiamonds-1.4.0
@@ -18,11 +18,11 @@ do-install:
${INSTALL_PROGRAM} -o games -g games -m 2755 \
${WRKSRC}/rocksndiamonds ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/rocksndiamonds.1 ${PREFIX}/man/man1/
- ${MKDIR} ${PREFIX}/share/rocksndiamonds
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/rocksndiamonds
cd ${WRKSRC} && ${PAX} -r -w sounds graphics levels \
${PREFIX}/share/rocksndiamonds/
${CHOWN} -R games:games ${PREFIX}/share/rocksndiamonds
- ${MKDIR} ${SCORE_PATH}/scores
+ ${INSTALL_DATA_DIR} ${SCORE_PATH}/scores
${CHMOD} 755 ${SCORE_PATH}
${CHMOD} 775 ${SCORE_PATH}/scores
.for directory in classic_boulderdash classic_emerald_mine \
@@ -33,7 +33,7 @@ do-install:
rnd_martin_herrmann rnd_pavel_machek rnd_tobias_authmann \
rnd_visa_hastrup rnd_warwick_allison rnd_stephan_beyer \
bd_boulderdash_16 bd_boulderdash_2 bd_xbd
- ${MKDIR} ${SCORE_PATH}/scores/${directory} \
+ ${INSTALL_DATA_DIR} ${SCORE_PATH}/scores/${directory} \
&& ${CHMOD} 775 ${SCORE_PATH}/scores/${directory}
.endfor
${CHOWN} -R games:games ${SCORE_PATH}
diff --git a/games/xbomber/Makefile b/games/xbomber/Makefile
index 4b8f64ccc57..5a276dc3c63 100644
--- a/games/xbomber/Makefile
+++ b/games/xbomber/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/02/16 15:11:01 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2001/02/25 04:17:50 hubertf Exp $
#
DISTNAME= xbomber.0.8
@@ -15,7 +15,7 @@ MAKEFILE= makefile
USE_X11BASE= yes
pre-install:
- ${MKDIR} ${PREFIX}/share/doc/xbomber
- ${CP} ${WRKSRC}/README.txt ${PREFIX}/share/doc/xbomber
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xbomber
+ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/xbomber
.include "../../mk/bsd.pkg.mk"
diff --git a/games/xdoom/Makefile b/games/xdoom/Makefile
index 451ccfa9389..2c0e4272c5d 100644
--- a/games/xdoom/Makefile
+++ b/games/xdoom/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2001/02/16 15:11:01 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2001/02/25 04:17:50 hubertf Exp $
DISTNAME= linuxdoom-1.10
PKGNAME= xdoom-1.10nb1
@@ -32,7 +32,7 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME}/linux/linuxxdoom ${PREFIX}/bin/xdoom
${INSTALL_PROGRAM} ${WRKSRC}/sndserv/linux/sndserver ${PREFIX}/bin/sndserver
- ${MKDIR} ${PREFIX}/share/doom
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doom
${GUNZIP_CMD} -c ${DISTDIR}/doom-1.8.wad.gz > ${PREFIX}/share/doom/doom1.wad
.include "../../mk/bsd.pkg.mk"
diff --git a/games/xemeraldia/Makefile b/games/xemeraldia/Makefile
index 16e6856ce01..40597341916 100644
--- a/games/xemeraldia/Makefile
+++ b/games/xemeraldia/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/02/16 15:11:02 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2001/02/25 04:17:50 hubertf Exp $
# FreeBSD Id: ports/games/xemeraldia/Makefile,v 1.17 1999/12/10 19:24:55 steve Exp
DISTNAME= xemeraldia-0.3
@@ -21,7 +21,7 @@ MAKE_ENV+= GAMES_DIR="${GAMES_DIR}"
PLIST_SUBST= GAMES_DIR="${GAMES_DIR}"
post-install:
- @${MKDIR} ${PREFIX}/${GAMES_DIR}/xemeraldia
+ @${INSTALL_DATA_DIR} ${PREFIX}/${GAMES_DIR}/xemeraldia
@${TOUCH} ${PREFIX}/${GAMES_DIR}/xemeraldia/xemeraldia.scores
@${CHMOD} 666 ${PREFIX}/${GAMES_DIR}/xemeraldia/xemeraldia.scores
diff --git a/games/xworm/Makefile b/games/xworm/Makefile
index 7c8e4eb93b5..a844eb6ccf2 100644
--- a/games/xworm/Makefile
+++ b/games/xworm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2001/02/16 15:11:06 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2001/02/25 04:17:51 hubertf Exp $
# FreeBSD Id: Makefile,v 1.3 1998/08/05 09:31:04 asami Exp
#
@@ -16,7 +16,7 @@ WRKSRC= ${WRKDIR}/XWorm
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/xworm ${PREFIX}/bin
- @ ${MKDIR} ${PREFIX}/share/xworm
+ @ ${INSTALL_DATA_DIR} ${PREFIX}/share/xworm
.for file in font grid raw
${INSTALL_DATA} ${WRKSRC}/xworm.${file} ${PREFIX}/share/xworm
.endfor