aboutsummaryrefslogtreecommitdiff
path: root/x11/xterm
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2011-02-24 15:39:09 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2011-02-24 15:39:09 +0000
commitc8031f6b90008fac61313dfca02438ded96f6ae8 (patch)
treee729a4593e12b23b6bac606cb0ced2cd3e0adac9 /x11/xterm
parent40161454f3f70923b133c4e644622bf2c41f9005 (diff)
downloadports-c8031f6b90008fac61313dfca02438ded96f6ae8.tar.gz
ports-c8031f6b90008fac61313dfca02438ded96f6ae8.zip
Notes
Diffstat (limited to 'x11/xterm')
-rw-r--r--x11/xterm/Makefile28
-rw-r--r--x11/xterm/pkg-message10
2 files changed, 18 insertions, 20 deletions
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile
index 93029d1c393f..c2cfdbe8394c 100644
--- a/x11/xterm/Makefile
+++ b/x11/xterm/Makefile
@@ -7,10 +7,9 @@
PORTNAME= xterm
PORTVERSION= 269
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= x11
MASTER_SITES= ftp://invisible-island.net/xterm/ \
- http://voodoo.bawue.com/download/ \
CRITICAL
EXTRACT_SUFX= .tgz
@@ -31,7 +30,7 @@ OPTIONS= WIDE_CHARS "enable wide-character support" on \
.include <bsd.port.options.mk>
-.if !defined(WITHOUT_WIDE_CHARS)
+.if defined(WITH_WIDE_CHARS)
CONFIGURE_ARGS+= --enable-wide-chars --enable-luit
.endif
@@ -52,23 +51,12 @@ LIB_DEPENDS= utempter.0:${PORTSDIR}/sysutils/libutempter
.endif
post-install:
- @${CHMOD} 4711 ${PREFIX}/bin/xterm
-.if !defined(WITHOUT_WIDE_CHARS)
- @${ECHO_MSG}
- @${ECHO_MSG} '********************************************************'
- @${ECHO_MSG} ' NOTE: you installed xterm with wide chars support.'
- @${ECHO_MSG} ' This introduces some limitations comparing to the'
- @${ECHO_MSG} ' plain single chars version: this version of xterm'
- @${ECHO_MSG} ' will use UTF-8 charset for selection buffers,'
- @${ECHO_MSG} ' breaking 8-bit copy/paste support unless you are'
- @${ECHO_MSG} ' using UTF-8 or ISO8859-1 locale. If you want'
- @${ECHO_MSG} ' 8-bit charset selections to work as before, use'
- @${ECHO_MSG} ' "eightBitSelectTypes" XTerm resource setting.'
- @${ECHO_MSG}
- @${ECHO_MSG} ' For further information refer to the SELECT/PASTE'
- @${ECHO_MSG} ' section of xterm(1) manual page.'
- @${ECHO_MSG} '********************************************************'
- @${ECHO_MSG}
+.for f in koi8rxterm resize uxterm xterm
+ @${CHMOD} ${BINMODE} ${PREFIX}/bin/${f}
+.endfor
+
+.if defined(WITH_WIDE_CHARS)
+ @${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.post.mk>
diff --git a/x11/xterm/pkg-message b/x11/xterm/pkg-message
new file mode 100644
index 000000000000..1de1a06ed8d6
--- /dev/null
+++ b/x11/xterm/pkg-message
@@ -0,0 +1,10 @@
+================================================================================
+You installed xterm with wide chars support. This introduces some limitations
+comparing to the plain single chars version: this version of xterm will use
+UTF-8 charset for selection buffers, breaking 8-bit copy/paste support unless
+you are using UTF-8 or ISO8859-1 locale. If you want 8-bit charset selections to
+work as before, use "eightBitSelectTypes" XTerm resource setting.
+
+For further information refer to the SELECT/PASTE section of xterm(1) manual
+page.
+================================================================================