Date: Sat, 20 Jun 2009 13:02:19 -0700 From: Charlie Kester <corky1951@comcast.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/135869: [NEW PORT] sysutils/moreutils: additional utilities for the commandline Message-ID: <20090620210455.21BB88FC1C@mx1.freebsd.org> Resent-Message-ID: <200906202110.n5KLA4DE096336@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 135869 >Category: ports >Synopsis: [NEW PORT] sysutils/moreutils: additional utilities for the commandline >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jun 20 21:10:04 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Charlie Kester >Release: FreeBSD 7.2-RELEASE i386 >Organization: >Environment: System: FreeBSD atom.local 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Mon May 4 15:50:49 PDT 2009 root@atom.local:/usr/obj/usr/src/sys/ATOM i386 >Description: moreutils is a growing collection of the unix tools that nobody thought to write thirty years ago. So far, it includes the following utilities: - sponge: soak up standard input and write to a file - ifne: run a program if the standard input is not empty - vidir: edit a directory in your text editor - vipe: insert a text editor into a pipe - ts: timestamp standard input - combine: combine the lines in two files using boolean operations - pee: tee standard input to pipes - zrun: automatically uncompress arguments to command - mispipe: pipe two commands, returning the exit status of the first - isutf8: check if a file or standard input is utf-8 - lckdo: execute a program with a lock held WWW: http://kitenet.net/~joey/code/moreutils/ >How-To-Repeat: >Fix: --- moreutils-0.35.shar begins here --- # 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: # # moreutils # moreutils/Makefile # moreutils/distinfo # moreutils/pkg-descr # moreutils/files # moreutils/files/patch-Makefile # echo c - moreutils mkdir -p moreutils > /dev/null 2>&1 echo x - moreutils/Makefile sed 's/^X//' >moreutils/Makefile << '49cb40222a747bf36ae822162f5d6d9c' X# ex:ts=8 X# Ports collection makefile for: moreutils X# Date created: 16 June 2009 X# Whom: Charlie Kester <corky1951@comcast.net> X# X# $FreeBSD$ X# X XPORTNAME= moreutils XPORTVERSION= 0.35 XCATEGORIES= sysutils XMASTER_SITES= ${MASTER_SITE_DEBIAN_POOL} XDISTNAME= ${PORTNAME}_${PORTVERSION} X XMAINTAINER= corky1951@comcast.net XCOMMENT= Additional Unix utilities X X.if !defined(NO_INSTALL_MANPAGES) XBUILD_DEPENDS= docbook2man:${PORTSDIR}/textproc/docbook2X \ X ${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd:${PORTSDIR}/textproc/docbook-xml-440 X.endif X XUSE_PERL5= yes XUSE_GMAKE= yes X XPLIST_FILES= bin/combine \ X bin/ifne \ X bin/isutf8 \ X bin/lckdo \ X bin/mispipe \ X bin/pee \ X bin/sponge \ X bin/ts \ X bin/vidir \ X bin/vipe \ X bin/zrun X XALL_TARGET= bins X XWRKSRC= ${WRKDIR}/${PORTNAME} X X.if !defined(NO_INSTALL_MANPAGES) XMAN1= combine.1 \ X ifne.1 \ X isutf8.1 \ X lckdo.1 \ X mispipe.1 \ X pee.1 \ X sponge.1 \ X ts.1 \ X vidir.1 \ X vipe.1 \ X zrun.1 X XALL_TARGET+= mans XMANCOMPRESSED= no X X# portlint will warn about the next line, but we need it this way XOLD_DTD= /usr/share/xml/docbook/schema/dtd/4.4/docbookx.dtd XNEW_DTD= ${LOCALBASE}/share/xml/docbook/4.4/docbookx.dtd Xpost-patch: X @${FIND} ${WRKSRC} -type f -name "*.docbook" | ${XARGS} -n 7 -x ${REINPLACE_CMD} -E -e 's|${OLD_DTD}|${NEW_DTD}|g' X Xpost-install: X.for manpage in ${MAN1} X ${INSTALL_MAN} ${WRKSRC}/${manpage} ${PREFIX}/man/man1 X.endfor X X.endif X X.include <bsd.port.mk> 49cb40222a747bf36ae822162f5d6d9c echo x - moreutils/distinfo sed 's/^X//' >moreutils/distinfo << '51239301fe59dada1dd2b45eb8b7c85d' XMD5 (moreutils_0.35.tar.gz) = e3089831539284f740f0180ec589d079 XSHA256 (moreutils_0.35.tar.gz) = 8ac8467171c099a1c5b661f02286d59ba264c2034c77a30832015cc68f62ed2e XSIZE (moreutils_0.35.tar.gz) = 37009 51239301fe59dada1dd2b45eb8b7c85d echo x - moreutils/pkg-descr sed 's/^X//' >moreutils/pkg-descr << 'cfa988c434b98ab6e8e98e67a618b055' Xmoreutils is a growing collection of the unix tools that nobody thought to Xwrite thirty years ago. X XSo far, it includes the following utilities: X X - sponge: soak up standard input and write to a file X - ifne: run a program if the standard input is not empty X - vidir: edit a directory in your text editor X - vipe: insert a text editor into a pipe X - ts: timestamp standard input X - combine: combine the lines in two files using boolean operations X - pee: tee standard input to pipes X - zrun: automatically uncompress arguments to command X - mispipe: pipe two commands, returning the exit status of the first X - isutf8: check if a file or standard input is utf-8 X - lckdo: execute a program with a lock held X XWWW: http://kitenet.net/~joey/code/moreutils/ cfa988c434b98ab6e8e98e67a618b055 echo c - moreutils/files mkdir -p moreutils/files > /dev/null 2>&1 echo x - moreutils/files/patch-Makefile sed 's/^X//' >moreutils/files/patch-Makefile << '236281f7eae9a6fa2910108f1b28ba21' X--- Makefile.orig 2009-05-05 12:09:22.000000000 -0700 X+++ Makefile 2009-06-20 07:59:27.000000000 -0700 X@@ -1,24 +1,24 @@ X-BINS=isutf8 ifdata ifne pee sponge mispipe lckdo X+BINS=isutf8 ifne pee sponge mispipe lckdo X PERLSCRIPTS=vidir vipe ts combine zrun X-MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifdata.1 ifne.1 pee.1 zrun.1 mispipe.1 lckdo.1 X+MANS=sponge.1 vidir.1 vipe.1 isutf8.1 ts.1 combine.1 ifne.1 pee.1 zrun.1 mispipe.1 lckdo.1 X CFLAGS=-O2 -g -Wall X INSTALL_BIN?=install -s X-PREFIX=/usr X X-DOCBOOK2XMAN=docbook2x-man X+DOCBOOK2XMAN=docbook2man X X all: $(BINS) $(MANS) X X+bins: $(BINS) X+ X+mans: $(MANS) X+ X clean: X rm -f $(BINS) $(MANS) X X install: X- mkdir -p $(DESTDIR)$(PREFIX)/bin X- $(INSTALL_BIN) $(BINS) $(DESTDIR)$(PREFIX)/bin X- install $(PERLSCRIPTS) $(DESTDIR)$(PREFIX)/bin X- X- mkdir -p $(DESTDIR)$(PREFIX)/share/man/man1 X- install $(MANS) $(DESTDIR)$(PREFIX)/share/man/man1 X+ mkdir -p $(PREFIX)/bin X+ $(INSTALL_BIN) $(BINS) $(PREFIX)/bin X+ install $(PERLSCRIPTS) $(PREFIX)/bin X X check: isutf8 X ./check-isutf8 236281f7eae9a6fa2910108f1b28ba21 exit --- moreutils-0.35.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090620210455.21BB88FC1C>