--- Makefile.orig 2018-01-18 22:20:20.000000000 +0000
+++ Makefile 2018-05-06 03:35:05.000000000 +0000
# default INCDIR for macOS
-INCDIR= /usr/local/include
+INCDIR= ___PREFIX___/include
#endif /* end of skip for non-Gnu makefiles */
# default BINDIR for macOS
+BINDIR= ___PREFIX___/bin
#endif /* end of skip for non-Gnu makefiles */
# default LIBDIR for macOS
+LIBDIR= ___PREFIX___/lib
#endif /* end of skip for non-Gnu makefiles */
# default CALC_SHAREDIR for macOS
-CALC_SHAREDIR= /usr/local/share/calc
+CALC_SHAREDIR= ___PREFIX___/share/calc
#endif /* end of skip for non-Gnu makefiles */
# where man pages are installed
#MANDIR= /usr/local/man/man1
-MANDIR= /usr/share/man/man1
+MANDIR= ___PREFIX___/share/man/man1
#MANDIR= /dev/env/DJDIR/man/man1
#MANDIR= /usr/man/u_man/man1
#MANDIR= /usr/contrib/man/man1
# If in doubt, set USE_READLINE, READLINE_LIB and READLINE_INCLUDE to nothing.
-#USE_READLINE= -DUSE_READLINE
+USE_READLINE= -DUSE_READLINE
#READLINE_LIB= -lreadline
#READLINE_EXTRAS= -lhistory -lncurses
#READLINE_LIB= -L/usr/local/lib -lreadline
#READLINE_EXTRAS= -lhistory -lncurses
+READLINE_LIB= -L___PREFIX___/lib -lreadline
+READLINE_EXTRAS= -lhistory -lncurses
# For Apple OS X: install fink from http://fink.sourceforge.net
# and then do a 'fink install readline' and then use:
-CC= ${PURIFY} ${LCC} ${CCWERR}
+#CC= ${PURIFY} ${LCC} ${CCWERR}