Subject: pkg/20771: new pkgsrc: GNU ed(1) -- editors/ed
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/17/2003 12:28:42
>Number: 20771
>Category: pkg
>Synopsis: new pkgsrc: GNU ed(1) -- editors/ed
>Confidential: yes
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Mon Mar 17 12:29:01 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6
>Organization:
http://bsd.reedmedia.net/
>Environment:
System: NetBSD rainier.reedmedia.net 1.6 NetBSD 1.6 (JCR-20020927) #3: Sat Sep 28 13:40:20 PDT 2002 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/JCR-20020927 i386
Architecture: i386
Machine: i386
>Description:
Please add a editors/ed package. A shell archive is below.
-Maybe should be called ged instead of ed?
-Need to make sure the info document is properly registered.
>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:
#
# editors/ed
# editors/ed/Makefile
# editors/ed/PLIST
# editors/ed/distinfo
# editors/ed/DESCR
#
echo c - editors/ed
mkdir -p editors/ed > /dev/null 2>&1
echo x - editors/ed/Makefile
sed 's/^X//' >editors/ed/Makefile << 'END-of-editors/ed/Makefile'
X# $ NetBSD $
X
X# todo: maybe red shouldn't be installed as gred??
X
XDISTNAME= ed-0.2
XCATEGORIES= editors
XMASTER_SITES= ${MASTER_SITE_GNU:=ed/}
X
XMAINTAINER= packages@netbsd.org
XHOMEPAGE= http://www.gnu.org/software/ed/ed.html
XCOMMENT= GNU version of line-oriented text editor
X
XGNU_CONFIGURE= YES
X
X.include "../../mk/bsd.prefs.mk"
X
X.if defined(GNU_PROGRAM_PREFIX)
X# the ./configure accepts --program-prefix, but doesn't use
XMAKE_ENV+= binprefix="${GNU_PROGRAM_PREFIX}"
X.endif
XPLIST_SUBST+= GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX}
XBUILD_DEFS+= GNU_PROGRAM_PREFIX
X
X.include "../../mk/texinfo.mk"
X.include "../../mk/bsd.pkg.mk"
END-of-editors/ed/Makefile
echo x - editors/ed/PLIST
sed 's/^X//' >editors/ed/PLIST << 'END-of-editors/ed/PLIST'
X@comment $NetBSD$
Xbin/${GNU_PROGRAM_PREFIX}ed
Xbin/${GNU_PROGRAM_PREFIX}red
X@unexec ${INSTALL_INFO} --delete --info-dir=%D/info %D/info/ed.info
Xinfo/ed.info
X@exec ${INSTALL_INFO} --info-dir=%D/info %D/info/ed.info
Xman/man1/${GNU_PROGRAM_PREFIX}ed.1
Xman/man1/${GNU_PROGRAM_PREFIX}red.1
END-of-editors/ed/PLIST
echo x - editors/ed/distinfo
sed 's/^X//' >editors/ed/distinfo << 'END-of-editors/ed/distinfo'
X$NetBSD$
X
XSHA1 (ed-0.2.tar.gz) = abb61231a3baeb988b145ffe97cdbaea8f651d93
XSize (ed-0.2.tar.gz) = 185913 bytes
END-of-editors/ed/distinfo
echo x - editors/ed/DESCR
sed 's/^X//' >editors/ed/DESCR << 'END-of-editors/ed/DESCR'
XThis is the GNU version of ed(1).
X
Xed is a line-oriented text editor. It is used to create, display,
Xmodify and otherwise manipulate text files.
X
XThis also includes a restricted ed, which can only edit files in the
Xcurrent directory and cannot execute shell commands.
END-of-editors/ed/DESCR
exit
>Release-Note:
>Audit-Trail:
>Unformatted: