summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mail/Makefile')
-rw-r--r--usr.bin/mail/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/usr.bin/mail/Makefile b/usr.bin/mail/Makefile
new file mode 100644
index 0000000..576ce83
--- /dev/null
+++ b/usr.bin/mail/Makefile
@@ -0,0 +1,19 @@
+# @(#)Makefile 8.2 (Berkeley) 1/25/94
+
+PROG= mail
+CFLAGS+=-R -DUSE_OLD_TTY
+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
+SFILES= mail.help mail.tildehelp
+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
+ cd ${.CURDIR}/misc; install -c -o root -g wheel \
+ -m 644 ${EFILES} ${DESTDIR}/etc
+
+.include <bsd.prog.mk>
OpenPOWER on IntegriCloud