blob: 891e65ceb12f36ff70660e4a2d62021d79f64f3e (
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
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# New ports collection makefile for: tksol
# Date created: 26 June 1995
# Whom: Thomas Gellekum <tg@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= tksol
PORTVERSION= 1.4
CATEGORIES= games tk82
MASTER_SITES= http://www.ibiblio.org/pub/Linux/games/solitaires/ \
http://www.gtlib.cc.gatech.edu/pub/linux/games/solitaires/ \
http://ftp.fi.muni.cz/pub/linux/metalab.unc.edu/games/solitaires/ \
ftp://metalab.unc.edu/pub/linux/games/solitaires/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A version of the card game solitaire
RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_REINPLACE= yes
NO_BUILD= yes
MAN6= tksol.6
MANCOMPRESSED= yes
TKSOLDIR= ${PREFIX}/share/games/tksol
post-extract:
@${RM} -rf ${WRKSRC}/downbitmaps/.xvpics
post-patch:
@${REINPLACE_CMD} -e "s;/usr/bin/wish;${PREFIX}/bin/wish8.4;" \
-e "s;/usr/local/lib/tksol;${TKSOLDIR};g" \
${WRKSRC}/tksol
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/tksol ${PREFIX}/bin
${MKDIR} ${TKSOLDIR}
.for dir in cardbitmaps downbitmaps pictures
cd ${WRKSRC}; tar -cpf - ${dir} | \
(cd ${TKSOLDIR}; tar -xpf -)
.endfor
${INSTALL_MAN} ${WRKSRC}/${MAN6}.gz ${PREFIX}/man/man6
.include <bsd.port.mk>
|