.if ${OSVERSION} >= 400005
# Using g77 is troublesome, then it is better to use f2c/cc.
BUILD_DEPENDS= fc:${PORTSDIR}/lang/f77
BUILD_DEPENDS= ftn77:${PORTSDIR}/lang/f77
.endif
post-configure:
F2C = f2c
F2CFLAGS += -w -Nn802
#FC = ftn77
FC = ftn77
FC = fc
#FC = fc
CFLAGS += -I${PREFIX}/include
LFLAGS =