Date: Thu, 8 Sep 2005 06:36:16 -0500 (CDT) From: Erik Greenwald <erik@smluc.org> To: FreeBSD-gnats-submit@FreeBSD.org Cc: erik@math.missouristate.edu Subject: ports/85865: New Port: textproc/permute "generate all permutations of lines from stdin" Message-ID: <20050908113616.52CF71CE48@phoenix.smluc.org> Resent-Message-ID: <200509081140.j88Be5gH075864@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 85865 >Category: ports >Synopsis: New Port: textproc/permute "generate all permutations of lines from stdin" >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: Thu Sep 08 11:40:04 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Erik Greenwald >Release: FreeBSD 5.4-RELEASE-p6 i386 >Organization: >Environment: System: FreeBSD fenris 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #3: Thu Aug 11 00:13:25 EDT 2005 root@fenris:/usr/obj/usr/src/sys/FENRIS i386 >Description: >How-To-Repeat: >Fix: --- textproc-permute.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: # # textproc/permute/pkg-descr # textproc/permute/distinfo # textproc/permute/Makefile # textproc/permute/files/patch-permute.cpp # textproc/permute/files/patch-Makefile # echo x - textproc/permute/pkg-descr sed 's/^X//' >textproc/permute/pkg-descr << 'END-of-textproc/permute/pkg-descr' XPermute is a simple program to read lines from standard input and Xgenerate all possible permutations of those lines. X XWWW: http://pigseye.kennesaw.edu/~rbentley/ END-of-textproc/permute/pkg-descr echo x - textproc/permute/distinfo sed 's/^X//' >textproc/permute/distinfo << 'END-of-textproc/permute/distinfo' XMD5 (permute-1.0.tar.gz) = 604479ddd6087f3f0b7c8ad12a9a95f5 XSIZE (permute-1.0.tar.gz) = 10489 END-of-textproc/permute/distinfo echo x - textproc/permute/Makefile sed 's/^X//' >textproc/permute/Makefile << 'END-of-textproc/permute/Makefile' X# New ports collection makefile for: permute X# Date created: Wed Aug 07 2005 X# Whom: erik@smluc.org X# X# $FreeBSD$ X# X XPORTNAME= permute XPORTVERSION= 1.0 XCATEGORIES= textproc XMASTER_SITES= http://pigseye.kennesaw.edu/~rbentley/ X XMAINTAINER= erik@smluc.org XCOMMENT= Generate all permutations of lines from stdin X XPLIST_FILES= bin/${PORTNAME} XWRKSRC= ${WRKDIR}/${PORTNAME} X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin X X.include <bsd.port.mk> END-of-textproc/permute/Makefile echo x - textproc/permute/files/patch-permute.cpp sed 's/^X//' >textproc/permute/files/patch-permute.cpp << 'END-of-textproc/permute/files/patch-permute.cpp' X--- permute.cpp.orig Fri Jul 14 14:51:01 2000 X+++ permute.cpp Thu Sep 8 07:07:31 2005 X@@ -18,8 +18,10 @@ X * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA X */ X #include <assert.h> X-#include <iostream.h> X-#include <string.h> X+#include <iostream> X+#include <string> X+ X+using namespace std; X X //============================================================================= X // END-of-textproc/permute/files/patch-permute.cpp echo x - textproc/permute/files/patch-Makefile sed 's/^X//' >textproc/permute/files/patch-Makefile << 'END-of-textproc/permute/files/patch-Makefile' X--- Makefile.orig Fri Jul 14 14:51:01 2000 X+++ Makefile Thu Sep 8 07:24:24 2005 X@@ -1,3 +1,3 @@ X+all: permute X permute: permute.cpp X- g++ -o permute permute.cpp X- strip permute X+ ${CXX} ${CXXFLAGS} -o permute permute.cpp END-of-textproc/permute/files/patch-Makefile exit --- textproc-permute.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?20050908113616.52CF71CE48>