From owner-freebsd-ports Sat Jun 24 13:10: 9 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id D5FAF37BB9B for ; Sat, 24 Jun 2000 13:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id NAA71534; Sat, 24 Jun 2000 13:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id F368F37BB5F for ; Sat, 24 Jun 2000 13:00:27 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from magnesium.scientia.demon.co.uk ([192.168.91.34] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 135uYE-000EHx-00 for FreeBSD-gnats-submit@freebsd.org; Sat, 24 Jun 2000 19:21:06 +0100 Received: (from ben) by magnesium.scientia.demon.co.uk (Exim 3.15 #1) id 135uYD-000OXq-00 for FreeBSD-gnats-submit@freebsd.org; Sat, 24 Jun 2000 19:21:05 +0100 Message-Id: Date: Sat, 24 Jun 2000 19:21:05 +0100 From: Ben Smithurst Reply-To: ben@scientia.demon.co.uk To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/19492: new port: wordplay, an anagram generator Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19492 >Category: ports >Synopsis: new port: wordplay, an anagram generator >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 Jun 24 13:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Ben Smithurst >Release: FreeBSD 3.4-STABLE i386 >Organization: >Environment: >Description: This is a program written in ANSI C that anagrams a given string. It has its own word file, but allows you to use a different one. >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: # # wordplay # wordplay/files # wordplay/files/md5 # wordplay/Makefile # wordplay/pkg # wordplay/pkg/PLIST # wordplay/pkg/COMMENT # wordplay/pkg/DESCR # wordplay/patches # wordplay/patches/patch-aa # echo c - wordplay mkdir -p wordplay > /dev/null 2>&1 echo c - wordplay/files mkdir -p wordplay/files > /dev/null 2>&1 echo x - wordplay/files/md5 sed 's/^X//' >wordplay/files/md5 << 'END-of-wordplay/files/md5' XMD5 (wordplay722.tar.Z) = 78fec8ff00dc7d6fedb792a3887f42ca END-of-wordplay/files/md5 echo x - wordplay/Makefile sed 's/^X//' >wordplay/Makefile << 'END-of-wordplay/Makefile' X# New ports collection makefile for: wordplay X# Date created: 24 Jun 2000 X# Whom: Ben Smithurst X# X# $FreeBSD$ X XPORTNAME= wordplay XPORTVERSION= 7.22 XCATEGORIES= misc XMASTER_SITES= http://pokey.itsc.uah.edu/~criswell/ XDISTNAME= wordplay722 XEXTRACT_SUFX= .tar.Z X XMAINTAINER= ben@scientia.demon.co.uk X XNO_WRKSUBDIR= yes XMAKEFILE= makefile XALL_TARGET= wordplay X Xpost-patch: X @${PERL} -pi -e \ X "s#words721.txt#${PREFIX}/share/wordplay/words721.txt#" \ X ${WRKSRC}/wordplay.c X Xdo-install: X @${MKDIR} ${PREFIX}/share/wordplay X @${INSTALL_DATA} ${WRKSRC}/words721.txt ${WRKSRC}/readme \ X ${PREFIX}/share/wordplay X @${INSTALL_PROGRAM} ${WRKSRC}/wordplay ${PREFIX}/bin X X.include END-of-wordplay/Makefile echo c - wordplay/pkg mkdir -p wordplay/pkg > /dev/null 2>&1 echo x - wordplay/pkg/PLIST sed 's/^X//' >wordplay/pkg/PLIST << 'END-of-wordplay/pkg/PLIST' Xbin/wordplay Xshare/wordplay/readme Xshare/wordplay/words721.txt END-of-wordplay/pkg/PLIST echo x - wordplay/pkg/COMMENT sed 's/^X//' >wordplay/pkg/COMMENT << 'END-of-wordplay/pkg/COMMENT' XSimple program to generate anagrams END-of-wordplay/pkg/COMMENT echo x - wordplay/pkg/DESCR sed 's/^X//' >wordplay/pkg/DESCR << 'END-of-wordplay/pkg/DESCR' XThis is a program written in ANSI C that anagrams a given string. It has Xits own word file, but allows you to use a different one. X XWWW: http://pokey.itsc.uah.edu/~criswell/wordplay.html X X- Ben Smithurst X END-of-wordplay/pkg/DESCR echo c - wordplay/patches mkdir -p wordplay/patches > /dev/null 2>&1 echo x - wordplay/patches/patch-aa sed 's/^X//' >wordplay/patches/patch-aa << 'END-of-wordplay/patches/patch-aa' X--- makefile.orig Sat Jun 24 19:14:14 2000 X+++ makefile Sat Jun 24 19:14:30 2000 X@@ -1,8 +1,6 @@ X X # If you don't have gcc, try cc instead, if it is an ANSI compiler. X X-CC=gcc X- X wordplay : wordplay.c X- $(CC) -O -o wordplay wordplay.c X+ $(CC) ${CFLAGS} -o wordplay wordplay.c X END-of-wordplay/patches/patch-aa exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message