pkgsrc/editors/xvile/Makefile

52 lines
1.4 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.47 2005/09/28 09:44:30 agc Exp $
DISTNAME= vile-9.5
PKGNAME= xvile-9.5
CATEGORIES= editors
MASTER_SITES= ftp://dickey.his.com/vile/ \
ftp://invisible-island.net/vile/
EXTRACT_SUFX= .tgz
2003-07-17 23:31:04 +02:00
MAINTAINER= tech-pkg@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", "&gt", "&leq", "&lt", "&neq", "&sgeq", "&sgt", "&sleq", "&slt", "&sneq" to reduce the need for "&not". + 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
COMMENT= VI Like Emacs, X11 version -- a fully "X aware" vi work-alike
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-perl
CONFIGURE_ARGS+= --datadir=${DATADIR}
CONFIGURE_ARGS+= --with-libdir-path=${FILTERDIR}
MAKEFILE= makefile
INSTALL_TARGET= install install-perl
DATADIR= ${PREFIX}/share/xvile
FILTERDIR= ${PREFIX}/libexec/xvile
EGDIR= ${PREFIX}/share/examples/xvile
.include "../../mk/bsd.prefs.mk"
.if defined(XAW_TYPE) && (${XAW_TYPE} == "3d" || ${XAW_TYPE} == "xpm")
CONFIGURE_ARGS+= --with-screen=Xaw3d
CONFIGURE_ARGS+= --with-Xaw3d
.else
XAW_TYPE= standard
CONFIGURE_ARGS+= --with-screen=Xaw
.endif
CONFIGURE_ARGS+= --with-xpm
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 \
macros/digraphs.rc macros/pictmode.rc \
macros/manpage.rc visvile/visvile.rc; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${EGDIR}; \
done
2004-04-12 17:17:09 +02:00
.include "../../graphics/xpm/buildlink3.mk"
.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
.include "../../mk/bsd.pkg.mk"