the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: jed%type_pkg[-nox]
Type: -nox (boolean)
Version: 0.99-19
Revision: 1
Description: Editor for programmers
License: GPL
Homepage: http://www.jedsoft.org/jed/
Maintainer: Monic Polynomial
Conflicts: jed, jed-nox
Replaces: jed, jed-nox
Source: mirror:custom:%{ni}/v0.99/%{ni}-%v.tar.gz
Source-MD5: fc35490b46303f9b88a4b1d4f3c1ba57
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/
<<
PatchFile: %{ni}.patch
PatchFile-MD5: 638c0d19422795fbbd4702f9471bddbb
BuildDepends: <<
fink (>= 0.24.12),
slang2,
(%type_raw[-nox] != -nox) x11-dev
<<
Depends: <<
slang2-shlibs,
(%type_raw[-nox] != -nox) x11
<<
PatchScript: sed -e 's,FINKPREFIX,%p,g; s,FINKPACKAGENAME,%n,g' < %{PatchFile} | patch -p1
CompileScript: <<
#!/bin/sh -ev
if [ "%type_pkg[-nox]" = "-nox" ]; then
FINKPREFIX=%p ac_cv_func_grantpt=no ./configure --with-slang=%p --prefix=%p/share/jed --without-x
else
FINKPREFIX=%p ac_cv_func_grantpt=no ./configure --with-slang=%p --prefix=%p/share/jed --with-x --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
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
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: <<
* Previous maintainer: Christian Swinehart
* 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.
<<
<<