VERSION=3.1.1.9 BUILD=1 ARCH=i386 PKGNAME=x3270-$VERSION-$ARCH-$BUILD PROGNAME="IBM Host Access Tool" DESC="\ x3270 - IBM host access tool. \n\ \n\ x3270 opens a telnet connection to an IBM host in an X window. Since \n\ the window created by x3270 can use its own font for displaying \n\ characters, is a fairly accurate representation of an IBM 3278. It is \n\ similar to tn3270(1) except that it is X-based, not curses-based." MAINTAINER="Logan Johnson " SOURCE= IGNOREPATH=/home:/dev:/root:/tmp:/mnt:/cdrom:/var/log STRIPLIB=y STRIPBIN=y TAG=OPT compile() { tar -xvzf $CWD/x3270-$VERSION.tar.gz cd x3270-3.1.1/ xmkmf -a make } install() { make install for file in x3270-script.man x3270.man x3270if.man do cp $file /usr/X11R6/man/man1/`basename $file .man`.1 done cp ibm_hosts.man /usr/X11R6/man/man5/ibm_hosts.5 cp X3270.xad /etc/X11/app-defaults/X3270 mkdir -p /usr/doc/x3270-$VERSION cp -r Docs/* Examples html /usr/doc/x3270-$VERSION } attributes() { chmod 644 $PKG/etc/X11/app-defaults/X3270 cd $PKG/usr/doc/x3270-$VERSION/Examples chmod 755 *.bash *.expect *.sh *.ksh } special() { rm $PKG/usr/X11R6/lib/fonts/misc/fonts.dir }