mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-14 07:43:06 +00:00
8721a6c9a0
is enabled, it treats CJK ambiguous characters as full width. This feature is very helpful for reading legacy CJK applications' output which assume all CJK characters are full width. This option is default off. The patch is obtained from http://www.mhsin.org/~mhsin/patches/screen/patch-cjkwidth The credit belongs to Michael Hsin <mhsin _at mhsin.org>. It also has been submitted to upstream: http://savannah.gnu.org/bugs/?func=detailitem&item_id=16666 PR: ports/96167 Submitted by: rafan Approved by: maintainer timeout (3 months and 2 weeks)
59 lines
1.3 KiB
Makefile
59 lines
1.3 KiB
Makefile
# New ports collection makefile for: screen
|
|
# Date created: 25 Nov 1994
|
|
# Whom: ache
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= screen
|
|
PORTVERSION= 4.0.2
|
|
PORTREVISION= 4
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.uni-erlangen.de/pub/utilities/screen/ \
|
|
${MASTER_SITE_GNU}
|
|
MASTER_SITE_SUBDIR= screen
|
|
|
|
MAINTAINER= cy@FreeBSD.org
|
|
COMMENT= A multi-screen window manager
|
|
|
|
GNU_CONFIGURE= yes
|
|
MAN1= screen.1
|
|
INFO= screen
|
|
|
|
NO_PACKAGE= Tends to loop using 100% CPU when used from package - perhaps it hard-codes information about the build host
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ARCH} == "alpha"
|
|
CFLAGS+= -O0
|
|
.endif
|
|
|
|
# Enables support for 256 colour xterm. Note that you may need to
|
|
# set up a custom termcap entry or .screenrc which modifies termcap
|
|
# to contain the following: Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm
|
|
#
|
|
.if defined(WITH_XTERM_256)
|
|
CFLAGS+= -DCOLORS256
|
|
.endif
|
|
|
|
.if defined(WITHOUT_NETHACK)
|
|
CFLAGS+= -DNONETHACK
|
|
.endif
|
|
|
|
# treat CJK ambiguous characters as full width via option "cjkwidth"
|
|
.if defined(WITH_CJK)
|
|
EXTRA_PATCHES+= ${.CURDIR}/files/opt-cjkwidth
|
|
.endif
|
|
|
|
post-patch:
|
|
@${RM} ${WRKSRC}/doc/screen.info*
|
|
|
|
post-install:
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
@${CP} ${WRKSRC}/etc/etcscreenrc ${EXAMPLESDIR}/screenrc
|
|
@if [ ! -f ${PREFIX}/etc/screenrc ]; then \
|
|
${CP} ${EXAMPLESDIR}/screenrc ${PREFIX}/etc/screenrc ; \
|
|
fi
|
|
|
|
.include <bsd.port.post.mk>
|