aboutsummaryrefslogtreecommitdiff
path: root/games/wordplay/Makefile
blob: 71bddd80295d32d6253127640135232a8172e8e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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://home.hiwaay.net/~criswell/wordplay/
DISTNAME=	${PORTNAME}${PORTVERSION:S/.//}
EXTRACT_SUFX=	.tar.Z

MAINTAINER=	ports@FreeBSD.org

PORTCOMMENT=	Simple program to generate anagrams

NO_WRKSUBDIR=	yes
USE_REINPLACE=	yes
MAKEFILE=	makefile
ALL_TARGET=	wordplay

post-patch:
	@${REINPLACE_CMD} -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>