2007-07-28 02:13:05 +02:00
|
|
|
# $NetBSD: Makefile,v 1.54 2007/07/28 00:13:05 joerg Exp $
|
1997-10-06 14:41:48 +02:00
|
|
|
|
2005-09-28 11:44:30 +02:00
|
|
|
DISTNAME= vile-9.5
|
|
|
|
PKGNAME= xvile-9.5
|
2007-07-28 02:13:05 +02:00
|
|
|
PKGREVISION= 2
|
2000-09-06 10:16:14 +02:00
|
|
|
CATEGORIES= editors
|
2002-11-27 12:03:31 +01:00
|
|
|
MASTER_SITES= ftp://dickey.his.com/vile/ \
|
|
|
|
ftp://invisible-island.net/vile/
|
2000-09-06 10:16:14 +02:00
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
Update to 9.4 (that version works with perl-5.8).
Changes:
Highlights since 9.3:
+ Bug fixes, lots. See the CHANGES file for details.
General changes
===============
+ regular expressions and searches allow null characters.
+ minibuffer editing commands are more complete, implementing all of the
inline cursor search- and motion-commands.
+ implement new editing commands in the minibuffer: r, ~, x, X.
+ use insert-mode bindings when mini-edit mode is active. Use insert-key
to toggle, rather than set mini-edit mode.
+ modify buffer- and filename-completion on Unix to escape backslashes
which are stored in the [Completions] buffer. Doing this allows one
to complete a buffer or filename containing a backslash.
+ improve history-editing by quoting tokens which contain embedded blanks
or other special characters, using that to retrieve tokens from the
history buffer unambiguously.
+ save/restore window modes such as linewrap when rereading a file,
or when executing a shell command.
+ use realpath() if it is available, and "$VILE_PWD" environment variable
rather than "." as parameter to getcwd() if it is valid, to speed up
operation on quasi-filesystems such as ClearCase.
+ add configure option --with-screen=XawPlus for XawPlus library.
+ add configure option --with-screen=ncursesw to allow building the
curses driver using the wide-character version of ncurses.
+ add check in tcap.c for terminfo kmous capability like xterm, in case
we are running in screen, which also supports xterm mouse protocol.
+ modify support for "^X-e" to make it use the whole line if the current
buffer is a directory.
Locale Improvements
===================
+ change default for --with-locale option to yes. Note that this
option is only tested if locale support is found, and it is becoming
less common to encounter systems with broken locale support.
+ add "locale" to the "$cfgopts" variable if vile is compiled with
locale support.
+ modify vile-manfilt to decode UTF-8 emitted by groff 1.18
+ in UTF-8 locale, adjust termcap driver to use UTF-8 to display codes
in the 160-255 range, setting vile's locale to non-UTF-8 locale.
(yes, this is a short-term fix).
+ add configure check for wctype functions, to work around defect in
glibc's ctype functions: in UTF-8 locale, the latter return useless
information on character classes. This works on Solaris.
+ move upper/lower case-conversion into tables so that locale support can
augment the built-in translation.
New Commands
============
+ "which-keywords" macro shows the location of files containing keywords
for the given majormode.
+ "edit-buffer" simplifies "which-keywords" and similar macros.
+ "encode-attributes-til" and "write-encoded-til" convert the syntax
highlighting in a region back to control/A sequences, or write the
corresponding data to a file. There is a corresponding alias
"decode-attributes-til" for "attribute-cntl_a-sequences-til".
+ "substitute-all-til" implements the "^X-s" binding.
New Modes
=========
+ add "overlap-matches" mode, to control whether highlighting for the
visual-matches mode should skip to the next character, or past the
current match when checking.
+ add "percent-crlf" mode, which controls the threshold at which the
whole file will be considered DOS-format (CRLF record separators)
if the given percentage already ends with CR/LF.
+ "yankmotion" mode controls whether the cursor should be moved as in vi
after yanking text.
+ add "xterm-title" mode.
+ add logmode majormode, to distinguish some makefiles from logfiles.
+ add "texmode" majormode, as a variation of latexmode.
New Variables and Functions
===========================
+ add several short-named relational operators "&geq", ">", "&leq",
"<", "&neq", "&sgeq", "&sgt", "&sleq", "&slt", "&sneq" to reduce
the need for "¬".
+ add "$pathname-separator" variable.
Syntax Filters
==============
+ add Ruby syntax filter.
+ add syntax filter for rpm ".spec" files.
+ add syntax filter for PostScript ".ps" files.
+ add syntax filter for enscript ".st" files.
+ add xml-filter based on html-filter.
+ add pot-filt.l, to highlight ".po" files. Using sh-filt.l was
not satisfactory since the quoting rules were not close enough.
+ add syntax filters and corresponding modes for assembler (GNU and M$),
info and texinfo.
+ add -j option to c-filt.c, to implement some java-specific features
such as "$" as part of an identifier, and \u escapes.
+ add un-filters (atr2ansi, atr2html, atr2text) which convert encoded
control/A text to different forms.
+ modify spell.rc, spellflt.l and select.c to allow spell filter to
work as a built-in filter.
+ modify built-in spell filter to work with encrypted files.
+ add a -t option to filters, to pass tabstop value. Use this in
makefilt.l to provide better highlighting of problems with leading
whitespace.
+ modify manpage.rc to check if the current buffer is perl, and if so,
to render contents using pod2man or pod2text.
+ set "vilemode" for [History] buffer.
+ reorder lex-based filters to allow building with flex 2.5.31, which
introduces several incompatibilities with respect to flex 2.5.4
and lex.
+ add configure check/warning for flex 2.5.31, which has broken support
for the "-P" option used for built-in filters.
2004-03-22 12:48:39 +01:00
|
|
|
HOMEPAGE= http://dickey.his.com/vile/vile.html
|
2001-02-16 15:38:16 +01:00
|
|
|
COMMENT= VI Like Emacs, X11 version -- a fully "X aware" vi work-alike
|
2000-09-06 10:16:14 +02:00
|
|
|
|
2005-09-28 22:52:18 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-09-06 10:16:14 +02:00
|
|
|
CONFIGURE_ARGS+= --with-perl
|
2005-12-06 00:55:01 +01:00
|
|
|
CONFIGURE_ARGS+= --datadir=${DATADIR:Q}
|
|
|
|
CONFIGURE_ARGS+= --with-libdir-path=${FILTERDIR:Q}
|
2000-09-06 10:16:14 +02:00
|
|
|
|
2006-09-09 04:41:53 +02:00
|
|
|
MAKE_FILE= makefile
|
2000-09-06 10:16:14 +02:00
|
|
|
INSTALL_TARGET= install install-perl
|
|
|
|
|
2007-07-28 02:13:05 +02:00
|
|
|
REPLACE_PERL= perl/vileget
|
|
|
|
USE_TOOLS+= perl:run
|
|
|
|
|
2000-09-06 10:16:14 +02:00
|
|
|
DATADIR= ${PREFIX}/share/xvile
|
|
|
|
FILTERDIR= ${PREFIX}/libexec/xvile
|
|
|
|
EGDIR= ${PREFIX}/share/examples/xvile
|
1997-10-06 14:41:48 +02:00
|
|
|
|
2000-09-06 17:02:09 +02:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
|
2001-08-23 06:26:51 +02:00
|
|
|
.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d" || ${XAW_TYPE} == "xpm")
|
2000-09-06 17:02:09 +02:00
|
|
|
CONFIGURE_ARGS+= --with-screen=Xaw3d
|
|
|
|
CONFIGURE_ARGS+= --with-Xaw3d
|
|
|
|
.else
|
|
|
|
XAW_TYPE= standard
|
|
|
|
CONFIGURE_ARGS+= --with-screen=Xaw
|
|
|
|
.endif
|
|
|
|
CONFIGURE_ARGS+= --with-xpm
|
|
|
|
|
1997-10-06 14:41:48 +02:00
|
|
|
post-install:
|
2003-05-05 19:38:41 +02:00
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/perl/vileget ${PREFIX}/bin/xvileget
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
for f in filters/spell.rc filters/filters.rc \
|
1999-10-22 15:45:18 +02:00
|
|
|
macros/digraphs.rc macros/pictmode.rc \
|
|
|
|
macros/manpage.rc visvile/visvile.rc; do \
|
2000-09-06 10:16:14 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/$$f ${EGDIR}; \
|
1999-10-22 15:45:18 +02:00
|
|
|
done
|
1997-10-06 14:41:48 +02:00
|
|
|
|
2006-12-15 21:32:52 +01:00
|
|
|
.include "../../x11/libXpm/buildlink3.mk"
|
2005-09-17 19:06:19 +02:00
|
|
|
.include "../../lang/perl5/buildlink3.mk"
|
2004-04-12 17:17:09 +02:00
|
|
|
.include "../../mk/xaw.buildlink3.mk"
|
2002-10-08 15:37:17 +02:00
|
|
|
|
1998-04-15 12:38:15 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|