# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # aterm # aterm/files # aterm/files/patch-aa # aterm/files/patch-src-main.c # aterm/pkg-descr # aterm/pkg-plist # aterm/distinfo # aterm/Makefile # echo c - aterm mkdir -p aterm > /dev/null 2>&1 echo c - aterm/files mkdir -p aterm/files > /dev/null 2>&1 echo x - aterm/files/patch-aa sed 's/^X//' >aterm/files/patch-aa << 'END-of-aterm/files/patch-aa' X--- src/command.c.orig Tue Jun 21 22:08:16 2005 X+++ src/command.c Tue Sep 6 00:35:28 2005 X@@ -73,12 +73,18 @@ X #ifndef NO_XLOCALE X # if (XtSpecificationRelease < 6) X # define NO_XLOCALE X-# else X-# define X_LOCALE X-# include X # endif X #endif /* NO_XLOCALE */ X X+#ifndef NO_XSETLOCALE X+# define X_LOCALE X+# include X+#else X+# ifndef NO_SETLOCALE X+# include X+# endif X+#endif /* NO_XLOCALE */ X+ X #ifdef TTY_GID_SUPPORT X # include X #endif X@@ -600,7 +606,7 @@ X ttydev = tty_name; X X # define PTYCHAR1 "pqrstuvwxyz" X-# define PTYCHAR2 "0123456789abcdef" X+# define PTYCHAR2 "0123456789abcdefghijklmnopqrstuvwxyz" X for (c1 = PTYCHAR1; *c1; c1++) { X ptydev[len - 2] = ttydev[len - 2] = *c1; X for (c2 = PTYCHAR2; *c2; c2++) { X@@ -1043,8 +1049,6 @@ X signal(SIGTERM, Exit_signal); X signal(SIGCHLD, Child_signal); X X- tt_winsize(ptyfd); /* set window size */ X- X /* need to trap SIGURG for SVR4 (Unixware) rlogin */ X /* signal (SIGURG, SIG_DFL); */ X X@@ -1084,6 +1088,7 @@ X } X #endif /* SRIOCSREDIR */ X } X+ tt_winsize(0); /* set window size */ X X /* reset signals and spin off the command interpreter */ X signal(SIGINT, SIG_DFL); END-of-aterm/files/patch-aa echo x - aterm/files/patch-src-main.c sed 's/^X//' >aterm/files/patch-src-main.c << 'END-of-aterm/files/patch-src-main.c' X--- src/main.c.orig Tue Aug 16 14:56:31 2005 X+++ src/main.c Tue Aug 16 14:58:05 2005 X@@ -1037,12 +1037,17 @@ X XConfigureEvent *xconf = &(ev->xconfigure); X X while( XCheckTypedWindowEvent( Xdisplay, TermWin.parent, ConfigureNotify, ev ) ); X+ X+#ifdef DEBUG_X X fprintf( stderr, "config_geom = %dx%d\n", xconf->width, xconf->height ); X+#endif X resize_window1(xconf->width, xconf->height); X #if 1 X XTranslateCoordinates (Xdisplay, TermWin.parent, Xroot, 0, 0, &root_x, &root_y, &wdumm); X X+#ifdef DEBUG_X X fprintf( stderr, "root_geom = %dx%d%+d%+d, root_size = %dx%d\n", xconf->width, xconf->height, root_x, root_y, XdisplayWidth, XdisplayHeight ); X+#endif X TermWin.root_x = root_x ; X TermWin.root_y = root_y ; X TermWin.root_width = xconf->width ; END-of-aterm/files/patch-src-main.c echo x - aterm/pkg-descr sed 's/^X//' >aterm/pkg-descr << 'END-of-aterm/pkg-descr' Xaterm is a color vt102 terminal emulator, based on rxvt 2.4.8 with Xadditions for fast transparency. X XIt was created with AfterStep users in mind, but is not tied to any Xlibraries, and can be used anywhere. X XWWW: http://aterm.sourceforge.net/ X X- Jim END-of-aterm/pkg-descr echo x - aterm/pkg-plist sed 's/^X//' >aterm/pkg-plist << 'END-of-aterm/pkg-plist' Xbin/aterm X@exec chmod 4711 %D/bin/aterm END-of-aterm/pkg-plist echo x - aterm/distinfo sed 's/^X//' >aterm/distinfo << 'END-of-aterm/distinfo' XMD5 (aterm-1.0.0.tar.gz) = 568777c65a723f6ba27464473c424a10 XSIZE (aterm-1.0.0.tar.gz) = 288358 END-of-aterm/distinfo echo x - aterm/Makefile sed 's/^X//' >aterm/Makefile << 'END-of-aterm/Makefile' X# New ports collection makefile for: aterm X# Date created: 17 January 1999 X# Whom: Jim Mock X# X# $FreeBSD: ports/x11/aterm/Makefile,v 1.26 2005/08/30 12:04:06 mich Exp $ X# X XPORTNAME= aterm XPORTVERSION= 1.0.0 XPORTREVISION= 1 XCATEGORIES+= x11 # `+=' is for slave ports XMASTER_SITES= ${MASTER_SITE_SOURCEFORGE} XMASTER_SITE_SUBDIR= ${PORTNAME} X XMAINTAINER= mich@FreeBSD.org XCOMMENT= A color vt102 terminal emulator with transparency support X XUSE_X_PREFIX= yes XUSE_XPM= yes XGNU_CONFIGURE= yes X# `+=' is for slave ports XCONFIGURE_ARGS+= --enable-transparency \ X --enable-fading --enable-utmp --enable-wtmp \ X --without-afterstep-config X XCONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" LDFLAGS="-L${LOCALBASE}/lib" X X.if !defined(WITHOUT_BACKGROUND_IMAGE) XLIB_DEPENDS+= AfterImage.0:${PORTSDIR}/graphics/libafterimage XCONFIGURE_ARGS+= --enable-background-image X.endif X X.if !defined(WITHOUT_PNG) XCONFIGURE_ARGS+= --with-png XLIB_DEPENDS+= png.5:${PORTSDIR}/graphics/png X.else XCONFIGURE_ARGS+= --with-png=no X.endif X X.if !defined(WITHOUT_JPEG) XCONFIGURE_ARGS+= --with-jpeg XLIB_DEPENDS+= jpeg.9:${PORTSDIR}/graphics/jpeg X.else XCONFIGURE_ARGS+= --with-jpeg=no X.endif X X.if !defined(WITH_BSDEL) XCONFIGURE_ARGS+= --disable-backspace-key --disable-delete-key X.endif X X.if defined(WITH_MENUBAR) XCONFIGURE_ARGS+= --enable-menubar X.endif X X.if defined(WITH_NEXTSCROLL) XCONFIGURE_ARGS+= --enable-next-scroll X.endif X X.if defined(WITH_KANJI) XCONFIGURE_ARGS+= --enable-kanji X.endif X X.if defined(WITH_BIG5) XCONFIGURE_ARGS+= --enable-big5 X.endif X X.if defined(WITH_GREEK) XCONFIGURE_ARGS+= --enable-greek X.endif X XMAN1= aterm.1 X Xpost-install: X @${CHMOD} 4711 ${PREFIX}/bin/aterm X X.include END-of-aterm/Makefile exit