pkgsrc/x11/mlterm/Makefile
tsutsui d26f38fdd0 Update mlterm to 3.5.0.
pkgsrc changes:
 - handle new canna and wnn input method plugins as options
 - remove post-3.4.5 patch
 - pull the following post-3.5.0 Romanized Japanese conversion updates for wnn:
   8de212cf5b

Changes noted in doc/en/ReleaseNote:

ver 3.5.0
* Support WSDISPLAYIO_GET_FBINFO on NetBSD/framebuffer.
* Support Canna (--im canna) and Freewnn (--im wnn) as input method plugins.
* Support vertical and horizontal screen separation.
  (Note that -s=false option disables not only scrollbar but also screen separation.)
* Add HSPLIT_SCREEN(Shift+F1), VSPLIT_SCREEN(Shift+F2), NEXT_SCREEN(Shift+F3),
  PREV_SCREEN(Shift+F4), CLOSE_SCREEN(Shift+F5), HEXPAND_SCREEN(Shift+F6) and
  VEXPAND_SCREEN(Shift+F7) to shortcut key settings.
* Add "hsplit_screen", "vsplit_screen", "hresize_screen", "vresize_screen" and
  "next_screen" to OSC 5379.
* Rename "use_scrollbar" option to "use_mdi" which enables not only scrollbar but
  also screen separation.
* Support Allow132 (CSI?40h, CSI?40l).
  (Merge https://gist.github.com/saitoha/4b320b9cb6d637d14dbc)
* HankakuZenkaku key works on Linux/framebuffer.
* Bug fixes:
  Fix stiff behavior of "use_local_echo=true" on ssh connection by libssh2.
  Fix a bug which disabled OSC 5379 show_picture URL on all platforms except win32.
  (enbugged at 3.4.2)
2015-06-13 21:25:45 +00:00

82 lines
2.7 KiB
Makefile

# $NetBSD: Makefile,v 1.119 2015/06/13 21:25:45 tsutsui Exp $
DISTNAME= mlterm-3.5.0
CATEGORIES= x11
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=mlterm/}
MAINTAINER= tsutsui@NetBSD.org
HOMEPAGE= http://mlterm.sourceforge.net/
COMMENT= Multilingual terminal emulator
LICENSE= modified-bsd
# CODESET is only supported on NetBSD in 1.5T and later - see <langinfo.h>
NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-* NetBSD-1.5[A-S]-*
USE_TOOLS+= pkg-config msgfmt
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
PKG_SYSCONFSUBDIR= mlterm
EGDIR= ${PREFIX}/share/examples/mlterm
.for f in aafont color font key main menu taafont termcap tfont vaafont vfont \
xim
CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
.endfor
CONFIGURE_ARGS+= --without-libiconv-prefix
CONFIGURE_ARGS+= --without-libintl-prefix
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples
.include "../../mk/bsd.prefs.mk"
.include "options.mk"
SUBST_CLASSES+= link
SUBST_MESSAGE.link= Fixing hardcoded paths and link options in Makefiles.
SUBST_STAGE.link= post-patch
SUBST_FILES.link= Makefile.in */Makefile.in */*/Makefile.in \
*/*/*/Makefile.in
SUBST_SED.link= -e 's|(LIBTOOL_LINK).*(LIBS)|& ${X11_LDFLAGS:M*:Q}|g'
SUBST_SED.link+= -e 's|(LIBTOOL_LINK).*(LIBDIR)|& ${X11_LDFLAGS:M*:Q}|g'
SUBST_SED.link+= -e 's|/usr/local/|${PREFIX}/|g'
SUBST_SED.link+= -e 's|/usr/X11R7/|${X11BASE}/|g'
SUBST_CLASSES+= man
SUBST_MESSAGE.man= Fixing hardcoded paths in man pages.
SUBST_STAGE.man= post-patch
SUBST_FILES.man= man/mlterm.1
SUBST_SED.man= -e 's|/usr/X11R6/lib/X11/mlterm/|${PKG_SYSCONFDIR}/|g'
SUBST_SED.man+= -e 's|/usr/X11R6/include/|${X11BASE}/include/|g'
SUBST_CLASSES+= conf
SUBST_MESSAGE.conf= Fixing hardcoded paths in config files.
SUBST_STAGE.conf= post-patch
SUBST_FILES.conf= etc/font-fb
SUBST_SED.conf= -e 's|/usr/X11R7/|${X11BASE}/|g'
SUBST_SED.conf+= -e 's|/usr/pkg/|${PREFIX}/|g'
BUILDLINK_DEPMETHOD.libXt?= build
INSTALLATION_DIRS= share/doc/mlterm share/doc/mlterm/en share/doc/mlterm/ja
post-install:
.for f in FAQ PROTOCOL README.bidi README.fb README.indic README.xim
${INSTALL_DATA} ${WRKSRC}/doc/en/${f} \
${DESTDIR}${PREFIX}/share/doc/mlterm/en
.endfor
.for f in BUGS FAQ README.aafont README.comb README.confapp README.fb \
README.fontproto README.ja README.pty README.server \
README.tate README.utf8 README.xim
${INSTALL_DATA} ${WRKSRC}/doc/ja/${f} \
${DESTDIR}${PREFIX}/share/doc/mlterm/ja
.endfor
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libSM/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXt/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"