diff options
author | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-06-30 12:16:18 +0000 |
---|---|---|
committer | Neil Blakey-Milner <nbm@FreeBSD.org> | 2000-06-30 12:16:18 +0000 |
commit | 8eeeb75d2e5e9bc1e1735061e031a560fb515045 (patch) | |
tree | 97d22b0a978039fcf0354ef1bb7a60470fb2c003 /games/wordplay | |
parent | Update to version 1.12 (diff) |
Import of wordplay, an anagram generator
PR: ports/19492
Submitted by: Ben Smithurst <ben@scientia.demon.cu.uk>
Notes
Notes:
svn path=/head/; revision=30019
Diffstat (limited to 'games/wordplay')
-rw-r--r-- | games/wordplay/Makefile | 31 | ||||
-rw-r--r-- | games/wordplay/distinfo | 1 | ||||
-rw-r--r-- | games/wordplay/files/patch-aa | 12 | ||||
-rw-r--r-- | games/wordplay/pkg-comment | 1 | ||||
-rw-r--r-- | games/wordplay/pkg-descr | 7 | ||||
-rw-r--r-- | games/wordplay/pkg-plist | 3 |
6 files changed, 55 insertions, 0 deletions
diff --git a/games/wordplay/Makefile b/games/wordplay/Makefile new file mode 100644 index 000000000000..b644ae565bb2 --- /dev/null +++ b/games/wordplay/Makefile @@ -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> diff --git a/games/wordplay/distinfo b/games/wordplay/distinfo new file mode 100644 index 000000000000..eadb3be013e7 --- /dev/null +++ b/games/wordplay/distinfo @@ -0,0 +1 @@ +MD5 (wordplay722.tar.Z) = 78fec8ff00dc7d6fedb792a3887f42ca diff --git a/games/wordplay/files/patch-aa b/games/wordplay/files/patch-aa new file mode 100644 index 000000000000..a7d7647984a0 --- /dev/null +++ b/games/wordplay/files/patch-aa @@ -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 + diff --git a/games/wordplay/pkg-comment b/games/wordplay/pkg-comment new file mode 100644 index 000000000000..f8b9e357c46a --- /dev/null +++ b/games/wordplay/pkg-comment @@ -0,0 +1 @@ +Simple program to generate anagrams diff --git a/games/wordplay/pkg-descr b/games/wordplay/pkg-descr new file mode 100644 index 000000000000..07a325d6a924 --- /dev/null +++ b/games/wordplay/pkg-descr @@ -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> diff --git a/games/wordplay/pkg-plist b/games/wordplay/pkg-plist new file mode 100644 index 000000000000..a8925ad6b01d --- /dev/null +++ b/games/wordplay/pkg-plist @@ -0,0 +1,3 @@ +bin/wordplay +share/wordplay/readme +share/wordplay/words721.txt |