aboutsummaryrefslogtreecommitdiff
path: root/games/tksol
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-11 03:19:37 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2013-11-11 03:19:37 +0000
commit3825167918dacf931b1e17f595b3b28a4a92d0fe (patch)
treed1d648c57c3cdf5b3680b5b9eb2da50469f6fd8b /games/tksol
parent5713825ba8b2d177f9b81678be3fb76cca0c060f (diff)
downloadports-3825167918dacf931b1e17f595b3b28a4a92d0fe.tar.gz
ports-3825167918dacf931b1e17f595b3b28a4a92d0fe.zip
Notes
Diffstat (limited to 'games/tksol')
-rw-r--r--games/tksol/Makefile23
-rw-r--r--games/tksol/pkg-plist3
2 files changed, 12 insertions, 14 deletions
diff --git a/games/tksol/Makefile b/games/tksol/Makefile
index c4605b02cf75..7ff6dc4c6d8e 100644
--- a/games/tksol/Makefile
+++ b/games/tksol/Makefile
@@ -9,32 +9,29 @@ MASTER_SITES= SUNSITE/games/solitaires
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
-COMMENT= A version of the card game solitaire
+COMMENT= Version of the card game solitaire
LICENSE= GPLv2
+RUN_DEPENDS= wish8.4:${PORTSDIR}/x11-toolkits/tk84
+
WRKSRC= ${WRKDIR}/${PORTNAME}
NO_BUILD= yes
-USE_TK_WRAPPER= yes
-
-MAN6= tksol.6
-
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
's|^#/bin/sh|#!/bin/sh| ; \
- s|/usr/local/lib/tksol|${DATADIR}|' ${WRKSRC}/tksol
+ s|/usr/local/lib/tksol|${DATADIR}| ; \
+ s|wish|wish8.4|' ${WRKSRC}/tksol
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/tksol ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MANPREFIX}/man/man6
- @${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/*.xbm ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/tksol ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/tksol.6 ${STAGEDIR}${MANPREFIX}/man/man6
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.xbm ${STAGEDIR}${DATADIR}
.for dir in cardbacks cards pictures
${TAR} -C ${WRKSRC} --exclude ".xvpics" -cf - ${dir} | \
- ${TAR} -C ${DATADIR} --unlink -xf -
+ ${TAR} -C ${STAGEDIR}${DATADIR} --unlink -xf -
.endfor
- @${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DATADIR}
.include <bsd.port.mk>
diff --git a/games/tksol/pkg-plist b/games/tksol/pkg-plist
index ba49a3f484f1..ae71db5f577b 100644
--- a/games/tksol/pkg-plist
+++ b/games/tksol/pkg-plist
@@ -1,4 +1,5 @@
bin/tksol
+man/man6/tksol.6.gz
%%DATADIR%%/cardbacks/bucky.xbm
%%DATADIR%%/cardbacks/circles.xbm
%%DATADIR%%/cardbacks/darts.xbm
@@ -101,4 +102,4 @@ bin/tksol
@dirrm %%DATADIR%%/pictures
@dirrm %%DATADIR%%/cards
@dirrm %%DATADIR%%/cardbacks
-@dirrm %%DATADIR%%/
+@dirrm %%DATADIR%%