aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorEd Schouten <ed@FreeBSD.org>2009-12-06 21:57:08 +0000
committerEd Schouten <ed@FreeBSD.org>2009-12-06 21:57:08 +0000
commit4ef403f3f594d9fd03168e69b31681590a83de40 (patch)
treecdcf53146578fc8be541d73f7cf5782ac7cd92e8 /x11
parentee8eda08fb8735bd54cc89042122f247ed21a8f9 (diff)
downloadports-4ef403f3f594d9fd03168e69b31681590a83de40.tar.gz
ports-4ef403f3f594d9fd03168e69b31681590a83de40.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/xterm/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/x11/xterm/Makefile b/x11/xterm/Makefile
index e555040d4615..e653e65c45e6 100644
--- a/x11/xterm/Makefile
+++ b/x11/xterm/Makefile
@@ -7,6 +7,7 @@
PORTNAME= xterm
PORTVERSION= 251
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= ftp://invisible-island.net/xterm/ \
http://voodoo.bawue.com/download/
@@ -16,7 +17,6 @@ MAINTAINER= krion@FreeBSD.org
COMMENT= Terminal emulator for the X Window System
BUILD_DEPENDS= luit:${PORTSDIR}/x11/luit
-LIB_DEPENDS= utempter.0:${PORTSDIR}/sysutils/libutempter
USE_XORG= xaw xft
GNU_CONFIGURE= yes
@@ -34,6 +34,12 @@ CONFIGURE_ARGS+= --enable-256-color
MAN1= resize.1 koi8rxterm.1 uxterm.1 xterm.1
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 900004
+LIB_DEPENDS= utempter.0:${PORTSDIR}/sysutils/libutempter
+.endif
+
post-install:
@${CHMOD} 4711 ${PREFIX}/bin/xterm
.if !defined(WITHOUT_WIDE_CHARS)
@@ -54,4 +60,4 @@ post-install:
@${ECHO_MSG}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>