summaryrefslogtreecommitdiff
path: root/games/wordplay/Makefile
diff options
context:
space:
mode:
authorNeil Blakey-Milner <nbm@FreeBSD.org>2000-06-30 12:16:18 +0000
committerNeil Blakey-Milner <nbm@FreeBSD.org>2000-06-30 12:16:18 +0000
commit8eeeb75d2e5e9bc1e1735061e031a560fb515045 (patch)
tree97d22b0a978039fcf0354ef1bb7a60470fb2c003 /games/wordplay/Makefile
parentUpdate 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/Makefile')
-rw-r--r--games/wordplay/Makefile31
1 files changed, 31 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>