pkgsrc/editors/xvile/Makefile
wiz 63d6d7ab14 vile, xvile: update to 9.8u.
Provided by Thomas Dickey in private mail.

Changes:

 20200517 (u)
	> Brendan O'Dea:
	+ add smartcase mode (prompted by suggestion by Marc Simpson).
	> Michael von der Heide
	+ modify vile-spell-filt to allow for umlauts in UTF-8
	> Tom Dickey:
	+ add "install-keywords" and "uninstall-keywords" targets to the
	  top-level and filters makefiles.
	+ prove separate a "nmake" highlighter from "make", to color
	  conditional directives and handle special cases of trailing "\".
	+ modify winvile.iss to make the 64-bit installers more distinct from
	  the 32-bit installers.
	+ enable registry-lookup as getenv fallback for WinVile64
	+ modify nmakemode:
	  + allow for whitespace after "!" in conditional lines
	  + ignore case when matching keywords
	+ fix some issues found with Coverity.
	+ quiet a few gcc9 warnings
	+ correct size-parameter of ZeroMemory calls in ntwinio.c
	+ resave SVG-files with Inkscape 0.92.4 (5da689c313, 2019-01-14), to
	  accommodate version-creep.
	+ improved configure macros to lessen unused-variable warnings in
	  config.log
	+ workaround in configure checks for ncurses vs xcode's c99 "-W" option
	+ fix - python filter should recognize triple single-quoted string
	  (report/patch by Marc Simpson).
	+ fix typos reported by codespell.
	+ add null-pointer checks for continue-search and reverse-search to
	  handle the case where a pattern string was given, but it failed to
	  compile (report by Marc Simpson).
	+ improve configure script for MacOS port:
	  + check for X11 headers in /usr/X11, reflecting Apple's removal of
	    of /usr/include and /usr/include/X11
	  + suppress -Winline
	  + cleanup *.dSYM directories
	  + don't add gcc/clang options for c89/c99 wrappers which cannot tell
	    what version of gcc/clang they hide.
	+ add tpumode, separating it from dclmode because the keywords differ.
	  also add tpu syntax filter, since syntax differs.
	+ modified a configure-macro to appease autoheader-252.
	+ switch back to the original buffer after displaying result of the
	  show-marks command in "[Named Marks]" (report/patch by Marc Simpson).
	+ modify message when setting a mark in "[Named Marks]" to show that it
	  is ignored (report by Marc Simpson).
	+ regenerate the doc-files from html, using links2 2.14 in Debian 9.
	  also reformat the html files.
	+ trim some unwanted blanks in vile.hlp, overlooked in converting
	  to html (report by Marc Simpson).
	+ add "go" and "typescript" majormodes.
	+ fix a loop-limit in manfilt.c for ANSI CUP.
	+ clone pl-filt.c as pl6filt.c to support perl6, added corresponding
	  "perl6" mode (discussion with Steve Lembark).
	+ add a limit-check in reallyEditMiniBuffer to handle a case where
	  mini-edits clear the working buffer, including the padding (Savannah
	  #56627).
	+ fix no-return warnings from libXt 1.2.0 headers
	+ updated "rev=made" to "rel=author" in html-files.
	+ add configure check for handling of "const" with X Toolkit library
	+ improved configure macros:
	  CF_GNU_SOURCE, CF_INSTALL_OPTS, CF_INSTALL_OPT_S, CF_LD_RPATH_OPT,
	  CF_POSIX_C_SOURCE, CF_VA_COPY, CF_XOPEN_SOURCE, mainly to solve
	  two problems:
	  + non-POSIX use of predefined symbols on BSD platforms
	  + an install option was needed to preserve timestamps
	+ add html meta tags to atr2html for generator and charset.
	+ update gnreight.h from Debian/testing libc6 2.28-6
	+ add FreeBSD package-files to help with maintaining (FreeBSD #234527,
	  FreeBSD #234528).  Note that because of the distinfo files, those
	  will always be one patch behind.
	+ update config.guess, config.sub
2020-05-21 07:40:28 +00:00

62 lines
1.8 KiB
Makefile

# $NetBSD: Makefile,v 1.76 2020/05/21 07:40:28 wiz Exp $
DISTNAME= vile-9.8u
PKGNAME= x${DISTNAME}
CATEGORIES= editors
MASTER_SITES= ftp://ftp.invisible-island.net/vile/current/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://invisible-island.net/vile/
COMMENT= VI Like Emacs, X11 version -- a fully "X aware" vi work-alike
LICENSE= gnu-gpl-v2
DISTINFO_FILE= ${.CURDIR}/../../editors/vile/distinfo
PATCHDIR= ${.CURDIR}/../../editors/vile/patches
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-imake
CONFIGURE_ARGS+= --with-perl
CONFIGURE_ARGS+= --datadir=${DATADIR:Q}
CONFIGURE_ARGS+= --with-libdir-path=${FILTERDIR:Q}
MAKE_FILE= makefile
INSTALL_TARGET= install install-doc install-perl
REPLACE_PERL= perl/vileget
REPLACE_PERL+= macros/lxvile
REPLACE_PERL+= macros/lxvile-fonts
USE_TOOLS+= perl:run
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
CONFIGURE_ARGS+= --with-screen=Xaw
.endif
CONFIGURE_ARGS+= --with-xpm
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/perl/vileget \
${DESTDIR}${PREFIX}/bin/xvileget
${RM} -f ${DESTDIR}${PREFIX}/bin/vileget
${INSTALL_DATA_DIR} ${DESTDIR}${EGDIR}
set -e; \
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 ${DESTDIR}${EGDIR}; \
done
.include "../../x11/libXmu/buildlink3.mk"
.include "../../x11/libXpm/buildlink3.mk"
.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"