Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2000 18:24:09 -0500 (EST)
From:      patseal@hyperhost.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/17327: New port: boxes
Message-ID:  <20000311232409.2A09E138009@foobar.foobar.eyep.net>

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

>Number:         17327
>Category:       ports
>Synopsis:       New port: boxes
>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:   Sat Mar 11 15:30:01 PST 2000
>Closed-Date:
>Last-Modified:
>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:
>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?20000311232409.2A09E138009>