joe stable port information

Package: joe
Version: 3.7
Revision: 1007
Description: User friendly full screen text editor
License: GPL
Maintainer: Andreas Gockel
Depends: libncurses5-shlibs (>= 5.4-20041023-1001)
BuildDepends: libncurses5 (>= 5.4-20041023-1001), fink (>= 0.24.12)
Suggests: ispell | aspell
Source: mirror:sourceforge:%n-editor/%n-%v.tar.gz
Source-MD5: 66de1b073e869ba12abbfcde3885c577
Source2: http://cvsweb.allbsd.org/cvsweb.cgi/~checkout~/contrib/code/jupp/jupprc?rev=1.23&content-type=text/plain&cvsroot=mirbsd
Source2Rename: %n-3_1jupp14
Source2-MD5: 6826c484f21d0011b5c37a61b5e68b11
ConfigureParams: --mandir=%p/share/man --sysconfdir=%p/etc --disable-dependency-tracking
CompileScript: <<
./autojoe
./configure %c
make
<<
InstallScript: <<
make install DESTDIR=%d
/bin/rm %i/bin/termidx
/bin/ln -s %n %i/bin/jupp
/usr/bin/install -c -m 444 ../%n-3_1jupp14 %i/etc/%n/jupprc
/usr/bin/gzip -9 %i/share/man/man1/%n.1
/usr/bin/gzip -9 %i/share/man/ru/man1/%n.1
for i in jmacs jstar r%n jpico jupp; do \
/bin/ln -s %n.1.gz %i/share/man/man1/${i}.1.gz; \
done
for i in COPYING TODO docs/help-system.html; do \
/usr/bin/install -c -m 444 ${i} %i/share/doc/%n/; \
done
for i in ChangeLog COPYING HACKING help-system.html HINTS LIST NEWS README TODO; do \
/usr/bin/gzip -9 %i/share/doc/%n/${i}; \
done
<<
ConfFiles: <<
%p/etc/%n/ftyperc %p/etc/%n/jicerc.ru %p/etc/%n/jmacsrc
%p/etc/%n/%nrc %p/etc/%n/jpicorc %p/etc/%n/jstarrc
%p/etc/%n/jupprc %p/etc/%n/r%nrc
<<
Homepage: http://joe-editor.sourceforge.net/
DescDetail: <<
Joe, the Joe's Own Editor, has the feel of most PC text editors: the key
sequences are reminiscent of WordStar and Turbo C editors, but the feature
set is much larger than of those. Joe has all of the features a Unix
user should expect: full use of termcap/terminfo, complete VI-style Unix
integration, a powerful configuration file, and regular expression search
system. It also has six help reference cards which are always available,
and an intuitive, simple, and well thought-out user interface.
.
Joe has a great screen update optimization algorithm, multiple windows
(through/between which you can scroll) and lacks the confusing notion of
named buffers. It has command history, TAB expansion in file selection
menus, undo and redo functions, (un)indenting and paragraph formatting,
filtering highlighted blocks through any external Unix command, editing
a pipe into or out of a command, and block move, copy, delete or filter.
.
Through simple QEdit-style configuration files, Joe can be set up to
emulate editors such as Pico and Emacs, along with a complete imitation
of WordStar, and a restricted mode version (lets you edit only the files
specified on the command line). Joe also has a deferred screen update to
handle typeahead, and it ensures that deferral is not bypassed by tty
buffering. It's usable even at 2400 baud, and it will work on any
kind of sane terminal.
<<
DescPackaging: <<
Since %n doesn't use termcap (but terminfo), termidx can be removed.
Fixing Segfault when using execmd with empty command.
<<

joe stable port .patch

diff -u joe-3.7/configure.ac joe-3.7-p1/configure.ac
--- joe-3.7/configure.ac 2009-08-03 14:45:11.000000000 +0000
+++ joe-3.7/configure.ac-p1 2009-08-03 15:24:10.000000000 +0000
@@ -39,7 +39,7 @@
curses=$enableval, curses=yes)

if test "$curses" = "yes"; then
- search_libs="ncurses curses"
+ search_libs="ncursesw ncurses curses"
fi

AC_ARG_ENABLE(termcap,
@@ -72,7 +72,17 @@
AC_CHECK_HEADERS([sys/ioctl.h sys/param.h sys/time.h unistd.h utime.h])
AC_CHECK_HEADERS([sys/dirent.h time.h pwd.h paths.h pty.h libutil.h])
AC_CHECK_HEADERS([sys/types.h sys/stat.h sys/wait.h limits.h signal.h])
-AC_CHECK_HEADERS([curses.h term.h utmp.h sys/utime.h])
+AC_CHECK_HEADERS([ncursesw/curses.h ncursesw/term.h])
+if test "$ac_cv_header_ncursesw_curses_h" = "yes" -a "$ac_cv_header_ncursesw_term_h" = "yes" ; then
+ echo "Using ncurses wit wchar support!"
+else
+ AC_CHECK_HEADERS([curses.h term.h])
+ if test "$ac_cv_header_curses_h" = "yes" -a "$ac_cv_header_term_h" = "yes" ; then
+ echo "Using ncurses without wchat support!"
+ fi
+fi
+
+AC_CHECK_HEADERS([utmp.h sys/utime.h])

AC_CHECK_HEADERS([selinux/selinux.h selinux/context.h])
if test "$ac_cv_header_selinux_selinux_h" = "yes" -a "$ac_cv_header_selinux_context_h" = "yes" ; then

joe _unstable_ port .patch