For unbreak:
a) location of .include "${.CURDIR}/../mpqc/Makefile"
is just after the BUILD_DEPENDS to avoid override.
For clean-ups:
1) ${F77}->${FC}
2) Use ${LOCALBASE} for CONFIGURE_ARGS for mpqc-mpich
3) ${MASTERDIR}/files -> ${FILESDIR}
4) remove LIB_DEPENDS for mpqc-mpich (redundant)
Reported by: bento's log
Reviewed by: okazaki and sf