From root@hyperhost.net  Sat Mar 11 15:25:47 2000
Return-Path: <root@hyperhost.net>
Received: from hyperhost.net (hyperhost.net [207.159.132.249])
	by hub.freebsd.org (Postfix) with ESMTP id 4B7D337BB0D
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 11 Mar 2000 15:25:47 -0800 (PST)
	(envelope-from root@hyperhost.net)
Received: from foobar.foobar.eyep.net (postfix@p10.a8.du.radix.net [207.192.132.138])
	by hyperhost.net (8.9.3/8.9.3) with ESMTP id SAA16973
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 11 Mar 2000 18:25:44 -0500 (EST)
Received: by foobar.foobar.eyep.net (Postfix, from userid 0)
	id 2A09E138009; Sat, 11 Mar 2000 18:24:09 -0500 (EST)
Message-Id: <20000311232409.2A09E138009@foobar.foobar.eyep.net>
Date: Sat, 11 Mar 2000 18:24:09 -0500 (EST)
From: patseal@hyperhost.net
Sender: root@hyperhost.net
Reply-To: patseal@hyperhost.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: New port: boxes
X-Send-Pr-Version: 3.2

>Number:         17327
>Category:       ports
>Synopsis:       New port: boxes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 11 15:30:01 PST 2000
>Closed-Date:    Sun Apr 2 17:00:32 PDT 2000
>Last-Modified:  Sun Apr  2 17:01:07 PDT 2000
>Originator:     Patrick Seal
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:
>Description:

My first port from scratch, so please check it.
I used portlint and tested throughly on my 3.4-STABLE
box. I wasn't sure whether to put it in misc or textproc,
so I took the lead of a similar program, figlet, and put
it in misc; please tell me if I'm wrong so I can resubmit.
Too bad I missed the ports freeze :(

>How-To-Repeat:
>Fix:

# 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:
#
#       boxes
#       boxes/files
#       boxes/files/md5
#       boxes/pkg
#       boxes/pkg/COMMENT
#       boxes/pkg/DESCR
#       boxes/pkg/PLIST
#       boxes/Makefile
#       boxes/patches
#       boxes/patches/patch-aa
#       boxes/patches/patch-ab
#       boxes/patches/patch-ac
#
echo c - boxes
mkdir -p boxes > /dev/null 2>&1
echo c - boxes/files
mkdir -p boxes/files > /dev/null 2>&1
echo x - boxes/files/md5
sed 's/^X//' >boxes/files/md5 << 'END-of-boxes/files/md5'
XMD5 (boxes-1.0.src.tar.gz) = fce851c773342ea80cb746ca917448e5
END-of-boxes/files/md5
echo c - boxes/pkg
mkdir -p boxes/pkg > /dev/null 2>&1
echo x - boxes/pkg/COMMENT
sed 's/^X//' >boxes/pkg/COMMENT << 'END-of-boxes/pkg/COMMENT'
Xboxes is a text filter which draws ASCII art boxes around text.
END-of-boxes/pkg/COMMENT
echo x - boxes/pkg/DESCR
sed 's/^X//' >boxes/pkg/DESCR << 'END-of-boxes/pkg/DESCR'
X                                /*********************/ 
X   boxes draws any              /* boxes draws any   */
X   kind of boxes        ===>    /* kind of boxes     */
X   around your text!            /* around your text! */
X                                /*********************/
X
Xboxes is a text filter which can draw ASCII art boxes around its input
Xtext. These boxes may also be removed, even if they have been badly
Xdamaged by editing of the text inside. Since boxes may be open on any
Xside, boxes can also be used to create regional comments in any
Xprogramming language. With the help of an editor macro or mapping,
Xdamaged boxes can easily be repaired.
X
XWWW: http://www6.informatik.uni-erlangen.de/~tsjensen/boxes/
X
X- Patrick
Xpatseal@hyperhost.net
END-of-boxes/pkg/DESCR
echo x - boxes/pkg/PLIST
sed 's/^X//' >boxes/pkg/PLIST << 'END-of-boxes/pkg/PLIST'
Xbin/boxes
Xshare/boxes/boxes-config
X@dirrm share/boxes
END-of-boxes/pkg/PLIST
echo x - boxes/Makefile
sed 's/^X//' >boxes/Makefile << 'END-of-boxes/Makefile'
X# New ports collection makefile for:   boxes
X# Version required:    1.0
X# Date created:        3 March 2000
X# Whom:                Patrick Seal (patseal@hyperhost.net)
X#
X# $FreeBSD$
X#
X
XDISTNAME=      boxes-1.0
XCATEGORIES=    misc
XMASTER_SITES=  http://www6.informatik.uni-erlangen.de/~tsjensen/software/boxes/                                           download/ \
X                       ${MASTER_SITE_SUNSITE}
XMASTER_SITE_SUBDIR=    utils/text
XEXTRACT_SUFX=  .src.tar.gz
X
XMAINTAINER=    patseal@hyperhost.net
X
XMAN1=          boxes.1
XUSE_GMAKE=     yes
X
Xdo-build:
X       cd $(WRKSRC); $(GMAKE)
X
Xdo-install:
X       ${INSTALL_PROGRAM} ${WRKSRC}/src/boxes ${PREFIX}/bin
X       ${MKDIR} ${PREFIX}/share/boxes
X       ${INSTALL_DATA} ${WRKSRC}/boxes-config ${PREFIX}/share/boxes
X       ${INSTALL_MAN} ${WRKSRC}/doc/$(MAN1) ${PREFIX}/man/man1
X
X.include <bsd.port.mk>
END-of-boxes/Makefile
echo c - boxes/patches
mkdir -p boxes/patches > /dev/null 2>&1
echo x - boxes/patches/patch-aa
sed 's/^X//' >boxes/patches/patch-aa << 'END-of-boxes/patches/patch-aa'
X*** Makefile.orig      Sun Aug 22 07:46:23 1999
X--- Makefile   Sat Mar 11 14:06:53 2000
X***************
X*** 46,52 ****
X  
X  
X  # The following line (GLOBALCONF) is the only line you should need to edit!
X! GLOBALCONF = /usr/local/share/boxes
X  BVERSION   = 1.0
X  
X  SNAPFILE   = boxes-SNAP-$(shell date +%Y%m%d)
X--- 46,52 ----
X  
X  
X  # The following line (GLOBALCONF) is the only line you should need to edit!
X! GLOBALCONF = /usr/local/share/boxes/boxes-config
X  BVERSION   = 1.0
X  
X  SNAPFILE   = boxes-SNAP-$(shell date +%Y%m%d)
END-of-boxes/patches/patch-aa
echo x - boxes/patches/patch-ab
sed 's/^X//' >boxes/patches/patch-ab << 'END-of-boxes/patches/patch-ab'
X*** src/config.h.orig  Sat Mar 11 13:02:47 2000
X--- src/config.h       Sat Mar 11 13:03:07 2000
X***************
X*** 46,52 ****
X  #define _POSIX_SOURCE
X  #define __EXTENSIONS__
X  
X! #elif
X  
X  #define _POSIX_SOURCE
X  
X--- 46,52 ----
X  #define _POSIX_SOURCE
X  #define __EXTENSIONS__
X  
X! #else
X  
X  #define _POSIX_SOURCE
X  
END-of-boxes/patches/patch-ab
echo x - boxes/patches/patch-ac
sed 's/^X//' >boxes/patches/patch-ac << 'END-of-boxes/patches/patch-ac'
X*** src/lexer.l.orig   Sat Mar 11 13:02:56 2000
X--- src/lexer.l        Sat Mar 11 13:03:14 2000
X***************
X*** 97,102 ****
X--- 97,103 ----
X  
X  #include "config.h"
X  #include <string.h>
X+ #include <sys/types.h>
X  #include <sys/stat.h>
X  #include <unistd.h>
X  #include "shape.h"
END-of-boxes/patches/patch-ac
exit


>Release-Note:
>Audit-Trail:

From: Will Andrews <andrews@technologist.com>
To: patseal@hyperhost.net
Cc: FreeBSD-gnats-submit@FreeBSD.ORG
Subject: Re: ports/17327: New port: boxes
Date: Sat, 11 Mar 2000 19:00:40 -0500

 On Sat, Mar 11, 2000 at 06:24:09PM -0500, patseal@hyperhost.net wrote:
 > My first port from scratch, so please check it.
 
 Sure! :-)
 
 > Too bad I missed the ports freeze :(
 
 Oh well, there's always 4.1. ;)
 
 > X# New ports collection makefile for:   boxes
 > X# Version required:    1.0
 > X# Date created:        3 March 2000
 > X# Whom:                Patrick Seal (patseal@hyperhost.net)
 > X#
 > X# $FreeBSD$
 > X#
 > X
 > XDISTNAME=      boxes-1.0
 > XCATEGORIES=    misc
 > XMASTER_SITES=  http://www6.informatik.uni-erlangen.de/~tsjensen/software/boxes/                                           download/ \
 > X                       ${MASTER_SITE_SUNSITE}
 
 Typo?
 
 > XMASTER_SITE_SUBDIR=    utils/text
 > XEXTRACT_SUFX=  .src.tar.gz
 > X
 > XMAINTAINER=    patseal@hyperhost.net
 > X
 > XMAN1=          boxes.1
 > XUSE_GMAKE=     yes
 > X
 > Xdo-build:
 > X       cd $(WRKSRC); $(GMAKE)
 
 Why is this necessary? It should build without the target being specified.
 
 -- 
 Will Andrews <andrews@technologist.com>
 GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
 ?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
 G++>+++ e->++++ h! r-->+++ y?
 
State-Changed-From-To: open->closed 
State-Changed-By: mharo 
State-Changed-When: Sun Apr 2 17:00:32 PDT 2000 
State-Changed-Why:  
Port added to ports tree. 
Thanks! 
>Unformatted:
 
