Install files via FILES.
This commit is contained in:
parent
184368159f
commit
ccaec6d133
@ -29,13 +29,15 @@ SRCS= file.c apprentice.c fsmagic.c softmagic.c ascmagic.c \
|
||||
# compress.c is_tar.c readelf.c internat.c print.c
|
||||
|
||||
MAGICPATH= /usr/share/misc
|
||||
MAGICMODE= 444
|
||||
|
||||
CFLAGS+= -DMAGIC='"${MAGICPATH}/magic"' -DBUILTIN_ELF -DELFCORE -DHAVE_CONFIG_H
|
||||
CFLAGS+= -I${.CURDIR} -I${SRCDIR}
|
||||
|
||||
CLEANFILES+= magic magic.mgc magic.mime.mgc magic.mime.PITA
|
||||
|
||||
FILES= magic magic.mgc ${SRCDIR}/magic.mime magic.mime.mgc
|
||||
FILESDIR= ${MAGICPATH}
|
||||
|
||||
MAGFILES= ${SRCDIR}/Header\
|
||||
${SRCDIR}/Localstuff\
|
||||
${SRCDIR}/Magdir/[a-z]*
|
||||
@ -59,9 +61,4 @@ mkmagic: apprentice.c print.c
|
||||
${CC} -DHAVE_CONFIG_H -DCOMPILE_ONLY \
|
||||
-I${.CURDIR} -I${SRCDIR} -o ${.TARGET} ${.ALLSRC}
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${MAGICMODE} \
|
||||
magic magic.mgc ${SRCDIR}/magic.mime magic.mime.mgc \
|
||||
${DESTDIR}${MAGICPATH}
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -4,6 +4,8 @@
|
||||
PROG= gprof
|
||||
SRCS= gprof.c aout.c arcs.c dfn.c elf.c lookup.c ${MACHINE_ARCH}.c hertz.c \
|
||||
printgprof.c printlist.c kernel.c
|
||||
FILES= gprof.flat gprof.callg
|
||||
FILESDIR= ${SHAREDIR}/misc
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
|
@ -6,14 +6,13 @@ SRCS= version.c aux.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c edit.c fio.c \
|
||||
getname.c head.c v7.local.c lex.c list.c main.c names.c popen.c \
|
||||
quit.c send.c strings.c temp.c tty.c vars.c
|
||||
WARNS?= 0
|
||||
SFILES= mail.help mail.tildehelp
|
||||
FILES= mail.help mail.tildehelp
|
||||
FILESDIR= ${SHAREDIR}/misc
|
||||
EFILES= mail.rc
|
||||
LINKS= ${BINDIR}/mail ${BINDIR}/Mail
|
||||
MLINKS= mail.1 Mail.1
|
||||
|
||||
beforeinstall:
|
||||
cd ${.CURDIR}/misc; ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} \
|
||||
-m 444 ${SFILES} ${DESTDIR}/usr/share/misc
|
||||
.PATH: ${.CURDIR}/misc
|
||||
|
||||
etc-mailrc:
|
||||
cd ${.CURDIR}/misc; ${INSTALL} -c -o root -g wheel \
|
||||
|
@ -1,9 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= units
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
${.CURDIR}/units.lib ${DESTDIR}/usr/share/misc
|
||||
FILES= units.lib
|
||||
FILESDIR= ${SHAREDIR}/misc
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -5,6 +5,11 @@ PROG= vfontedpr
|
||||
SRCS= regexp.c vfontedpr.c
|
||||
NO_WERROR=yes
|
||||
SCRIPTS=vgrind.sh
|
||||
FILES= vgrindefs.src vgrindefs.src.db tmac.vgrind
|
||||
FILESNAME_vgrindefs.src= vgrindefs
|
||||
FILESNAME_vgrindefs.src.db= vgrindefs.db
|
||||
FILESDIR= ${SHAREDIR}/misc
|
||||
FILESDIR_tmac.vgrind= ${SHAREDIR}/tmac
|
||||
MAN= vgrind.1 vgrindefs.5
|
||||
|
||||
BINDIR= /usr/libexec
|
||||
@ -18,12 +23,4 @@ all: ${EXTRA}
|
||||
${EXTRA}: ${.CURDIR}/vgrindefs.src
|
||||
cap_mkdb -f vgrindefs.src ${.CURDIR}/vgrindefs.src
|
||||
|
||||
beforeinstall:
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/vgrindefs.src \
|
||||
${DESTDIR}/usr/share/misc/vgrindefs
|
||||
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
|
||||
vgrindefs.src.db ${DESTDIR}/usr/share/misc/vgrindefs.db
|
||||
${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/tmac.vgrind \
|
||||
${DESTDIR}/usr/share/tmac
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user