1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/math/calc/files/Makefile.freebsd
2021-04-18 11:10:56 -04:00

20 lines
524 B
Makefile

# vim:ft=make
ARCH_CFLAGS:=
BINDIR:= ${PREFIX}/bin
CALC_INCDIR:= ${PREFIX}/include/calc
CALC_SHAREDIR:= ${DATADIR}
CALCPAGER:= more
CC:= %%CC%%
CFLAGS:= %%CFLAGS%% ${ICFLAGS} ${CCOPT}
INCDIR:= ${LOCALBASE}/include
LCC:= %%CC%%
LIBDIR:= ${PREFIX}/lib
MANDIR:= ${PREFIX}/man/man1
SCRIPTDIR:= ${PREFIX}/libexec/cscript
T:= ${DESTDIR}
USE_READLINE:= -DUSE_READLINE -I${LOCALBASE}/include
# These need to be in this order:
READLINE_LIBS:= -L${LOCALBASE}/lib -lreadline
READLINE_EXTRAS:= ${READLINE_LIBS} -lhistory -lncurses