RATIONALE: Estrogen can stimulate the growth of cancer cells. Hormone therapy using megestrol may fight liver cancer by blocking the uptake of estrogen. It is not yet known if megestrol is an effective treatment for liver cancer.