xenocara/app/xterm/Makefile
matthieu 388c3eba67 Update to xterm 243. tested by naddy@.
Patch #243 - 2009/3/28

* revert change to default for allowTcapOps (request by Bram Moolenaar).
* reallocate result returned by xtermEnvLocale() to avoid reference to
freed memory after handling menuLocale resource.
* fix an old (X11R5) bug in tek4014 for switching fontsizes.
* add resource defaultString to make configurable the use of "#" when
pastes of UTF-8 text fail due to limitations in the current locale settings.
* make the set of selection target Atom's configurable by two new
resources eightBitSelectTypes and utf8SelectTypes, e.g., to use the TEXT
Atom in preference to UTF8_STRING (discussion with Stanislav Sedov
regarding koi8rxterm and the FreeBSD port).
* modify handling of TARGETS Atom by making it return exactly the set of
targets as those which xterm is currently providing.
* set MANPAGER and PAGER explicitly to /bin/cat in minstall.sh to work
around /etc/man.conf's with those variables already set (report by
Mar'yasin Semion).
* improve error-checking of tcap-query parser.
* add check for keyboard tcap), which ensures that terminal descriptions
containing the same string for shifted/unshifted keys will be seen by
tcap-query as only the unshifted key. (This would only happen with an
incorrect terminal description).
* fix conversion for input event-state to modifier-parameter which made
tcap-query feature not work with tcapFunctionKeys (keyboard type tcap).
* add "DEF_ALLOW_XXX" definitions to main.h to allow overriding the
default compiled-in values for "allowxxx" resources.
* remove check on bell-percentage added in patch #242, which disallowed
zero/negative values (Redhat Bugzilla #487829).
2009-04-04 15:10:44 +00:00

67 lines
2.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.12 2009/04/04 15:10:44 matthieu Exp $
.include <bsd.xconf.mk>
SUBDIR= icons resize
PROG= xterm
MAN= xterm.1tbl uxterm.1 koi8rxterm.1
BINGRP= utmp
BINMODE= 2755
CPPFLAGS+= -I${.CURDIR} -I${X11BASE}/include \
-I${X11BASE}/include/freetype2 \
-DHAVE_CONFIG_H -DCSRG_BASED \
-DFUNCPROTO=15 -DNARROWPROTO -DXFREE86_FT2 -DUTMP \
-DDEF_ALLOW_FONT=False -DDEF_ALLOW_TCAP=False \
-DDEF_ALLOW_WINDOW=False
LDADD+= -L${X11BASE}/lib -lXaw -lXpm -lXt -lSM -lICE \
-lXmu -lXft -lXrender -lX11 -lXext -lXau -lXdmcp \
-lfontconfig -lexpat -lfreetype -lutil -ltermcap -lz
SRCS= TekPrsTbl.c Tekproc.c VTPrsTbl.c button.c cachedGCs.c \
charclass.c xtermcap.c charproc.c charsets.c cursor.c \
data.c doublechr.c fontutils.c input.c main.c menu.c \
misc.c precompose.c print.c ptydata.c wcwidth.c screen.c \
scrollbar.c tabs.c util.c xstrings.c
MANDIR= ${X11BASE}/man/cat
XETC?= /etc/X11
xterm.1tbl: xterm.man
sed -e 's#__vendorversion__#"X Window System"#g' \
-e 's#__mansuffix__#1#g' \
-e 's#__miscmansuffix__#7#g' \
-e 's#__apploaddir__#${X11ETC}/app-defaults#g' \
< ${.CURDIR}/xterm.man > $@
.SUFFIXES: .man .1
.man.1:
sed -e 's#__vendorversion__#"X Window System"#g' \
-e 's#__mansuffix__#1#g' \
-e 's#__miscmansuffix__#7#g' \
-e 's#__apploaddir__#${X11ETC}/app-defaults#g' \
< $< > $@
CLEANFILES+= ${MAN}
afterinstall:
${INSTALL} ${INSTALL_COPY} -m 755 ${.CURDIR}/uxterm \
${DESTDIR}${BINDIR}
${INSTALL} ${INSTALL_COPY} -m 644 ${.CURDIR}/XTerm.ad \
${DESTDIR}${XETC}/app-defaults/XTerm
${INSTALL} ${INSTALL_COPY} -m 644 ${.CURDIR}/XTerm-col.ad \
${DESTDIR}${XETC}/app-defaults/XTerm-color
${INSTALL} ${INSTALL_COPY} -m 644 ${.CURDIR}/UXTerm.ad \
${DESTDIR}${XETC}/app-defaults/UXTerm
${INSTALL} ${INSTALL_COPY} -m 755 ${.CURDIR}/koi8rxterm \
${DESTDIR}${BINDIR}
${INSTALL} ${INSTALL_COPY} -m 644 ${.CURDIR}/KOI8RXTerm.ad \
${DESTDIR}${XETC}/app-defaults/KOI8RXTerm
obj: _xenocara_obj
.include <bsd.prog.mk>
.include <bsd.xorg.mk>