1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/games/wordplay/Makefile
2001-04-03 09:25:32 +00:00

32 lines
737 B
Makefile

# 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
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>