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