ports/opt (master): xterm: imported from contrib
commit 1339f2caca48cbeef2cda1e4735fd44483bb2d2f Author: Simone Rota <sip@crux.nu> Date: Tue Nov 28 16:53:11 2006 +0000 xterm: imported from contrib diff --git a/xterm/.footprint b/xterm/.footprint new file mode 100644 index 0000000..5d6b725 --- /dev/null +++ b/xterm/.footprint @@ -0,0 +1,9 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/resize +-rwxr-xr-x root/root usr/bin/uxterm +-rwxr-xr-x root/root usr/bin/xterm +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man1/ +-rw-r--r-- root/root usr/man/man1/resize.1.gz +-rw-r--r-- root/root usr/man/man1/xterm.1.gz diff --git a/xterm/.md5sum b/xterm/.md5sum new file mode 100644 index 0000000..8a1eaf9 --- /dev/null +++ b/xterm/.md5sum @@ -0,0 +1,2 @@ +2bc971a1753fe57aca05fde7c005a16c configure.diff +bb77882a33083632a9c6c9de004a54fb xterm-222.tgz diff --git a/xterm/Pkgfile b/xterm/Pkgfile new file mode 100644 index 0000000..9fbc19d --- /dev/null +++ b/xterm/Pkgfile @@ -0,0 +1,26 @@ +# Description: The standard termulator. +# URL: http://dickey.his.com/xterm/xterm.html +# Maintainer: Simone Rota, sip at crux dot nu +# Packager: Han Boetes, han at mijncomputer dot nl +# Depends on: x11 + +name=xterm +version=222 +release=1 +source=" + ftp://invisible-island.net/xterm/xterm-$version.tgz + configure.diff +" + +build() +{ + cd $name-$version + [ -z "$BASH_VERSION" ] && patch -p0 -i $SRC/configure.diff + ./configure \ + --prefix=/usr \ + --disable-nls \ + --enable-256-color + make + make install DESTDIR=$PKG + chmod 0755 $PKG/usr/bin/xterm +} diff --git a/xterm/configure.diff b/xterm/configure.diff new file mode 100644 index 0000000..327e5ec --- /dev/null +++ b/xterm/configure.diff @@ -0,0 +1,12 @@ +Fix a stupid bashism +--- configure.orig 2006-05-02 02:01:12.637169936 +0200 ++++ configure 2006-05-02 02:01:30.861399432 +0200 +@@ -5217,7 +5217,7 @@ if test "${with_app_defaults+set}" = set + withval="$with_app_defaults" + + else +- withval="${appsdir-'\$(exec_prefix)/lib/X11/app-defaults'}" ++ withval="${appsdir-'\$\(exec_prefix\)/lib/X11/app-defaults'}" + fi; + case ".$withval" in #(vi + .\$\(*\)*|.\'*\'*) #(vi
participants (1)
-
crux@crux.nu