diff options
Diffstat (limited to 'games/tksol/Makefile')
-rw-r--r-- | games/tksol/Makefile | 23 |
1 files changed, 10 insertions, 13 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> |