Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Dec 2001 11:55:08 -0500 (EST)
From:      Alan Eldridge <ports@geeksrus.net>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33171: new port: misc/p5-kenny
Message-ID:  <200112251655.fBPGt8N88403@wwweasel.geeksrus.net>

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

>Number:         33171
>Category:       ports
>Synopsis:       new port: misc/p5-kenny
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 25 09:00:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Alan Eldridge
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Geeksrus.NET
>Environment:
System: FreeBSD wwweasel.geeksrus.net 4.4-STABLE FreeBSD 4.4-STABLE #0: Sun Dec 2 19:14:12 EST 2001 root@wwweasel.geeksrus.net:/usr/obj/usr/src/sys/WWWEASEL i386

>Description:

Converts text to and from KennySpeak.

Mfpppffpp mmfppffmfpmfmpm mmmpppffmppfpppmpp pmfmfffpmmpp
fppmfffmpmfpppffmffmp mfffmp?

>How-To-Repeat:

>Fix:

#!/bin/sh
# This is a shell archive (produced by GNU sharutils 4.2.1).
# 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 2001-12-25 11:51 EST by <alane@wwweasel.geeksrus.net>.
# Source directory was `/home/alane/FreeBSD/local/ports/misc'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#    782 (null) -rw-r--r--
#    259 (null) -rw-r--r--
#     37 (null) -rw-r--r--
#     10 (null) -rw-r--r--
#     57 (null) -rw-r--r--
#
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
if touch -am -t 200112312359.59 $$.touch >/dev/null 2>&1 && test ! -f 200112312359.59 -a -f $$.touch; then
  shar_touch='touch -am -t $1$2$3$4$5$6.$7 "$8"'
elif touch -am 123123592001.59 $$.touch >/dev/null 2>&1 && test ! -f 123123592001.59 -a ! -f 123123592001.5 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$1$2.$7 "$8"'
elif touch -am 1231235901 $$.touch >/dev/null 2>&1 && test ! -f 1231235901 -a -f $$.touch; then
  shar_touch='touch -am $3$4$5$6$2 "$8"'
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 200112312359.59 123123592001.59 123123592001.5 1231235901 $$.touch
#
if mkdir _sh88275; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= p5-kenny/Makefile ==============
if test ! -d 'p5-kenny'; then
  $echo 'x -' 'creating directory' 'p5-kenny'
  mkdir 'p5-kenny'
fi
if test -f 'p5-kenny/Makefile' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'p5-kenny/Makefile' '(file already exists)'
else
  $echo 'x -' extracting 'p5-kenny/Makefile' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'p5-kenny/Makefile' &&
# ex:ts=8
#
# New ports collection makefile for:	kenny
# Date created:		2001/12/25
# Whom:			Alan E ports@geeksrus.net
#
# $FreeBSD$
#
X
PORTNAME=	kenny
PORTVERSION=	1.6
CATEGORIES=	misc
MASTER_SITES=	http://www.h.shuttle.de/mitch/stuff/
PKGNAMEPREFIX=	p5-
DISTNAME=	kenny.pl-${PORTVERSION}
EXTRACT_SUFX=	.gz
EXTRACT_ONLY=
X
MAINTAINER=	ports@geeksrus.net
X
USE_PERL5=	yes
NO_BUILD=	yes
NO_WRKSUBDIR=	yes
X
MAN1=		kenny.1
X
program=${PREFIX}/bin/kenny
manpage=${MANPREFIX}/man/man1/kenny.1
X
do-install:
X	${GUNZIP_CMD} -c ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} \
X		> ${program}
X	${CHOWN} ${BINOWN}:${BINGRP} ${program}
X	${CHMOD} ${BINMODE} ${program}
X	pod2man ${program} > ${manpage}
X	${CHOWN} ${MANOWN}:${MANGRP} ${manpage}
X	${CHMOD} ${MANMODE} ${manpage}
X
X.include <bsd.port.mk>
X
#
#EOF
SHAR_EOF
  (set 20 01 12 25 11 46 49 'p5-kenny/Makefile'; eval "$shar_touch") &&
  chmod 0644 'p5-kenny/Makefile' ||
  $echo 'restore of' 'p5-kenny/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 'p5-kenny/Makefile:' 'MD5 check failed'
ca462fe06253d35e8215d430140eff10  p5-kenny/Makefile
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'p5-kenny/Makefile'`"
    test 782 -eq "$shar_count" ||
    $echo 'p5-kenny/Makefile:' 'original size' '782,' 'current size' "$shar_count!"
  fi
fi
# ============= p5-kenny/pkg-descr ==============
if test -f 'p5-kenny/pkg-descr' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'p5-kenny/pkg-descr' '(file already exists)'
else
  $echo 'x -' extracting 'p5-kenny/pkg-descr' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'p5-kenny/pkg-descr' &&
kenny.pl translates a given text from or to KennySpeak.
KennySpeak looks like this:
X
X	"Ppfmfp ppmffm mfmppfmpm, fmpmfpmppffm'fpmmpp
X        pmpmffpmfpmfmppmpm Pmpmppppppppffm!"
X
KennySpeak was invented by Kohan Ikin. kenny.pl was written by 
Christian Garbs.
SHAR_EOF
  (set 20 01 12 25 11 33 35 'p5-kenny/pkg-descr'; eval "$shar_touch") &&
  chmod 0644 'p5-kenny/pkg-descr' ||
  $echo 'restore of' 'p5-kenny/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 'p5-kenny/pkg-descr:' 'MD5 check failed'
5415a37691212b6f63d2735036ad164f  p5-kenny/pkg-descr
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'p5-kenny/pkg-descr'`"
    test 259 -eq "$shar_count" ||
    $echo 'p5-kenny/pkg-descr:' 'original size' '259,' 'current size' "$shar_count!"
  fi
fi
# ============= p5-kenny/pkg-comment ==============
if test -f 'p5-kenny/pkg-comment' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'p5-kenny/pkg-comment' '(file already exists)'
else
  $echo 'x -' extracting 'p5-kenny/pkg-comment' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'p5-kenny/pkg-comment' &&
Translate text to or from KennySpeak
SHAR_EOF
  (set 20 01 12 25 11 08 14 'p5-kenny/pkg-comment'; eval "$shar_touch") &&
  chmod 0644 'p5-kenny/pkg-comment' ||
  $echo 'restore of' 'p5-kenny/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 'p5-kenny/pkg-comment:' 'MD5 check failed'
860c7186d56054c04b764e9f038253db  p5-kenny/pkg-comment
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'p5-kenny/pkg-comment'`"
    test 37 -eq "$shar_count" ||
    $echo 'p5-kenny/pkg-comment:' 'original size' '37,' 'current size' "$shar_count!"
  fi
fi
# ============= p5-kenny/pkg-plist ==============
if test -f 'p5-kenny/pkg-plist' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'p5-kenny/pkg-plist' '(file already exists)'
else
  $echo 'x -' extracting 'p5-kenny/pkg-plist' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'p5-kenny/pkg-plist' &&
bin/kenny
SHAR_EOF
  (set 20 01 12 25 11 35 17 'p5-kenny/pkg-plist'; eval "$shar_touch") &&
  chmod 0644 'p5-kenny/pkg-plist' ||
  $echo 'restore of' 'p5-kenny/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 'p5-kenny/pkg-plist:' 'MD5 check failed'
11405ce7da350fbd33d5390d689b5f4d  p5-kenny/pkg-plist
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'p5-kenny/pkg-plist'`"
    test 10 -eq "$shar_count" ||
    $echo 'p5-kenny/pkg-plist:' 'original size' '10,' 'current size' "$shar_count!"
  fi
fi
# ============= p5-kenny/distinfo ==============
if test -f 'p5-kenny/distinfo' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'p5-kenny/distinfo' '(file already exists)'
else
  $echo 'x -' extracting 'p5-kenny/distinfo' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'p5-kenny/distinfo' &&
MD5 (kenny.pl-1.6.gz) = 49c51ed4a33cd475cb4add69acfc46bf
SHAR_EOF
  (set 20 01 12 25 11 29 04 'p5-kenny/distinfo'; eval "$shar_touch") &&
  chmod 0644 'p5-kenny/distinfo' ||
  $echo 'restore of' 'p5-kenny/distinfo' '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 'p5-kenny/distinfo:' 'MD5 check failed'
d8009193b968370c9939f20bc87770e1  p5-kenny/distinfo
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'p5-kenny/distinfo'`"
    test 57 -eq "$shar_count" ||
    $echo 'p5-kenny/distinfo:' 'original size' '57,' 'current size' "$shar_count!"
  fi
fi
rm -fr _sh88275
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?200112251655.fBPGt8N88403>