Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 1999 17:32:19 -0600 (MDT)
From:      handy@physics.montana.edu
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/14312: New Port:  wmMatrix
Message-ID:  <199910132332.RAA08741@lambic.physics.montana.edu>

next in thread | raw e-mail | index | archive | help

>Number:         14312
>Category:       ports
>Synopsis:       New port:  wmmatrix-0.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 13 16:40:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Brian Handy
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
MSU - Bozeman
>Environment:
>Description:
wmMatrix perhaps qualifies as my Most Pointless Port to date (closely
edging bclock out for this distinction).  Runs a 'matrix' looking thingy
in a tinny windowmaker dock app window.  I'm not aware that it does 
anything else.

>How-To-Repeat:
>Fix:

#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2).
# To extract the files from this archive, save it to some FILE, remove
# everything before the `!/bin/sh' line above, then type `sh FILE'.
#
# Made on 1999-10-13 17:29 MDT by <handy@lambic.physics.montana.edu>.
# Source directory was `/usr/home/handy'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#     61 -rw-r--r-- wmmatrix/files/md5
#     56 -rw-r--r-- wmmatrix/pkg/COMMENT
#    136 -rw-r--r-- wmmatrix/pkg/DESCR
#     13 -rw-r--r-- wmmatrix/pkg/PLIST
#    326 -rw-r--r-- wmmatrix/patches/patch-aa
#    458 -rw-r--r-- wmmatrix/Makefile
#
save_IFS="${IFS}"
IFS="${IFS}:"
gettext_dir=FAILED
locale_dir=FAILED
first_param="$1"
for dir in $PATH
do
  if test "$gettext_dir" = FAILED && test -f $dir/gettext \
     && ($dir/gettext --version >/dev/null 2>&1)
  then
    set `$dir/gettext --version 2>&1`
    if test "$3" = GNU
    then
      gettext_dir=$dir
    fi
  fi
  if test "$locale_dir" = FAILED && test -f $dir/shar \
     && ($dir/shar --print-text-domain-dir >/dev/null 2>&1)
  then
    locale_dir=`$dir/shar --print-text-domain-dir`
  fi
done
IFS="$save_IFS"
if test "$locale_dir" = FAILED || test "$gettext_dir" = FAILED
then
  echo=echo
else
  TEXTDOMAINDIR=$locale_dir
  export TEXTDOMAINDIR
  TEXTDOMAIN=sharutils
  export TEXTDOMAIN
  echo="$gettext_dir/gettext -s"
fi
touch -am 1231235999 $$.touch >/dev/null 2>&1
if test ! -f 1231235999 && test -f $$.touch; then
  shar_touch=touch
else
  shar_touch=:
  echo
  $echo 'WARNING: not restoring timestamps.  Consider getting and'
  $echo "installing GNU \`touch', distributed in GNU File Utilities..."
  echo
fi
rm -f 1231235999 $$.touch
#
if mkdir _sh08614; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= wmmatrix/files/md5 ==============
if test ! -d 'wmmatrix'; then
  $echo 'x -' 'creating directory' 'wmmatrix'
  mkdir 'wmmatrix'
fi
if test ! -d 'wmmatrix/files'; then
  $echo 'x -' 'creating directory' 'wmmatrix/files'
  mkdir 'wmmatrix/files'
fi
if test -f 'wmmatrix/files/md5' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'wmmatrix/files/md5' '(file already exists)'
else
  $echo 'x -' extracting 'wmmatrix/files/md5' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'wmmatrix/files/md5' &&
MD5 (wmMatrix-0.2.tar.gz) = 4e9f0c94e78ad65ea9a564fba5f7a187
SHAR_EOF
  $shar_touch -am 1013171799 'wmmatrix/files/md5' &&
  chmod 0644 'wmmatrix/files/md5' ||
  $echo 'restore of' 'wmmatrix/files/md5' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'wmmatrix/files/md5:' 'MD5 check failed'
426ec069d52404ca4a7ad911f7b13906  wmmatrix/files/md5
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'wmmatrix/files/md5'`"
    test 61 -eq "$shar_count" ||
    $echo 'wmmatrix/files/md5:' 'original size' '61,' 'current size' "$shar_count!"
  fi
fi
# ============= wmmatrix/pkg/COMMENT ==============
if test ! -d 'wmmatrix/pkg'; then
  $echo 'x -' 'creating directory' 'wmmatrix/pkg'
  mkdir 'wmmatrix/pkg'
fi
if test -f 'wmmatrix/pkg/COMMENT' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'wmmatrix/pkg/COMMENT' '(file already exists)'
else
  $echo 'x -' extracting 'wmmatrix/pkg/COMMENT' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'wmmatrix/pkg/COMMENT' &&
A DockApp that runs a version of the xmatrix screenhack
SHAR_EOF
  $shar_touch -am 1013172999 'wmmatrix/pkg/COMMENT' &&
  chmod 0644 'wmmatrix/pkg/COMMENT' ||
  $echo 'restore of' 'wmmatrix/pkg/COMMENT' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'wmmatrix/pkg/COMMENT:' 'MD5 check failed'
ddd47228f3e0af3e9ac2c9f157306e3b  wmmatrix/pkg/COMMENT
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'wmmatrix/pkg/COMMENT'`"
    test 56 -eq "$shar_count" ||
    $echo 'wmmatrix/pkg/COMMENT:' 'original size' '56,' 'current size' "$shar_count!"
  fi
fi
# ============= wmmatrix/pkg/DESCR ==============
if test -f 'wmmatrix/pkg/DESCR' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'wmmatrix/pkg/DESCR' '(file already exists)'
else
  $echo 'x -' extracting 'wmmatrix/pkg/DESCR' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'wmmatrix/pkg/DESCR' &&
A DockApp that runs a slightly modified version of Jamie Zawinski's 
xmatrix screenhack.
X
Author:
Mike Henderson <mghenderson@lanl.gov>
SHAR_EOF
  $shar_touch -am 1013172999 'wmmatrix/pkg/DESCR' &&
  chmod 0644 'wmmatrix/pkg/DESCR' ||
  $echo 'restore of' 'wmmatrix/pkg/DESCR' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'wmmatrix/pkg/DESCR:' 'MD5 check failed'
9fe70bf1dcfa7afff0f320e4cdba92ad  wmmatrix/pkg/DESCR
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'wmmatrix/pkg/DESCR'`"
    test 136 -eq "$shar_count" ||
    $echo 'wmmatrix/pkg/DESCR:' 'original size' '136,' 'current size' "$shar_count!"
  fi
fi
# ============= wmmatrix/pkg/PLIST ==============
if test -f 'wmmatrix/pkg/PLIST' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'wmmatrix/pkg/PLIST' '(file already exists)'
else
  $echo 'x -' extracting 'wmmatrix/pkg/PLIST' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'wmmatrix/pkg/PLIST' &&
bin/wmMatrix
SHAR_EOF
  $shar_touch -am 1013172299 'wmmatrix/pkg/PLIST' &&
  chmod 0644 'wmmatrix/pkg/PLIST' ||
  $echo 'restore of' 'wmmatrix/pkg/PLIST' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'wmmatrix/pkg/PLIST:' 'MD5 check failed'
d50651d0a8e944ae7c992855735f198f  wmmatrix/pkg/PLIST
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'wmmatrix/pkg/PLIST'`"
    test 13 -eq "$shar_count" ||
    $echo 'wmmatrix/pkg/PLIST:' 'original size' '13,' 'current size' "$shar_count!"
  fi
fi
# ============= wmmatrix/patches/patch-aa ==============
if test ! -d 'wmmatrix/patches'; then
  $echo 'x -' 'creating directory' 'wmmatrix/patches'
  mkdir 'wmmatrix/patches'
fi
if test -f 'wmmatrix/patches/patch-aa' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'wmmatrix/patches/patch-aa' '(file already exists)'
else
  $echo 'x -' extracting 'wmmatrix/patches/patch-aa' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'wmmatrix/patches/patch-aa' &&
--- Makefile.orig	Mon Aug 16 10:01:58 1999
+++ Makefile	Wed Oct 13 17:20:45 1999
@@ -1,7 +1,8 @@
-CC     = gcc
-CFLAGS = -O2 -Wall 
+CC     ?= gcc
+CFLAGS ?= -O2 -Wall 
+CFLAGS += -Wall 
X INCDIR = -I/usr/X11R6/include/X11 -I/usr/X11R6/include
-DESTDIR= /usr/X11R6
+DESTDIR= ${PREFIX}
X LIBDIR = -L/usr/X11R6/lib
X 
X # for Linux
SHAR_EOF
  $shar_touch -am 1013172099 'wmmatrix/patches/patch-aa' &&
  chmod 0644 'wmmatrix/patches/patch-aa' ||
  $echo 'restore of' 'wmmatrix/patches/patch-aa' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'wmmatrix/patches/patch-aa:' 'MD5 check failed'
b76d05ea3ad0eb834788b57bfe4e7976  wmmatrix/patches/patch-aa
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'wmmatrix/patches/patch-aa'`"
    test 326 -eq "$shar_count" ||
    $echo 'wmmatrix/patches/patch-aa:' 'original size' '326,' 'current size' "$shar_count!"
  fi
fi
# ============= wmmatrix/Makefile ==============
if test -f 'wmmatrix/Makefile' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'wmmatrix/Makefile' '(file already exists)'
else
  $echo 'x -' extracting 'wmmatrix/Makefile' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'wmmatrix/Makefile' &&
# New ports collection makefile for:	wmMatrix
# Version required:     0.2
# Date created:		13 October 1999
# Whom:			Brian Handy <handy@physics.montana.edu>
#
# $FreeBSD:$
X
DISTNAME=	wmMatrix-0.2
PKGNAME=	wmmatrix-0.2
CATEGORIES=	x11 windowmaker
MASTER_SITES=	http://nis-www.lanl.gov/~mgh/WindowMaker/
X
MAINTAINER=	ports@FreeBSD.org
X
LIB_DEPENDS=	Xpm.4:${PORTSDIR}/graphics/xpm
X
USE_GMAKE=	yes
USE_X_PREFIX=	yes
ALL_TARGET=	clean all
X
X.include <bsd.port.mk>
SHAR_EOF
  $shar_touch -am 1013172499 'wmmatrix/Makefile' &&
  chmod 0644 'wmmatrix/Makefile' ||
  $echo 'restore of' 'wmmatrix/Makefile' 'failed'
  if ( md5sum --help 2>&1 | grep 'sage: md5sum \[' ) >/dev/null 2>&1 \
  && ( md5sum --version 2>&1 | grep -v 'textutils 1.12' ) >/dev/null; then
    md5sum -c << SHAR_EOF >/dev/null 2>&1 \
    || $echo 'wmmatrix/Makefile:' 'MD5 check failed'
e8fa50ea762b98ce2bb4938b2a51c24a  wmmatrix/Makefile
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'wmmatrix/Makefile'`"
    test 458 -eq "$shar_count" ||
    $echo 'wmmatrix/Makefile:' 'original size' '458,' 'current size' "$shar_count!"
  fi
fi
rm -fr _sh08614
exit 0

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199910132332.RAA08741>