635c1f6157
pkgsrc changes:
- remove a patch applied in the upstream
- pull an upstream fix for NetBSD/x68k VGA mode support:
0d3a3b0bdc
Upstream changes noted in doc/en/ReleaseNote:
ver 3.9.1
* Support copy mode which starts by Control+Shift+Return.
* Support OSC 1337;Setmark ST.
* Support CSI 3 J (ED) which clears backlog.
* Support gradle to build mlterm for Android. (See doc/en/README.android)
* Add --enable-utmp-suid option to ./configure script.
(The default value is disabled.)
* Add --with-utmp option which specifies the way of accessing to utmp database
to ./configure script.
* Add SCROLL_UP_TO_MARK, SCROLL_DOWN_TO_MARK and SET_MARK shortcut keys.
* Add resize_mode / --rz option, and drop scroll_on_resize / --sr option.
(If you want to revert to the old behavior, specify --rz=none option.)
* Add emoji_file_format / --emojifmt option.
* Add libvterm 0.1 API symbols to libvterm compatible library.
* Add vte 0.62 API symbols to libvte compatible library.
* Drop SCROLL_DOWN and PAGE_DOWN shortcut keys.
* Drop use_extended_scroll_shortcut option and SCROLL_UP shortcut key is enabled
by default. (If you want to disable it, add UNUSED=SCROLL_UP to ~/.mlterm/key.)
* Update unicode property table (generated from UnicodeData.txt and
EastAsianWidth.txt) to version 13.0.0.
* letter_space / --csp option accepts negative value.
* libvte compatible library supports XInput2.
* Bug fixes:
Fix a bug which caused a 'mlimgloader' process not to exit after loading a wall picture.
(Enbugged at 3.8.8)
Fix a bug which disabled keyboard and mouse on Haiku R1/beta2.
Mlconfig starts correctly by Ctrl + RightClick on cygwin 3.1.4.
Fix https://sourceforge.net/p/mlterm/mailman/message/37033060/
Fix segfault of mlcc in exiting after changing configurations.
Fix segfault in double click at RTL characters. (Enbugged at 3.6.2)
Fix corruption of data transferred by "OSC 5379; scp ... ST".
Fix https://github.com/arakiken/mlterm/issues/4.
Fix http://twitter.com/oshimyja/status/1320251099211649024.
88 lines
3 KiB
Makefile
88 lines
3 KiB
Makefile
# $NetBSD: Makefile,v 1.164 2020/11/16 11:58:08 tsutsui Exp $
|
|
|
|
DISTNAME= mlterm-3.9.1
|
|
#PKGREVISION= 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+= --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= pre-configure
|
|
SUBST_FILES.link= */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= pre-configure
|
|
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= pre-configure
|
|
SUBST_FILES.conf= etc/font-fb
|
|
SUBST_VARS.conf= PREFIX X11BASE
|
|
|
|
BUILDLINK_DEPMETHOD.libXt?= build
|
|
|
|
# XXX
|
|
# setgid is required only on ancient systems that have
|
|
# none of pututxline(3), setutent(3), or addToUtmp(3)
|
|
# but have to use logwtmp(3) or open system's _PATH_UTMP
|
|
# or _PATH_WTMP file directly to handle utmp entries.
|
|
# configure script checks these functions automatically, but
|
|
# no easy way to statically identify them per OS and version.
|
|
#SPECIAL_PERMS+= bin/mlterm ${REAL_ROOT_USER} utmp 2755
|
|
|
|
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"
|