xfig installation

Location: xfig is currently installed under the astrosw account.
set package = "xfig-3.2.3d"
set location = "/opt/astro"
set destdir = "$location/packages/$package"

/home/astrosw/public_html/install/xfig.perl $destdir Imakefile > /tmp/xfig.y
\mv /tmp/xfig.y Imakefile

xmkmf
make
#make install.all MANDIR=$destdir/man/man1
make install
make install.libs
make install.man MANDIR=$destdir/man/man1
make install.html
and don't forget to also install the app-defaults files