svn commit: r333477 - head/games/tksol
Danilo Egea Gondolfo
danilo at FreeBSD.org
Mon Nov 11 03:19:38 UTC 2013
Author: danilo
Date: Mon Nov 11 03:19:37 2013
New Revision: 333477
URL: http://svnweb.freebsd.org/changeset/ports/333477
Log:
- Remove the indefinite article from COMMENT
- Add wish8.4 as RUN_DEPENDS
- Add stage support
Modified:
head/games/tksol/Makefile
head/games/tksol/pkg-plist
Modified: head/games/tksol/Makefile
==============================================================================
--- head/games/tksol/Makefile Mon Nov 11 03:10:27 2013 (r333476)
+++ head/games/tksol/Makefile Mon Nov 11 03:19:37 2013 (r333477)
@@ -9,32 +9,29 @@ MASTER_SITES= SUNSITE/games/solitaires
EXTRACT_SUFX= .tgz
MAINTAINER= ports at 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>
Modified: head/games/tksol/pkg-plist
==============================================================================
--- head/games/tksol/pkg-plist Mon Nov 11 03:10:27 2013 (r333476)
+++ head/games/tksol/pkg-plist Mon Nov 11 03:19:37 2013 (r333477)
@@ -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
- at dirrm %%DATADIR%%/
+ at dirrm %%DATADIR%%
More information about the svn-ports-head
mailing list