jed _unstable_ port information

Info2: <<
Package: jed%type_pkg[-nox]
Type: -nox (boolean)
Version: 0.99-16
Revision: 2
BuildDepends: slang, (%type_raw[-nox] != -nox) x11-dev
Depends: slang-shlibs, (%type_raw[-nox] != -nox) x11
Conflicts: jed, jed-nox
Replaces: jed, jed-nox
Source: mirror:custom:%{ni}/v0.99/%{ni}-%v.tar.gz
Source-MD5: e50e95d8d626445cb778fadee3a2a47d
CustomMirror: <<
Primary: ftp://ftp.jedsoft.org/pub/davis/
nam-us: ftp://space.mit.edu/pub/davis/
eur-gr: ftp://ftp.ntua.gr/pub/lang/slang/
eur-de: ftp://ftp.uni-stuttgart.de/pub/unix/misc/slang/
eur-de: ftp://ftp.fu-berlin.de/unix/editors/
aus-au: ftp://ftp.bay.net.au/pub/
<<
PatchScript: sed -e 's,@PREFIX@,%p,g; s,@PACKAGE@,%n,g' < %a/%{ni}.patch | patch -p1
CompileScript: <<
#!/bin/sh -ev

if [ "%type_pkg[-nox]" = "-nox" ]; then
FINKPREFIX=%p ac_cv_func_grantpt=no ./configure --prefix=%p/share/jed --without-x
else
FINKPREFIX=%p ac_cv_func_grantpt=no ./configure --prefix=%p/share/jed --with-x
fi

make JED_ROOT=%p/share/jed
make rgrep JED_ROOT=%p/share/jed
make getmail JED_ROOT=%p/share/jed
if [ "%type_pkg[-nox]" != "-nox" ]; then
make xjed JED_ROOT=%p/share/jed
fi
<<
InstallScript: <<
#!/bin/sh -ev

mkdir -p %i/bin
install -m 755 src/objs/jed %i/bin
install -m 755 src/objs/rgrep %i/bin/jgrep
install -m 755 src/objs/getmail %i/bin
if [ "%type_pkg[-nox]" != "-nox" ]; then
install -m 755 src/objs/xjed %i/bin
fi

mkdir -p %i/share/jed
cp -r lib %i/share/jed

mkdir -p %i/share/doc/%n
cp -r doc/* %i/share/doc/%n
rm -rf %i/share/doc/jed/manual
mkdir -p %i/share/doc/%n/examples
mv %i/share/doc/%n/tm %i/share/doc/%n/examples

mkdir -p %i/share/info
install -m 644 info/jed.*in* %i/share/info

mkdir -p %i/share/man/man1
install -m 644 doc/manual/jed.1 %i/share/man/man1
install -m 644 doc/manual/rgrep.1 %i/share/man/man1/jgrep.1
<<
InfoDocs: jed.info
DocFiles: COPY* changes.txt
Description: Editor for programmers
DescDetail: <<
Jed offers:
* Extensible in a language resembling C.
* Completely customizable.
* Capable of read GNU info files from within JED's info browser.
* A variety of programming modes (with syntax highlighting) are
available, including:
Pascal, Java, Perl, C, C++, FORTRAN, TeX, HTML,
SH, IDL, DCL, NROFF, PostScript, Basic.
* Folding support.
* Edit TeX files with AUC-TeX style editing (BiBTeX support too).
* Rectangular cut/paste; regular expressions.
* incremental searches.
* search replace across multiple files.
* multiple windows.
* multiple buffers.
* shell modes.
* directory editor (dired).
* mail.
* rmail.
* ispell.
and `much more'...
<<
DescPort: <<
Use FINKPREFIX=%p for terminfo.

dmacks variantized it and forced to not use SYSV ptys.
<<
DescPackaging: <<
Install rgrep as jgrep because there is already an rgrep command.
<<
License: GPL
Homepage: http://space.mit.edu/~davis/jed
Maintainer: Christian Swinehart
<<