ports/graphics/xfpovray/files/BSDmakefile
Mikhail Teterin 337793a270 The actual reason, this port was broken was a bug in a recent version of
x11-toolkits/xforms. That bug was fixed earlier today.

Make sure, this builds with both erroneous as well as corrected xforms.

Fix the problems with parallelized build -- by replacing the upstream's
rudimentary Imakefiles with a BSDmakefile. Relocate application's help-
files into DOCSDIR.

Fix compiler warnings up to WARNS=3 and a few genuine (if ancient) bugs,
that this process revealed. Bump PORTREVISION and unbreak.
2015-03-09 06:21:47 +00:00

18 lines
551 B
Makefile

PROG= xfpovray
NO_MAN= nope
BINDIR= ${PREFIX}/bin
CFLAGS+=-Iflx -I${LOCALBASE}/include -DHELP_DIR='"${DOCSDIR}"'
LDADD+= -L${LOCALBASE}/lib -lforms -lX11
.PATH: src flx/flx_filebox flx/flx_help_dialog flx/flx_return_button \
flx/flx_show_dialog flx/flx_util
WARNS= 3
SRCS= flx_filebox.c flx_help_dialog.c flx_justify_input.c \
flx_return_button.c flx_scale_form.c flx_show_dialog.c \
flx_show_input.c flx_sort_browser.c \
build_pages.c callbacks.c config.c run_program.c \
show_image.c state.c tips.c util.c xfpovray.c
.include <bsd.prog.mk>