1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Import of wordplay, an anagram generator

PR:		ports/19492
Submitted by:	Ben Smithurst <ben@scientia.demon.cu.uk>
This commit is contained in:
Neil Blakey-Milner 2000-06-30 12:16:18 +00:00
parent c0aa6b20c9
commit 8eeeb75d2e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=30019
6 changed files with 55 additions and 0 deletions

31
games/wordplay/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: wordplay
# Date created: 24 Jun 2000
# Whom: Ben Smithurst <ben@scientia.demon.co.uk>
#
# $FreeBSD$
PORTNAME= wordplay
PORTVERSION= 7.22
CATEGORIES= games
MASTER_SITES= http://pokey.itsc.uah.edu/~criswell/
DISTNAME= wordplay722
EXTRACT_SUFX= .tar.Z
MAINTAINER= ben@scientia.demon.co.uk
NO_WRKSUBDIR= yes
MAKEFILE= makefile
ALL_TARGET= wordplay
post-patch:
@${PERL} -pi -e \
"s#words721.txt#${PREFIX}/share/wordplay/words721.txt#" \
${WRKSRC}/wordplay.c
do-install:
@${MKDIR} ${PREFIX}/share/wordplay
@${INSTALL_DATA} ${WRKSRC}/words721.txt ${WRKSRC}/readme \
${PREFIX}/share/wordplay
@${INSTALL_PROGRAM} ${WRKSRC}/wordplay ${PREFIX}/bin
.include <bsd.port.mk>

1
games/wordplay/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (wordplay722.tar.Z) = 78fec8ff00dc7d6fedb792a3887f42ca

View File

@ -0,0 +1,12 @@
--- makefile.orig Sat Jun 24 19:14:14 2000
+++ makefile Sat Jun 24 19:14:30 2000
@@ -1,8 +1,6 @@
# If you don't have gcc, try cc instead, if it is an ANSI compiler.
-CC=gcc
-
wordplay : wordplay.c
- $(CC) -O -o wordplay wordplay.c
+ $(CC) ${CFLAGS} -o wordplay wordplay.c

View File

@ -0,0 +1 @@
Simple program to generate anagrams

7
games/wordplay/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
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.
WWW: http://pokey.itsc.uah.edu/~criswell/wordplay.html
- Ben Smithurst
<ben@scientia.demon.co.uk>

3
games/wordplay/pkg-plist Normal file
View File

@ -0,0 +1,3 @@
bin/wordplay
share/wordplay/readme
share/wordplay/words721.txt