aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2005-08-29 12:58:42 +0000
committerMichael Landin <mich@FreeBSD.org>2005-08-29 12:58:42 +0000
commit585818eaba50a1ff3fd28d7aadae20539099b254 (patch)
tree5b1fa3f2a8d3e75d7193255ae7c608d44cec1cbb /x11
parent9a4168d18d1ac2b44e605b8404140e72323993e8 (diff)
downloadports-585818eaba50a1ff3fd28d7aadae20539099b254.tar.gz
ports-585818eaba50a1ff3fd28d7aadae20539099b254.zip
Notes
Diffstat (limited to 'x11')
-rw-r--r--x11/aterm/Makefile17
-rw-r--r--x11/aterm/distinfo4
-rw-r--r--x11/aterm/files/patch-src-main.c20
-rw-r--r--x11/aterm/pkg-message10
4 files changed, 48 insertions, 3 deletions
diff --git a/x11/aterm/Makefile b/x11/aterm/Makefile
index 0850f0155583..776969c616c7 100644
--- a/x11/aterm/Makefile
+++ b/x11/aterm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= aterm
-PORTVERSION= 0.4.2
+PORTVERSION= 1.0.0
CATEGORIES+= x11 # `+=' is for slave ports
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= mich@FreeBSD.org
COMMENT= A color vt102 terminal emulator with transparency support
+LIB_DEPENDS+= AfterImage.0:${PORTSDIR}/graphics/libafterimage
+
USE_X_PREFIX= yes
USE_XPM= yes
GNU_CONFIGURE= yes
@@ -50,9 +52,22 @@ CONFIGURE_ARGS+= --enable-menubar
CONFIGURE_ARGS+= --enable-next-scroll
.endif
+.if defined(WITH_KANJI)
+CONFIGURE_ARGS+= --enable-kanji
+.endif
+
+.if defined(WITH_BIG5)
+CONFIGURE_ARGS+= --enable-big5
+.endif
+
+.if defined(WITH_GREEK)
+CONFIGURE_ARGS+= --enable-greek
+.endif
+
MAN1= aterm.1
post-install:
@${CHMOD} 4711 ${PREFIX}/bin/aterm
+ @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
diff --git a/x11/aterm/distinfo b/x11/aterm/distinfo
index e4be7c912151..1a3ea1df9c2e 100644
--- a/x11/aterm/distinfo
+++ b/x11/aterm/distinfo
@@ -1,2 +1,2 @@
-MD5 (aterm-0.4.2.tar.gz) = d046fcf7fadd661dd5efb393a43c57b1
-SIZE (aterm-0.4.2.tar.gz) = 312730
+MD5 (aterm-1.0.0.tar.gz) = 568777c65a723f6ba27464473c424a10
+SIZE (aterm-1.0.0.tar.gz) = 288358
diff --git a/x11/aterm/files/patch-src-main.c b/x11/aterm/files/patch-src-main.c
new file mode 100644
index 000000000000..63067ab51daf
--- /dev/null
+++ b/x11/aterm/files/patch-src-main.c
@@ -0,0 +1,20 @@
+--- src/main.c.orig Tue Aug 16 14:56:31 2005
++++ src/main.c Tue Aug 16 14:58:05 2005
+@@ -1037,12 +1037,17 @@
+ XConfigureEvent *xconf = &(ev->xconfigure);
+
+ while( XCheckTypedWindowEvent( Xdisplay, TermWin.parent, ConfigureNotify, ev ) );
++
++#ifdef DEBUG_X
+ fprintf( stderr, "config_geom = %dx%d\n", xconf->width, xconf->height );
++#endif
+ resize_window1(xconf->width, xconf->height);
+ #if 1
+ XTranslateCoordinates (Xdisplay, TermWin.parent, Xroot, 0, 0, &root_x, &root_y, &wdumm);
+
++#ifdef DEBUG_X
+ fprintf( stderr, "root_geom = %dx%d%+d%+d, root_size = %dx%d\n", xconf->width, xconf->height, root_x, root_y, XdisplayWidth, XdisplayHeight );
++#endif
+ TermWin.root_x = root_x ;
+ TermWin.root_y = root_y ;
+ TermWin.root_width = xconf->width ;
diff --git a/x11/aterm/pkg-message b/x11/aterm/pkg-message
new file mode 100644
index 000000000000..f571ee708d02
--- /dev/null
+++ b/x11/aterm/pkg-message
@@ -0,0 +1,10 @@
+
+ ATTENTION:
+
+Due to a BSD related bug in aterm in some cases the $COLUMNS and $LINES
+envirement variables are not being updated to the corresponding window geometry
+values. This will cause problems with applications such as 'man' or 'ee'. You
+need to adjust the window geometry manually at least once in order for the two
+envirement variable mentioned above to get adjusted correctly.
+
+The AfterStep/aterm developers know about this problem and are working on it.