mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
63 lines
1.8 KiB
Plaintext
63 lines
1.8 KiB
Plaintext
*** Makefile.orig Tue May 27 00:29:12 1997
|
|
--- Makefile Tue May 27 02:13:51 1997
|
|
***************
|
|
*** 8,21 ****
|
|
#
|
|
# Check mshell.h for other options, e.g., max menu sizes.
|
|
|
|
! CFLAGS = -O -DBSD -DMENUDIR='"/nyx/lib/menus"' -DLOGDIR='"/nyx/lib/logs"'
|
|
OBJS = mshell.o main.o string.o functions1.o functions2.o chdir.o mail.o \
|
|
settatr.o setenv.o xsystem.o dl.o macro.o
|
|
|
|
mshell: $(OBJS)
|
|
! cc $(CFLAGS) $(OBJS) -lcurses -ltermcap -o mshell
|
|
|
|
$(OBJS) : mshell.h
|
|
|
|
clean:
|
|
! rm *.o mshell
|
|
--- 8,50 ----
|
|
#
|
|
# Check mshell.h for other options, e.g., max menu sizes.
|
|
|
|
! CFLAGS = -O -DBSD -DMENUDIR=\"${PREFIX}/lib/menus\" -DMAILDIR='"/var/mail/"' \
|
|
! -DGLOBAL_MACRO_FILE=\"${PREFIX}/lib/menus/macros\" \
|
|
! -DCOMMAND_LIST=\"${PREFIX}/lib/menus/commands\"
|
|
OBJS = mshell.o main.o string.o functions1.o functions2.o chdir.o mail.o \
|
|
settatr.o setenv.o xsystem.o dl.o macro.o
|
|
|
|
+ all: mshell
|
|
+
|
|
mshell: $(OBJS)
|
|
! cc $(CFLAGS) $(OBJS) -lncurses -ltermcap -o mshell
|
|
|
|
$(OBJS) : mshell.h
|
|
|
|
clean:
|
|
! rm -f *.o mshell
|
|
!
|
|
! install: mshell
|
|
! mkdir -p ${PREFIX}/bin
|
|
! install -c -o bin mshell ${PREFIX}/bin
|
|
! mkdir -p ${PREFIX}/lib/menus
|
|
! sed -e s/dldir/HOME/g < sample.men > ${PREFIX}/lib/menus/sample.men
|
|
! install -c -m 644 menulogin ${PREFIX}/lib/menus
|
|
! mkdir -p ${PREFIX}/man/man1
|
|
! echo .Dd `/bin/date` > mshell.1
|
|
! echo .Dt MSHELL 1 >> mshell.1
|
|
! echo .Sh NAME >> mshell.1
|
|
! echo .Nm mshell >> mshell.1
|
|
! echo .Nd a Unix menuing shell >> mshell.1
|
|
! echo .Sh SYNOPSIS >> mshell.1
|
|
! echo .Nm mshell >> mshell.1
|
|
! echo .Op Fl s >> mshell.1
|
|
! echo .Ar menuname >> mshell.1
|
|
! echo .Sh DESCRIPTION >> mshell.1
|
|
! cat mshell.doc >>mshell.1
|
|
! echo >>mshell.1
|
|
! cat menu.doc >>mshell.1
|
|
! echo >>mshell.1
|
|
! echo .Sh AUTHOR >>mshell.1
|
|
! echo Andrew Burt, aburt@du.edu >>mshell.1
|
|
! install -m 644 mshell.1 ${PREFIX}/man/man1
|