444 -> ${NOBINMODE}
/usr/share -> ${SHAREDIR} /usr/games -> ${BINDIR}
This commit is contained in:
parent
bd23915358
commit
c6234bb251
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=22449
@ -13,6 +13,6 @@ HIDEGAME=hidegame
|
|||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
(cd ${.CURDIR}/games; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 400 \
|
(cd ${.CURDIR}/games; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 400 \
|
||||||
${GAMES} ${DESTDIR}/usr/share/games/atc)
|
${GAMES} ${DESTDIR}${SHAREDIR}/games/atc)
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -10,6 +10,6 @@ CFLAGS+= -Wall
|
|||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
|
||||||
${.CURDIR}/rot13.sh ${DESTDIR}/usr/games/rot13
|
${.CURDIR}/rot13.sh ${DESTDIR}${BINDIR}/rot13
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -8,7 +8,7 @@ MAN6= cribbage.6
|
|||||||
HIDEGAME=hidegame
|
HIDEGAME=hidegame
|
||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/cribbage.n \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
||||||
${DESTDIR}/usr/share/games/cribbage.instr
|
${.CURDIR}/cribbage.n ${DESTDIR}${SHAREDIR}/games/cribbage.instr
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -5,7 +5,7 @@ MAN6= fish.6
|
|||||||
HIDEGAME=hidegame
|
HIDEGAME=hidegame
|
||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/fish.instr \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
||||||
${DESTDIR}/usr/share/games/fish.instr
|
${.CURDIR}/fish.instr ${DESTDIR}${SHAREDIR}/games/fish.instr
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -36,10 +36,10 @@ CLEANFILES+=${BLDS}
|
|||||||
all: ${FILES} ${BLDS}
|
all: ${FILES} ${BLDS}
|
||||||
|
|
||||||
install:
|
install:
|
||||||
(cd ${.CURDIR} && ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
(cd ${.CURDIR} && ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \
|
||||||
${FILES} ${DESTDIR}/usr/share/games/fortune)
|
-m ${NOBINMODE} ${FILES} ${DESTDIR}${SHAREDIR}/games/fortune)
|
||||||
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${BLDS} \
|
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} ${BLDS} \
|
||||||
${DESTDIR}/usr/share/games/fortune
|
${DESTDIR}${SHAREDIR}/games/fortune
|
||||||
|
|
||||||
fortunes.dat fortunes2.dat fortunes2-o.dat limerick.dat startrek.dat zippy.dat:
|
fortunes.dat fortunes2.dat fortunes2-o.dat limerick.dat startrek.dat zippy.dat:
|
||||||
${STRFILE} -rs ${.CURDIR}/${.TARGET:R} ${.TARGET}
|
${STRFILE} -rs ${.CURDIR}/${.TARGET:R} ${.TARGET}
|
||||||
|
@ -35,8 +35,9 @@ beforeinstall:
|
|||||||
${DESTDIR}/var/games/hackdir/record
|
${DESTDIR}/var/games/hackdir/record
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 666 ${.CURDIR}/rumors \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 666 ${.CURDIR}/rumors \
|
||||||
${DESTDIR}/var/games/hackdir/rumors
|
${DESTDIR}/var/games/hackdir/rumors
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/help \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
||||||
${.CURDIR}/hh ${.CURDIR}/data ${DESTDIR}/var/games/hackdir
|
${.CURDIR}/help ${.CURDIR}/hh ${.CURDIR}/data \
|
||||||
|
${DESTDIR}/var/games/hackdir
|
||||||
rm -f ${DESTDIR}/var/games/hackdir/bones*
|
rm -f ${DESTDIR}/var/games/hackdir/bones*
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -63,7 +63,7 @@ HIDEGAME=hidegame
|
|||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
(cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \
|
(cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \
|
||||||
-m 444 larnmaze larnopts larn.help \
|
-m ${NOBINMODE} larnmaze larnopts larn.help \
|
||||||
${DESTDIR}/usr/share/games/larn)
|
${DESTDIR}${SHAREDIR}/games/larn)
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -11,6 +11,6 @@ HIDEGAME=hidegame
|
|||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
(cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \
|
(cd ${.CURDIR}/datfiles; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \
|
||||||
-m 444 ${CATS} ${DESTDIR}/usr/share/games/quiz.db)
|
-m ${NOBINMODE} ${CATS} ${DESTDIR}${SHAREDIR}/games/quiz.db)
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -5,6 +5,6 @@ all wargames clean cleandir depend lint tags:
|
|||||||
|
|
||||||
install:
|
install:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} wargames.sh \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} wargames.sh \
|
||||||
${DESTDIR}/usr/games/wargames
|
${DESTDIR}${BINDIR}/wargames
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -5,7 +5,7 @@ MAN6= wump.6
|
|||||||
HIDEGAME=hidegame
|
HIDEGAME=hidegame
|
||||||
|
|
||||||
beforeinstall:
|
beforeinstall:
|
||||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/wump.info \
|
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
|
||||||
${DESTDIR}/usr/share/games
|
${.CURDIR}/wump.info ${DESTDIR}${SHAREDIR}/games
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
Loading…
Reference in New Issue
Block a user