From owner-ports-jp@jp.freebsd.org  Sun Jan 30 01:26:29 2000
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id BAA64427;
	Sun, 30 Jan 2000 01:26:29 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from oxygen.yy.ics.keio.ac.jp (oxygen.yy.ics.keio.ac.jp [131.113.47.3])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id BAA64422
	for <ports-jp@jp.FreeBSD.org>; Sun, 30 Jan 2000 01:26:28 +0900 (JST)
	(envelope-from sanpei@sanpei.org)
Received: from lavender.yy.cs.keio.ac.jp (ppp132.dialup.st.keio.ac.jp [131.113.27.132])
	by oxygen.yy.ics.keio.ac.jp (8.9.3+3.2W/3.7W) with ESMTP id BAA22281;
	Sun, 30 Jan 2000 01:26:19 +0900 (JST)
	(envelope-from sanpei@sanpei.org)
Received: (from sanpei@localhost)
	by lavender.yy.cs.keio.ac.jp (8.9.3/3.7W) id BAA23544;
	Sun, 30 Jan 2000 01:26:14 +0900 (JST)
Message-Id: <200001291626.BAA23544@lavender.yy.cs.keio.ac.jp>
To: ports-jp@jp.FreeBSD.org
X-Mailer: Mew version 1.70 on Emacs 19.34.1 / Mule 2.3
Mime-Version: 1.0
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit
Date: Sun, 30 Jan 2000 01:26:07 +0900
From: MIHIRA Sanpei Yoshiro <sanpei@sanpei.org>
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990727
X-Sequence: ports-jp 8695
Subject: [ports-jp 8695] new ports: print/poster (resize a postscript image)
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: sanpei@sanpei.org

  send-pr $BA0$K(B beta $B%F%9%H$r7s$M$FEj9F$7$^$9(B.

  A4 $B%5%$%:$N(B PostScript $B%U%!%$%k$r(B, A4 $BFsKg$K3HBg$9$k$J$I(B,
PostScript $B$r3HBg=L>.$G$-$k%=%U%H$G$9(B.

MIHIRA Yoshiro

#!/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 2000-01-30 01:19 JST by <sanpei@lavender.yy.cs.keio.ac.jp>.
# Source directory was `/tmp/q/ports/print'.
#
# Existing files will *not* be overwritten unless `-c' is specified.
#
# This shar contains:
# length mode       name
# ------ ---------- ------------------------------------------
#     74 -rw-r--r-- poster/pkg/COMMENT
#    433 -rw-r--r-- poster/pkg/DESCR
#     11 -rw-r--r-- poster/pkg/PLIST
#    521 -rw-r--r-- poster/Makefile
#     55 -rw-r--r-- poster/files/md5
#    311 -rw-r--r-- poster/patches/patch-aa
#
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 _sh23397; then
  $echo 'x -' 'creating lock directory'
else
  $echo 'failed to create lock directory'
  exit 1
fi
# ============= poster/pkg/COMMENT ==============
if test ! -d 'poster'; then
  $echo 'x -' 'creating directory' 'poster'
  mkdir 'poster'
fi
if test ! -d 'poster/pkg'; then
  $echo 'x -' 'creating directory' 'poster/pkg'
  mkdir 'poster/pkg'
fi
if test -f 'poster/pkg/COMMENT' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'poster/pkg/COMMENT' '(file already exists)'
else
  $echo 'x -' extracting 'poster/pkg/COMMENT' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'poster/pkg/COMMENT' &&
resize a postscript image to print on larger media and/or multiple sheets
SHAR_EOF
  $shar_touch -am 01161102100 'poster/pkg/COMMENT' &&
  chmod 0644 'poster/pkg/COMMENT' ||
  $echo 'restore of' 'poster/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 'poster/pkg/COMMENT:' 'MD5 check failed'
86b86faf96ed48ae95a44972fa783dab  poster/pkg/COMMENT
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'poster/pkg/COMMENT'`"
    test 74 -eq "$shar_count" ||
    $echo 'poster/pkg/COMMENT:' 'original size' '74,' 'current size' "$shar_count!"
  fi
fi
# ============= poster/pkg/DESCR ==============
if test -f 'poster/pkg/DESCR' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'poster/pkg/DESCR' '(file already exists)'
else
  $echo 'x -' extracting 'poster/pkg/DESCR' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'poster/pkg/DESCR' &&
Here you have the new release of `poster', to scale postscript
images to a larger size, and print them on larger media and/or
tile them to print on multiple sheets.
With respect to the earlier release:
- support is added for foreign (Non European A*) media sizes.
- options for scaling became more flexible
- original restrictions on white margins in your drawing are removed.
For a complete explanation see the accompanying manual.
SHAR_EOF
  $shar_touch -am 01161102100 'poster/pkg/DESCR' &&
  chmod 0644 'poster/pkg/DESCR' ||
  $echo 'restore of' 'poster/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 'poster/pkg/DESCR:' 'MD5 check failed'
478e3086e742e50dc995d5b9241bfc55  poster/pkg/DESCR
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'poster/pkg/DESCR'`"
    test 433 -eq "$shar_count" ||
    $echo 'poster/pkg/DESCR:' 'original size' '433,' 'current size' "$shar_count!"
  fi
fi
# ============= poster/pkg/PLIST ==============
if test -f 'poster/pkg/PLIST' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'poster/pkg/PLIST' '(file already exists)'
else
  $echo 'x -' extracting 'poster/pkg/PLIST' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'poster/pkg/PLIST' &&
bin/poster
SHAR_EOF
  $shar_touch -am 01161055100 'poster/pkg/PLIST' &&
  chmod 0644 'poster/pkg/PLIST' ||
  $echo 'restore of' 'poster/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 'poster/pkg/PLIST:' 'MD5 check failed'
f0a3fa463f0b341f8e06293326106688  poster/pkg/PLIST
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'poster/pkg/PLIST'`"
    test 11 -eq "$shar_count" ||
    $echo 'poster/pkg/PLIST:' 'original size' '11,' 'current size' "$shar_count!"
  fi
fi
# ============= poster/Makefile ==============
if test -f 'poster/Makefile' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'poster/Makefile' '(file already exists)'
else
  $echo 'x -' extracting 'poster/Makefile' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'poster/Makefile' &&
# New ports collection makefile for:	poster
# Version required:	1.0
# Date created:		15 January 2000
# Whom:			Yoshiro MIHIRA <sanpei@sanpei.org>
#
# $FreeBSD$
#
X
DISTNAME=	poster
PKGNAME=	poster-1.0
CATEGORIES=	print
MASTER_SITES=	ftp://ftp.ics.ele.tue.nl/pub/users/jos/poster/
X
MAINTAINER=	sanpei@sanpei.org
X
ALL_TARGET=	poster
NO_WRKSUBDIR=	yes
X
MAN1=		poster.1
X
do-install:
X	@${INSTALL_PROGRAM} ${WRKSRC}/${DISTNAME} ${PREFIX}/bin
X	@${INSTALL_DATA} ${WRKSRC}/${DISTNAME}.1 ${PREFIX}/man/man1/
X
X.include <bsd.port.mk>
SHAR_EOF
  $shar_touch -am 01161101100 'poster/Makefile' &&
  chmod 0644 'poster/Makefile' ||
  $echo 'restore of' 'poster/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 'poster/Makefile:' 'MD5 check failed'
45b46b2eda355e5d038d4d695dbaa127  poster/Makefile
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'poster/Makefile'`"
    test 521 -eq "$shar_count" ||
    $echo 'poster/Makefile:' 'original size' '521,' 'current size' "$shar_count!"
  fi
fi
# ============= poster/files/md5 ==============
if test ! -d 'poster/files'; then
  $echo 'x -' 'creating directory' 'poster/files'
  mkdir 'poster/files'
fi
if test -f 'poster/files/md5' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'poster/files/md5' '(file already exists)'
else
  $echo 'x -' extracting 'poster/files/md5' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'poster/files/md5' &&
MD5 (poster.tar.gz) = d00b3b1c7c239b2eb205637f8a5a0868
SHAR_EOF
  $shar_touch -am 01161045100 'poster/files/md5' &&
  chmod 0644 'poster/files/md5' ||
  $echo 'restore of' 'poster/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 'poster/files/md5:' 'MD5 check failed'
5a12ce8373c779f82632ba272c0a0b94  poster/files/md5
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'poster/files/md5'`"
    test 55 -eq "$shar_count" ||
    $echo 'poster/files/md5:' 'original size' '55,' 'current size' "$shar_count!"
  fi
fi
# ============= poster/patches/patch-aa ==============
if test ! -d 'poster/patches'; then
  $echo 'x -' 'creating directory' 'poster/patches'
  mkdir 'poster/patches'
fi
if test -f 'poster/patches/patch-aa' && test "$first_param" != -c; then
  $echo 'x -' SKIPPING 'poster/patches/patch-aa' '(file already exists)'
else
  $echo 'x -' extracting 'poster/patches/patch-aa' '(text)'
  sed 's/^X//' << 'SHAR_EOF' > 'poster/patches/patch-aa' &&
--- poster.c.org	Thu Apr 29 00:22:46 1999
+++ poster.c	Sun Jan 30 00:48:11 2000
@@ -570,7 +570,7 @@
X 
X 	got_bb = 0;
X 	dsc_cont = inbody = gotall = level = atend = 0;
-	while (!gotall && (gets(buf) != NULL))
+	while (!gotall && (fgets(buf, BUFSIZE, stdin) != NULL))
X 	{	
X 		if (buf[0] != '%')
X 		{	dsc_cont = 0;
SHAR_EOF
  $shar_touch -am 01300052100 'poster/patches/patch-aa' &&
  chmod 0644 'poster/patches/patch-aa' ||
  $echo 'restore of' 'poster/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 'poster/patches/patch-aa:' 'MD5 check failed'
b3d3be94e30dfc61bd03621e1b0c65f5  poster/patches/patch-aa
SHAR_EOF
  else
    shar_count="`LC_ALL= LC_CTYPE= LANG= wc -c < 'poster/patches/patch-aa'`"
    test 311 -eq "$shar_count" ||
    $echo 'poster/patches/patch-aa:' 'original size' '311,' 'current size' "$shar_count!"
  fi
fi
rm -fr _sh23397
exit 0
